Skip to content

deriveRuntimeSourceMap

deriveRuntimeSourceMap(lineage, ast): SourceMap

Defined in: execution/source-map.ts:368

Derive a source map from runtime lineage (concrete values).

Uses concrete array indices from the actual output. Resolves match branches to the case that actually ran.

RuntimeLineage

The runtime lineage from plan execution

PlanAst

The plan’s AST

SourceMap

Source map with provenance for every output path