Expand description
Pipeline driver hooks and browser artifact helpers.
Modulesยง
- passes ๐
- Concrete pass wrappers used by the driver pipeline.
Structsยง
- Browser
Artifacts - Browser-facing compilation artifacts captured from the pipeline.
- Browser
Driver - Driver that records browser-facing artifacts during compilation.
- HirOrigin
Table - Side-table provenance ids keyed by HIR expression ids.
- MirOrigin
Table - Side-table provenance ids keyed by MIR function/local ids.
- Null
Driver - Driver that discards all pipeline outputs.
Enumsยง
- Compile
Error - Error produced while compiling a source file through the full pipeline.
Traitsยง
- Driver
- Hook interface for observing compiler pipeline outputs.
Functionsยง
- compile_
for_ browser - Compile source into browser-facing artifacts.
- compile_
resolved_ ๐program - compile_
with_ driver - Compile a native source file through the full pipeline using
driverhooks. - compile_
with_ driver_ for_ browser - Compile a browser source file through the full pipeline using
driverhooks. - mir_
function_ ๐totals - Return total local and instruction counts across all MIR functions.
- mir_
instr_ ๐source_ pos_ and_ dst - Return one MIR destination local and source position when available.
- record_
hir_ ๐provenance_ origins - Record provenance chains for all HIR expressions with source spans.
- record_
mir_ ๐provenance_ origins - Record provenance chains for MIR locals that carry source positions.
- source_
pos_ ๐to_ span - Convert MIR source-position metadata into a source span.