Function: collectProvenance()¶
collectProvenance(
input,options?):ProvenanceTrace
Defined in: core/src/provenance.ts:615
Collect source and composition provenance from a legacy or canonical program.
The collector is intentionally separate from AST projections. It can retain exact canonical entry locations while callers continue consuming the legacy mutable AST.
Parameters¶
input¶
options?¶
entry?¶
string
events?¶
readonly ProvenanceEvent[]
inherited?¶
readonly ProvenanceEntry[]