Expand description
AST types returned by crate::parser::parse.
A CMake file parses into a File containing an ordered list of
top-level Statements. Commands carry their argument list
(Argument), recognised comment forms (Comment), and the
source byte span. The AST preserves blank-line and comment
positions so the formatter can round-trip files with stable
semantics.
Structs§
- Bracket
Argument - A bracket argument with its “=” nesting level.
- Command
Invocation - A CMake command invocation.
- File
- A parsed CMake source file.