Skip to main content

Module diagnostics

Module diagnostics 

Source

Constants§

PHP_LSP_SOURCE

Functions§

diagnostics_from_doc
Build LSP diagnostics from an already-parsed document. Separated from parse_document_no_diags so the workspace-scan path can skip the allocation entirely.
merge_file_diagnostics
Merge per-file diagnostic categories into one ordered Vec.
parse_document
Parse source and return the (owned) ParsedDoc plus any parse diagnostics.
parse_document_no_diags
Parse source without converting parse errors into LSP Diagnostics.