Skip to main content

Crate php_lsp

Crate php_lsp 

Source

Re-exports§

pub use analysis::semantic_diagnostics;
pub use editing::rename;
pub use navigation::call_hierarchy;
pub use navigation::definition;
pub use navigation::implementation;
pub use navigation::references;

Modules§

actions
analysis
ast
backend
cache
Persistent on-disk cache for Phase K.
completion
config
db
Salsa-based incremental computation layer.
docblock
document_store
editing
file_index
hover
navigation
panic_guard
Wrap async LSP handler bodies so a panic in one request doesn’t terminate the server connection. tower-lsp 0.20 does not catch handler panics by default; a single bad request would otherwise kill the editor’s LSP session and lose unsaved client-side state.
resolve
Centralized cursor resolution.
symbol_map
Per-file memoized symbol table.
symbols
type_map
type_query
Position → resolved-type queries backed by mir’s body analysis.
util
walk

Macros§

impl_arc_update
Implement the salsa::Update trait for Arc-wrapped types using pointer equality. This reduces boilerplate for types that wrap a single Arc field and should only invalidate when the pointer changes (not the contents).