Expand description
Module-aware symbol tables backing HIR name resolution.
This module is the first HIR/resolver-oriented layer after the syntax-first
name refactor. It does not rewrite the AST yet. Instead it builds typed
symbol tables for loaded DAG/module identities and resolves syntactic
NamePath / IdentPath references to canonical ResolvedName values.
The important invariant is that source qualifier text is used only to look up
a module alias in the current module scope. The result of a successful lookup
carries the canonical DagId owner, not the textual alias.
Structs§
- Imported
Symbol - A selective import binding for one namespace.
- Module
Alias Target - A resolved module alias in one module’s import scope.
- Module
Decl Symbol - Value/declaration symbol plus its semantic declaration kind.
- Module
Index Symbol - Index symbol plus the variants declared by that index.
- Module
Resolver - Project-wide module resolver backed by canonical
DagIdidentities. - Module
Scope - Import scope for a single module.
- Module
Symbol - A declaration symbol in one semantic namespace.
- Module
Symbols - Symbols declared by a single DAG/module.
Enums§
- Decl
Symbol Kind - Semantic kind of a value/declaration namespace symbol.
- Module
Access - Visibility rule applied by a module alias or selective import edge.
- Module
Resolve Error - Errors produced while building or using module-aware symbol tables.
- Surface
Name Kind - Surface category for diagnostics that cross namespace boundaries.
- Symbol
Visibility - Visibility of a symbol across module boundaries.