Skip to main content

check_source_strict

Function check_source_strict 

Source
pub fn check_source_strict(source: &str) -> Result<Vec<SNode>, PipelineError>
Expand description

Lex, parse, and type-check, bailing on the first type error. Returns the AST on success. Useful when callers want to proceed to compilation only if there are no type errors.