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

Function processTypeReferenceDirective

test/fixtures/snapshot/typescript.js:118470–118474  ·  view source on GitHub ↗
(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason)

Source from the content-addressed store, hash-verified

118468 }
118469 }
118470 function processTypeReferenceDirective(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason) {
118471 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("program" /* tracing.Phase.Program */, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : undefined });
118472 processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason);
118473 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.pop();
118474 }
118475 function processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason) {
118476 // If we already found this library as a primary reference - nothing to do
118477 var previousResolution = resolvedTypeReferenceDirectives.get(typeReferenceDirective, mode);

Callers 2

createProgramFunction · 0.85

Calls 4

isReferencedFileFunction · 0.85
popMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…