Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<File>
Expand description

Parse CMake source text into an AST File.

The returned AST preserves command structure, blank lines, and comments so the formatter can round-trip files with stable semantics.