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

Function isNameOfModuleOrEnumDeclaration

test/fixtures/snapshot/typescript.js:86778–86780  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

86776 }
86777 }
86778 function isNameOfModuleOrEnumDeclaration(node) {
86779 return ts.isModuleOrEnumDeclaration(node.parent) && node === node.parent.name;
86780 }
86781 // When resolved as an expression identifier, if the given node references an exported entity, return the declaration
86782 // node of the exported entity's container. Otherwise, return undefined.
86783 function getReferencedExportContainer(nodeIn, prefixLocals) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected