Expand description
Structured import representation for cross-file resolution.
Raw import strings (Vec<String>) lack the structural information needed
for production-grade import resolution across 12 languages. This module
provides ImportStatement — a typed representation that carries the import
path, its structural classification, and source location.
Each language parser produces Vec<ImportStatement> during tree-sitter
extraction. The classification into ImportKind happens at parse time,
eliminating the need for a separate is_external_import() pass during
edge construction.
Structs§
- Import
Statement - A single import statement extracted from source code by tree-sitter.
Enums§
- Import
Kind - Classification of an import statement that determines how the resolver handles it.