pub fn resolve_callee(
graph: &CodeGraph,
callee_name: &str,
caller_file: &Path,
imported_names: &[String],
) -> Option<SymbolId>Expand description
Resolve a callee name to the best-matching SymbolId. Priority:
- Same file (private helper in same file) — score 4
- Imported name (appears in caller’s import list) — score 3
- Same directory — score 2
- Same top-level crate/package — score 1
- Any match — score 0