Expand description
Module system types for import resolution and dependency tracking.
Structs§
- Cycle
Error - A detected import cycle.
- Import
Decl - A parsed
importdeclaration. - Module
Graph - A directed graph of module dependencies.
- Module
Info - Metadata about a resolved module.
- Module
Path - A dot-separated module path, e.g.
Mathlib.Algebra.Ring→["Mathlib", "Algebra", "Ring"]. - Module
Registry - Registry that maps
ModulePaths toModuleInfos, with file-system root search and a resolution cache.
Enums§
- Module
Resolution Result - The outcome of attempting to resolve a
ModulePathin aModuleRegistry.