Struct antlr_rust::lexer_atn_simulator::LexerATNSimulator[][src]

pub struct LexerATNSimulator { /* fields omitted */ }
Expand description

Simple DFA implementation enough for lexer.

Implementations

Creates LexerATNSimulator instance which creates DFA over atn

Called from generated parser.

Returns current DFA that is currently used.

Returns current DFA for particular lexer mode

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Returns text representation of current node type, rule name for context nodes and token text for terminal nodes Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.