pub fn parse_for_editor(input: &str) -> ParseResultExpand description
Parse for editor/LSP use: returns a partial AST plus diagnostics.
Prefer this over parse_root when you want IDE features (outline/hover/semantic tokens) to
keep working even when the file contains syntax errors.