Skip to main content

Module context

Module context 

Source
Expand description

Global context: owns all arenas and provides the central data store for the entire parse → codegen pipeline.

The GlobalContext is created once, mutated during parsing (Phase 1+2), then borrowed immutably for codegen.

Structs§

GlobalContext
The global data store shared across parsing and codegen.
ModuleId
Well-typed index into the module registry.
ParsedModule
A parsed source file / module.
TypeId
Well-typed index into the type arena.