Skip to main content

parse_program

Function parse_program 

Source
pub fn parse_program(src: &str) -> (Program, Vec<Diagnostic>)
Expand description

Parse a whole program. Parsing continues after errors, so the program is returned even when there are diagnostics.