Expand description
file_definitions salsa query — runs DefinitionCollector::collect_slice
under salsa memoization, producing a pure StubSlice value per file.
This is Phase C step 1: the per-file Pass-1 definitions become a
tracked query. Phase C step 2 will add a codebase(Workspace)
aggregator that folds all slices via mir_codebase::codebase_from_parts.
Structs§
Functions§
- file_
definitions - Collect Pass-1 definitions (classes, interfaces, traits, enums, functions,
constants, global_vars) from a file. Uses mir-analyzer’s collector in its
new pure-slice mode (
collect_slice), added in mir 0.7.1 for salsa integration.