parse_file

Function parse_file 

Source
pub fn parse_file<P: AsRef<Path>>(
    diagnostics: &DiagnosticsHandler,
    codemap: Arc<CodeMap>,
    source: P,
) -> Result<Program, ParseError>
Expand description

Parses the provided source and returns the AST.