public class CodeBlock extends ContentElement
| Constructor and Description |
|---|
CodeBlock(java.lang.String source,
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.
|
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 CodeBlock(java.lang.String source,
int startIndex,
int endIndex,
DiagCollector diagCollector,
Location sourceLocation)
public java.lang.String getContent()
ContentElementgetContent in class ContentElementpublic int getStartIndex()
public int getEndIndex()
public void error(java.lang.String message,
java.lang.Object... params)