Expand description
symbol_map salsa query — derives a SymbolMap from a parsed document.
Depends on parsed_doc, so editing a file reparses once and then the symbol
map rebuilds. Between edits all lookups are served from the cache in O(1).
Structs§
- Symbol
MapArc - Arc wrapper for
SymbolMap. Pointer equality drives salsa invalidation: everybuildcall produces a newArc, so a changed parse always propagates.
Functions§
- symbol_
map - Build the symbol map for a file.
no_eqbecauseSymbolMapArchas no structural equality — invalidation flows fromparsed_doc.