Skip to main content

check_source

Function check_source 

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

Lex, parse, and type-check source. Returns the AST and any type diagnostics (which may include warnings even on success).