pub fn parse( source: &str, tokens: Vec<Token>, file: FileId, ) -> (Ast, Vec<Diagnostic>)
Compatibility adapter for tools that consume parser diagnostics.