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

Function createIncrementalCompilerHost

test/fixtures/snapshot/typescript.js:123298–123307  ·  view source on GitHub ↗
(options, system)

Source from the content-addressed store, hash-verified

123296 }
123297 ts.readBuilderProgram = readBuilderProgram;
123298 function createIncrementalCompilerHost(options, system) {
123299 if (system === void 0) { system = ts.sys; }
123300 var host = ts.createCompilerHostWorker(options, /*setParentNodes*/ undefined, system);
123301 host.createHash = ts.maybeBind(system, system.createHash);
123302 host.disableUseFileVersionAsSignature = system.disableUseFileVersionAsSignature;
123303 host.storeFilesChangingSignatureDuringEmit = system.storeFilesChangingSignatureDuringEmit;
123304 ts.setGetSourceFileAsHashVersioned(host, system);
123305 ts.changeCompilerHostLikeToUseCache(host, function (fileName) { return ts.toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName); });
123306 return host;
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;

Callers 1

createIncrementalProgramFunction · 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…