Skip to main content

Module lexer

Module lexer 

Source

Structs§

BaseLexer
LexerCustomAction
Grammar-specific lexer action reached on the accepted ATN path.
LexerLifecycleCtx
Mutable lexer state exposed at lifecycle boundaries that have no ATN semantic coordinate.
LexerMode
LexerPredicate
Grammar-specific lexer predicate reached while exploring an ATN path.
LexerSemCtx
Runtime view passed to lexer semantic hooks.
LexerSemIrCtx
SemIR evaluation adapter over a lexer, for grammar predicates and actions that the generator lowered into IR instead of a hook (issue #206).
LexerSemanticAction
Lexer action coordinate lowered into crate::semir::SemIr.
LexerSemanticPredicate
Lexer predicate coordinate lowered into crate::semir::SemIr.
LexerSemantics
Data-driven lexer semantic tables emitted by generated lexers.

Constants§

DEFAULT_MODE
MORE
SKIP

Traits§

Lexer