pub fn build_for_reference_index(
files: &[PathBuf],
source_overrides: Option<&HashMap<PathBuf, String>>,
) -> ModuleGraphBuildExpand description
Build a module graph that retains every reachable AST and honors unsaved buffer overrides.
This is the construction find-references and harn graph share: one
resolution graph, one inverse index. source_overrides replace disk
contents for the named files so an editor buffer wins over the file it
just edited.