In-process counters for one CodeGen file-emit pass.
Kept as a tiny module with no config / reporter / EntityInfo imports so unit
tests can drive it (and writeFileIfChanged) without booting the CodeGen
graph. runCodeGen copies the snapshot onto CodeGenReporter at the end of
the file-generation phase.
In-process counters for one CodeGen file-emit pass.
Kept as a tiny module with no config / reporter / EntityInfo imports so unit tests can drive it (and
writeFileIfChanged) without booting the CodeGen graph.runCodeGencopies the snapshot ontoCodeGenReporterat the end of the file-generation phase.