public class ASTLocusTag extends Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
ASTLocusTag.ASTLocusTagProvider |
Interface tag for
ASTLocusTag provider. |
Modifier and Type | Field | Description |
---|---|---|
int |
column |
Column number,
-1 if undefined |
int |
line |
Line number,
-1 if undefined |
Object |
source |
Source object, might be
String . |
String |
text |
Source text reflecting current location,
null if undefined |
Constructor | Description |
---|---|
ASTLocusTag(Object source,
int line,
int column,
String text) |
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
|
StringBuilder |
toString(StringBuilder sb,
String level,
boolean inclText) |
public final int line
-1
if undefinedpublic final int column
-1
if undefinedpublic final String text
null
if undefinedpublic StringBuilder toString(StringBuilder sb, String level, boolean inclText)