Function parse_file

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

Parses the provided source and returns the AST.