pub fn print(
program: &TsProgram,
source_name: &str,
source_text: &str,
output_file: &str,
) -> PrintedExpand description
Print program to TypeScript text. source_name/source_text register
the .bynk source every statement’s own span is measured against —
today always exactly one, since nothing spans two files yet;
output_file names the generated file in the source map’s own file
field. Only a top-level statement’s own span is recorded as a
checkpoint (R7.4’s existing scope, unchanged by P7.8 — see
TsStmt::span’s own doc for why a nested statement’s span isn’t
recorded yet).