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

The source lexer allows the source directive to be used to load additional sources as part of the (currently) loaded Kconfig file.

Implementations

Creates a new source lexer, given the stream’s name. This will create the first source_function call, to actually load the stream.

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.