module ANTLR3::Constants
A simple module to keep track of the various built-in token types, channels, and token names used by ANTLR throughout the runtime library.
Constants
- BUILT_IN_TOKEN_NAMES
A hash mapping built in token types to their respective names returning a string “<UNKNOWN: #{type}>” for non-builtin token types
- DEFAULT
the channel to which most tokens will be assigned
- DOWN
Imaginary tree-navigation token type indicating a descent into the children of a node
- EOF
- EOF_TOKEN
End of
File
/ End of Input character and token type- EOR_TOKEN_TYPE
End of Rule (used internally by DFAs)
- HIDDEN
the channel for tokens which should not be passed to a parser by a token stream
- INVALID
built-in token types used internally by
ANTLR3
- INVALID_NODE
- INVALID_TOKEN
- MEMO_RULE_FAILED
flag used by recognizers during memoization to represent a previous prediction failure
- MEMO_RULE_UNKNOWN
flag used by recognizers during memoization to indicate that the rule has not been memoized yet
- MIN_TOKEN_TYPE
The smallest possible value of non-builtin ANTLR-generated token types
- SKIP_TOKEN
- UP
Imaginary tree-navigation token type indicating the ascent after moving through the children of a node