Module lex

Source

Re-exports§

pub use lexer::Lexer;
pub use macro_lexer::MacroLexer;
pub use macro_lexer::Symbol;
pub use source_lexer::SourceLexer;
pub use traits::LexerBase;

Modules§

lexer
This file contains the lexer and the logic of the lexer, implementing the lexer machine.
macro_lexer
This file contains the macro lexer, which behaves like a regular lexer, but captures all macro statements and evaluates them.
source_lexer
This file contains the source lexer, which behaves like a regular lexer, but inserts the contents of source files indicated by the “source …” directive.
structs
This file contains the pub structures necessary for the lexer to lex the tokens found within a Kconfig file.
traits
This file contains the lexer trait, which is able to work for the normal lexer, but also for the source and macro lexers, alongside possible other implementations.