public interface GenericTokens
GenericTokens
interface describes the tokens for a
generic lexer. This are pretty basic token types that are
generally common to most languages. Modifier and Type | Field and Description |
---|---|
static int |
TK_CLOSE_BRACE
The constant for a close brace token.
|
static int |
TK_FLOAT
The constant for a float token.
|
static int |
TK_IDENTIFIER
The constant for an identifier token.
|
static int |
TK_INTEGER
The constant for an integer token.
|
static int |
TK_KEYWORD
The constant for a keyword token.
|
static int |
TK_MULTI_COMMENT
The constant for a multi-line comment token.
|
static int |
TK_OPEN_BRACE
The constant for an open brace token.
|
static int |
TK_OPERATOR
The constant for an operator token.
|
static int |
TK_QUOTES
The constant for a quote token.
|
static int |
TK_SINGLE_COMMENT
The constant for a single-line comment token.
|
static final int TK_KEYWORD
static final int TK_IDENTIFIER
static final int TK_SINGLE_COMMENT
static final int TK_MULTI_COMMENT
static final int TK_QUOTES
static final int TK_INTEGER
static final int TK_FLOAT
static final int TK_OPEN_BRACE
static final int TK_CLOSE_BRACE
static final int TK_OPERATOR