pub fn parse_file<'src>(
ast: &'src CoreAst<'src>,
file: &'src SourceFile,
) -> (ParsePairRaw, Vec<PEGParseError>)Expand description
Parses a file, given the syntax to parse it with, and the file.
When successful, it returns a ParsePairSort.
When unsuccessful, it returns a ParseError.