Skip to main content

parse_with_warnings

Function parse_with_warnings 

Source
pub fn parse_with_warnings(
    tokens: &[Token],
    source: &str,
) -> Result<(Commons, Vec<CompileError>), Vec<CompileError>>
Expand description

parse with the non-fatal diagnostics threaded out alongside the AST (ADR 0117) — see parse_units_with_warnings.