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

Function getClassifiableNames

test/fixtures/snapshot/typescript.js:117040–117052  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117038 return commonSourceDirectory;
117039 }
117040 function getClassifiableNames() {
117041 var _a;
117042 if (!classifiableNames) {
117043 // Initialize a checker so that all our files are bound.
117044 getTypeChecker();
117045 classifiableNames = new ts.Set();
117046 for (var _i = 0, files_3 = files; _i < files_3.length; _i++) {
117047 var sourceFile = files_3[_i];
117048 (_a = sourceFile.classifiableNames) === null || _a === void 0 ? void 0 : _a.forEach(function (value) { return classifiableNames.add(value); });
117049 }
117050 }
117051 return classifiableNames;
117052 }
117053 function resolveModuleNamesReusingOldState(moduleNames, file) {
117054 if (structureIsReused === 0 /* StructureIsReused.Not */ && !file.ambientModuleNames.length) {
117055 // If the old program state does not permit reusing resolutions and `file` does not contain locally defined ambient modules,

Callers

nothing calls this directly

Calls 3

getTypeCheckerFunction · 0.85
forEachMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected