Module kconfig_parser::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
This file contains the lexer and the logic of the lexer, implementing
the lexer machine.
This file contains the macro lexer, which behaves like a regular lexer,
but captures all macro statements and evaluates them.
This file contains the source lexer, which behaves like a regular lexer,
but inserts the contents of source files indicated by the “source …”
directive.
This file contains the pub structures necessary for the lexer
to lex the tokens found within a Kconfig file.
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.