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. Every statement’s own span is recorded as a checkpoint, at
any depth (1A.15; before that only a top-level statement’s was, R7.4’s
original scope) — except inside an arrow body, which carries none yet.