pub fn get_syntax_root_and_diagnostics<'a>(
db: &'a SimpleParserDatabase,
file_id: FileId<'a>,
) -> (SyntaxNode<'a>, Diagnostics<'a, ParserDiagnostic<'a>>)Expand description
Returns the syntax_root and diagnostic of a file in the db.
pub fn get_syntax_root_and_diagnostics<'a>(
db: &'a SimpleParserDatabase,
file_id: FileId<'a>,
) -> (SyntaxNode<'a>, Diagnostics<'a, ParserDiagnostic<'a>>)Returns the syntax_root and diagnostic of a file in the db.