pub fn build_language_map(nodes: &[NodeDef]) -> HashMap<String, &'static str>Expand description
Build a file_path → language lookup from a slice of parsed nodes.
Function and class nodes take priority over file nodes so the inferred language is as accurate as possible.