Expand description
Import-to-file resolution (AST-driven import strings → project paths).
Resolves import strings from deep_queries::ImportInfo to actual file paths
within a project. Handles language-specific module systems:
- TypeScript/JavaScript: relative paths, index files, package.json, tsconfig paths
- Python: dotted modules, init.py, relative imports
- Rust: crate/super/self resolution, mod.rs
- Go: go.mod module path, package = directory
- Java: package-to-directory mapping
- C/C++: local includes (best-effort)
- Ruby: require_relative (best-effort)
- PHP: include/require (best-effort)
- Bash: source/. (best-effort)
- Dart: relative + package:
/ (best-effort) - Zig: @import(“path.zig”) (best-effort)