MCPcopy Index your code
hub / github.com/nodejs/node / afterProgramDone

Function afterProgramDone

test/fixtures/snapshot/typescript.js:124897–124910  ·  view source on GitHub ↗
(state, program, config)

Source from the content-addressed store, hash-verified

124895 return ts.readBuilderProgram(parsed.options, compilerHost);
124896 }
124897 function afterProgramDone(state, program, config) {
124898 if (program) {
124899 if (program && state.write)
124900 ts.listFiles(program, state.write);
124901 if (state.host.afterProgramEmitAndDiagnostics) {
124902 state.host.afterProgramEmitAndDiagnostics(program);
124903 }
124904 program.releaseProgram();
124905 }
124906 else if (state.host.afterEmitBundle) {
124907 state.host.afterEmitBundle(config);
124908 }
124909 state.projectCompilerOptions = state.baseCompilerOptions;
124910 }
124911 function buildErrors(state, resolvedPath, program, config, diagnostics, buildResult, errorType) {
124912 var canEmitBuildInfo = !(buildResult & BuildResultFlags.SyntaxErrors) && program && !ts.outFile(program.getCompilerOptions());
124913 reportAndStoreErrors(state, resolvedPath, diagnostics);

Callers 3

emitBuildInfoFunction · 0.85
finishEmitFunction · 0.85
buildErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…