Skip to main content

Module analysis

Module analysis 

Source
Expand description

Database + Analysis/AnalysisHost split (rust-analyzer pattern).

AnalysisHost owns the mutable database; LSP write paths (did_open, did_change, workspace scan) go through the host. Analysis is a read-only view used by request handlers. Phase A keeps this minimal — cancellation and true snapshot semantics land in Phase E.

Structs§

AnalysisHost
Owns the mutable salsa database. Backend will hold one of these.
RootDatabase