|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use TokenType | |
|---|---|
| recognizer | |
| tokenizer | |
| Uses of TokenType in recognizer |
|---|
| Methods in recognizer with parameters of type TokenType | |
|---|---|
boolean |
Recognizer.nextTokenMatches(TokenType type)
Tests whether the next token has the expected type. |
boolean |
Recognizer.nextTokenMatches(TokenType type,
java.lang.String value)
Tests whether the next token has the expected type and value. |
| Uses of TokenType in tokenizer |
|---|
| Methods in tokenizer that return TokenType | |
|---|---|
TokenType |
Token.getType()
Returns the type of this Token. |
static TokenType |
TokenType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TokenType[] |
TokenType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Constructors in tokenizer with parameters of type TokenType | |
|---|---|
Token(TokenType type,
java.lang.String value)
Creates a token. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||