Skip to main content

parse_document

Function parse_document 

Source
pub fn parse_document(
    db: &(dyn LspDb + 'static),
    source_file: SourceFile,
) -> Option<Document>
Expand description

Parse a SourceFile and return the document. Not tracked by Salsa; callers that need memoized access should use ast_diagnostics.