pub fn get_syntax_file_and_diagnostics(
db: &SimpleParserDatabase,
file_id: FileId,
contents: &str,
) -> (SyntaxFile, Diagnostics<ParserDiagnostic>)
Expand description
Returns the syntax_file and diagnostic of a file in the db.
pub fn get_syntax_file_and_diagnostics(
db: &SimpleParserDatabase,
file_id: FileId,
contents: &str,
) -> (SyntaxFile, Diagnostics<ParserDiagnostic>)
Returns the syntax_file and diagnostic of a file in the db.