Expand description
This file contains the parser of the Kconfig file, and creates the Abstract Syntax Tree for it.
Structs§
- Ast
- Determines which config element type to use, this can either be Config or Menuconfig. Contains the Ast for the entire stream of tokens, including sourced elements.
- Condition
- Describes a condition, typically a statement part of another expression, which is introduced by appending “if” to the statement. This would apply a particular statement in a certain condition.
- Config
Element - Describes a configuration element, typically starting with the “config” keyword
- Error
- Menu
- Describes a menu element, typically starting with the “menu” keyword
- Menu
Config Element - Describes a menu-configuration element, typically starting with the “menuconfig” keyword
Enums§
- Element
- An Ast contains a list of elements, which might themselves contain other parts of the Ast, etc.
- Element
Type