public interface Token
Modifier and Type | Interface and Description |
---|---|
static class |
Token.BasicToken
A basic implementation of a Token.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex()
Returns the column index.
|
int |
getInputEnd()
Returns the index of the end of this token in input.
|
int |
getInputStart()
Returns the index of the start of this token in input.
|
int |
getLineIndex()
Returns the line index.
|
int |
getLineStart()
Returns the line start.
|
java.lang.String |
getName()
Returns the name.
|
java.lang.String |
getPattern()
Returns the pattern.
|
Token |
getSpecialToken()
Returns the special token.
|
java.lang.String |
getString()
Returns the string.
|
Tokenizer |
getTokenizer()
The Tokenizer that provided this token.
|
Tokenizer getTokenizer()
java.lang.String getName()
java.lang.String getPattern()
int getInputStart()
int getInputEnd()
int getLineIndex()
int getLineStart()
int getColumnIndex()
Token getSpecialToken()
java.lang.String getString()