pub fn parse(source: &str) -> Document
Lex + parse in one shot, dropping all diagnostics. Tests + the parse bin; production callers should construct their own DiagnosticEngine.
parse
DiagnosticEngine