Constant | Defined by | ||
---|---|---|---|
DEFAULT_CHANNEL : int = 0 [static] All tokens go to the parser (unless skip() is called in that rule)
on a particular "channel".
| TokenConstants | ||
DOWN : int = 2 [static] imaginary tree navigation type; traverse "get child" link
| TokenConstants | ||
EOF : int = -1 [static]
| TokenConstants | ||
EOF_TOKEN : Token
[static]
| TokenConstants | ||
EOR_TOKEN_TYPE : int = 1 [static]
| TokenConstants | ||
HIDDEN_CHANNEL : int = 99 [static] Anything on different channel than DEFAULT_CHANNEL is not parsed
by parser.
| TokenConstants | ||
INVALID_TOKEN : Token
[static]
| TokenConstants | ||
INVALID_TOKEN_TYPE : int = 0 [static]
| TokenConstants | ||
MIN_TOKEN_TYPE : int [static]
| TokenConstants | ||
SKIP_TOKEN : Token
[static] In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
will avoid creating a token for this symbol and try to fetch another.
| TokenConstants | ||
UP : int = 3 [static] imaginary tree navigation type; finish with a child list
| TokenConstants |
DEFAULT_CHANNEL | constant |
public static const DEFAULT_CHANNEL:int = 0
All tokens go to the parser (unless skip() is called in that rule) on a particular "channel". The parser tunes to a particular channel so that whitespace etc... can go to the parser on a "hidden" channel.
DOWN | constant |
public static const DOWN:int = 2
imaginary tree navigation type; traverse "get child" link
EOF | constant |
public static const EOF:int = -1
EOF_TOKEN | constant |
public static const EOF_TOKEN:Token
EOR_TOKEN_TYPE | constant |
public static const EOR_TOKEN_TYPE:int = 1
HIDDEN_CHANNEL | constant |
public static const HIDDEN_CHANNEL:int = 99
Anything on different channel than DEFAULT_CHANNEL is not parsed by parser.
INVALID_TOKEN | constant |
public static const INVALID_TOKEN:Token
INVALID_TOKEN_TYPE | constant |
public static const INVALID_TOKEN_TYPE:int = 0
MIN_TOKEN_TYPE | constant |
public static const MIN_TOKEN_TYPE:int
SKIP_TOKEN | constant |
public static const SKIP_TOKEN:Token
In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR will avoid creating a token for this symbol and try to fetch another.
UP | constant |
public static const UP:int = 3
imaginary tree navigation type; finish with a child list