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

Function checkEntityNameVisibility

test/fixtures/snapshot/typescript.js:108604–108608  ·  view source on GitHub ↗
(entityName, enclosingDeclaration)

Source from the content-addressed store, hash-verified

108602 || ts.isMappedTypeNode(node);
108603 }
108604 function checkEntityNameVisibility(entityName, enclosingDeclaration) {
108605 var visibilityResult = resolver.isEntityNameVisible(entityName, enclosingDeclaration);
108606 handleSymbolAccessibilityError(visibilityResult);
108607 recordTypeReferenceDirectivesIfNecessary(resolver.getTypeReferenceDirectivesForEntityName(entityName));
108608 }
108609 function preserveJsDoc(updated, original) {
108610 if (ts.hasJSDocNodes(updated) && ts.hasJSDocNodes(original)) {
108611 updated.jsDoc = original.jsDoc;

Callers 3

visitDeclarationSubtreeFunction · 0.85
checkNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…