public abstract class ContentElement
extends java.lang.Object
| Constructor and Description |
|---|
ContentElement(int startIndex,
int endIndex,
DiagCollector diagCollector,
Location sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(java.lang.String message,
java.lang.Object... params)
Reports error message.
|
abstract java.lang.String |
getContent()
Returns the content.
|
int |
getEndIndex()
The end index (exclusive) of the content the node represents from the source.
|
int |
getStartIndex()
The start index (inclusive) of the content the node represents from the source.
|
public ContentElement(int startIndex,
int endIndex,
DiagCollector diagCollector,
Location sourceLocation)
public abstract java.lang.String getContent()
public int getStartIndex()
public int getEndIndex()
public void error(java.lang.String message,
java.lang.Object... params)