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

Function createIncrementalProgram

test/fixtures/snapshot/typescript.js:123309–123315  ·  view source on GitHub ↗
(_a)

Source from the content-addressed store, hash-verified

123307 }
123308 ts.createIncrementalCompilerHost = createIncrementalCompilerHost;
123309 function createIncrementalProgram(_a) {
123310 var rootNames = _a.rootNames, options = _a.options, configFileParsingDiagnostics = _a.configFileParsingDiagnostics, projectReferences = _a.projectReferences, host = _a.host, createProgram = _a.createProgram;
123311 host = host || createIncrementalCompilerHost(options);
123312 createProgram = createProgram || ts.createEmitAndSemanticDiagnosticsBuilderProgram;
123313 var oldProgram = readBuilderProgram(options, host);
123314 return createProgram(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectReferences);
123315 }
123316 ts.createIncrementalProgram = createIncrementalProgram;
123317 function createWatchCompilerHost(rootFilesOrConfigFileName, options, system, createProgram, reportDiagnostic, reportWatchStatus, projectReferencesOrWatchOptionsToExtend, watchOptionsOrExtraFileExtensions) {
123318 if (ts.isArray(rootFilesOrConfigFileName)) {

Callers

nothing calls this directly

Calls 3

readBuilderProgramFunction · 0.85
createProgramFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…