[][src]Function ngc::parse::parse

pub fn parse(filename: &str, input: &str) -> ParseResult<Program>

Parse a program, coming from filename, consisting of the source text.

On parse error, a standard parse error from pest is returned.