Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file<'de>(content: &'de str) -> Result<File<'de>, AstError>
Expand description

Parse a C++ source file into an AST.

Analogous to syn::parse_file.

ยงErrors

Returns a ParseError if the source code contains syntax errors.