Skip to main content

assemble_index

Function assemble_index 

Source
pub fn assemble_index(
    parsed: &[ParsedFile],
    unit_uses: &HashMap<String, Vec<String>>,
    unit_consumes: &HashMap<String, Vec<String>>,
    refs: RefSink,
) -> ProjectIndex
Expand description

v0.25 (ADR 0053): walk every parsed file’s top-level declarations into the def table (synthetic first-party units and test files excluded — neither declares user-editable symbols), then qualify and attach the recorded edges. Methods register as owners only (attribution), not as symbols — they are deferred along with fields and op names.