Module pass

Source
Expand description

Shared pass context, timing, and provenance tables. Shared pass orchestration and provenance tracking.

Structs§

OriginId
Stable identifier for one provenance node in shared provenance tables.
PassContext
Shared context passed through compiler passes.
PassId
Stable identifier for one pass in a pipeline.
PassSnapshot
One pass snapshot emitted by the driver pipeline.
PassSnapshotField
One structured key/value field in a pass snapshot.
PassTiming
One pass timing sample recorded by the pass runner.
ProvenanceSummary
Aggregated provenance table counts captured during one compile run.
ProvenanceTables
Arena-backed provenance tables shared by all passes.
SourceFileId
Stable identifier for one source file in shared provenance tables.
SpanId
Stable identifier for one source span in shared provenance tables.

Enums§

Origin
Provenance node that maps transformed entities back to source.
PassSnapshotKind
Stable semantic kind for one pass snapshot payload.
PassSnapshotValue
Structured value payload for one snapshot field.

Traits§

Pass
Generic pass interface for one compiler transformation.

Functions§

time_pass 🔒
Time one pass execution, returning output and elapsed duration.