Skip to main content

render_transcript_with_source

Function render_transcript_with_source 

Source
pub fn render_transcript_with_source(
    parts: &[OutputPart],
    program: &Program,
    line_tables: &[Vec<LineEntry>],
    resolver: Option<&dyn PluralResolver>,
    fragments: &Fragments,
) -> Vec<(String, Vec<String>, Option<SourceLocation>)>
Expand description

Like render_transcript, but keeps each line’s provenance — the first LineRef’s line-table source_location (the same rule the live delivery stream uses, W7/#3300). The studio’s re-render road (RULED 2026-08-30, “Studio saves carry the structural transcript”) needs the provenance chips to survive a restore, not just the text.