[][src]Module antlr_rust::lexer

Lexer implementation

Structs

BaseLexer

Default implementation of Lexer

Constants

LEXER_DEFAULT_MODE

Default lexer mode id

LEXER_DEFAULT_TOKEN_CHANNEL

Default channel lexer emits tokens to

LEXER_HIDDEN

Predefined additional channel for lexer to assign tokens to

LEXER_MORE

Special token type to indicate that lexer should continue current token on next iteration see Lexer::more()

LEXER_SKIP

Special token type to indicate that lexer should not return current token usually used to skip whitespaces and comments see Lexer::skip()

Traits

Lexer

Lexer functionality required by LexerATNSimulator to work properly

LexerRecog

! Usually generated by ANTLR !