Skip to main content

parse_with_structured_errors_all

Function parse_with_structured_errors_all 

Source
pub fn parse_with_structured_errors_all(
    source: &str,
) -> (Option<AgentFile>, Vec<ParseErrorInfo>)
Expand description

Parse an AgentScript file and return structured errors with span information.

Returns both a partial AST (if recovery succeeded) and ALL errors found.