TokenConstantDefinition

@uml Token constant definitions

Members

Static variables

DEFAULT_CHANNEL
int DEFAULT_CHANNEL;

@uml 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.

EOF
int EOF;
Undocumented in source.
EPSILON
int EPSILON;

@uml During lookahead operations, this "token" signifies we hit rule end ATN state and did not follow it despite needing to.

HIDDEN_CHANNEL
int HIDDEN_CHANNEL;

@uml Anything on different channel than DEFAULT_CHANNEL is not parsed by parser.

INVALID_TYPE
int INVALID_TYPE;
Undocumented in source.
MIN_USER_CHANNEL_VALUE
int MIN_USER_CHANNEL_VALUE;

@uml This is the minimum constant value which can be assigned to a ser-defined token channel.

MIN_USER_TOKEN_TYPE
int MIN_USER_TOKEN_TYPE;
Undocumented in source.

Meta