|
Building Parsers with Java | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use TokenType | |
| sjm.examples.reserved | |
| sjm.parse.tokens | |
| Uses of TokenType in sjm.examples.reserved |
| Fields in sjm.examples.reserved declared as TokenType | |
static TokenType |
WordOrReservedState.TT_RESERVED
A constant indicating that a token is a reserved word. |
| Uses of TokenType in sjm.parse.tokens |
| Fields in sjm.parse.tokens declared as TokenType | |
protected TokenType |
Token.ttype
|
static TokenType |
Token.TT_EOF
A constant indicating that the end of the stream has been read. |
static TokenType |
Token.TT_NUMBER
A constant indicating that a token is a number, like 3.14 |
static TokenType |
Token.TT_WORD
A constant indicating a token is a word, like "cat" |
static TokenType |
Token.TT_SYMBOL
A constant indicating that a token is a symbol like "<=". |
static TokenType |
Token.TT_QUOTED
A constant indicating that a token is a quoted string, like "Launch Mi". |
| Methods in sjm.parse.tokens that return TokenType | |
TokenType |
Token.ttype()
Returns the type of this token. |
| Constructors in sjm.parse.tokens with parameters of type TokenType | |
Token.Token(TokenType ttype,
java.lang.String sval,
double nval)
Constructs a token of the indicated type and associated string or numeric values. |
|
|
by Steve Metsker | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||