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