pub fn parse_with_diagnostics(input: &str) -> ParseResultExpand description
Parse input with error recovery: collects multiple diagnostics and returns a partial AST when errors occur. Use this for language servers so the user sees all parse errors and features (e.g. hover) can use the partial AST.