Function ngc::parse::parse

source · []
pub fn parse(filename: &str, input: &str) -> ParseResult<Program>
Expand description

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

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