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

Function getContainingModuleSymbol

test/fixtures/snapshot/typescript.js:136786–136788  ·  view source on GitHub ↗
(importer, checker)

Source from the content-addressed store, hash-verified

136784 return symbol;
136785 }
136786 function getContainingModuleSymbol(importer, checker) {
136787 return checker.getMergedSymbol(getSourceFileLikeForImportDeclaration(importer).symbol);
136788 }
136789 function getSourceFileLikeForImportDeclaration(node) {
136790 if (node.kind === 208 /* SyntaxKind.CallExpression */) {
136791 return node.getSourceFile();

Callers 1

handleDirectImportsFunction · 0.85

Tested by

no test coverage detected