Expand description
Shared module resolution utilities.
Types and functions used by both shape-runtime (module loader) and
shape-vm (import inlining) to inspect module exports and manipulate
AST item lists during import resolution.
Structs§
- Module
Export Symbol - Exported symbol metadata discovered from a module’s AST.
Enums§
- Module
Export Kind - High-level kind of an exported symbol.
Functions§
- collect_
exported_ symbols - Collect exported symbol metadata from a parsed module AST.
- direct_
export_ target - Map a direct (non-
Named) export item to its name and kind. - export_
kind_ description - Human-readable description of an export kind for diagnostics.
- strip_
import_ items - Remove all
Item::Importentries from a list of AST items.