Module kconfig_parser::ast::parser

source ·
Expand description

This file contains the parser of the Kconfig file, and creates the Abstract Syntax Tree for it.

Structs

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.
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.
Describes a configuration element, typically starting with the “config” keyword
Describes a menu element, typically starting with the “menu” keyword
Describes a menu-configuration element, typically starting with the “menuconfig” keyword

Enums

An Ast contains a list of elements, which might themselves contain other parts of the Ast, etc.

Traits