pub struct MacroLexer<LB, U>where
    LB: LexerBase,
    U: Clone,
{ /* private fields */ }
Expand description

The macro lexer interprets and evaluates assignment statements and expressions.

Implementations

Creates a new macro lexer, given an original base lexer. This will interpret all tokens necessary for macro interpretation and expansion, and result into tokens specific for the user of this lexer.

Retrieves the symbol table to be used apart from the Macro Lexer

Adds a macro function to be able to be called by the interpreter

Trait Implementations

Goes forward to the next token in the stream, if available.
Returns the current stream’s name, if any (for example, the normal lexer does know this value) 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.