MCPcopy Create free account
hub / github.com/nodejs/node / getInteriorModule

Function getInteriorModule

test/fixtures/snapshot/typescript.js:141511–141513  ·  view source on GitHub ↗

* For 'module A.B.C', we want to get the node for 'C'. * We store 'A' as associated with a NavNode, and use getModuleName to traverse down again.

(decl)

Source from the content-addressed store, hash-verified

141509 * We store 'A' as associated with a NavNode, and use getModuleName to traverse down again.
141510 */
141511 function getInteriorModule(decl) {
141512 return decl.body && ts.isModuleDeclaration(decl.body) ? getInteriorModule(decl.body) : decl;
141513 }
141514 function isComputedProperty(member) {
141515 return !member.name || member.name.kind === 162 /* SyntaxKind.ComputedPropertyName */;
141516 }

Callers 1

addChildrenRecursivelyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected