public static final class SqllrSnapshot.Token extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
getColumn() |
long |
getLine() |
long |
getOffset()
The offset of the token in its parse text, as the lexer counted it.
|
int |
getPosition()
The index of the token in its parse text.
|
String |
getSpelling()
The token as written.
|
long |
getText()
The handle of the parse text (
SqllrSnapshot.Text) the token belongs to, or 0. |
String |
getType()
The token type (
ETokenType name). |
void |
write(StringBuilder out) |
public long getText()
SqllrSnapshot.Text) the token belongs to, or 0.public int getPosition()
public long getLine()
public long getColumn()
public long getOffset()
public String getSpelling()
public void write(StringBuilder out)