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

Function copyLocallyVisibleExportSymbols

test/fixtures/snapshot/typescript.js:86147–86156  ·  view source on GitHub ↗
(source, meaning)

Source from the content-addressed store, hash-verified

86145 }
86146 }
86147 function copyLocallyVisibleExportSymbols(source, meaning) {
86148 if (meaning) {
86149 source.forEach(function (symbol) {
86150 // Similar condition as in `resolveNameHelper`
86151 if (!ts.getDeclarationOfKind(symbol, 275 /* SyntaxKind.ExportSpecifier */) && !ts.getDeclarationOfKind(symbol, 274 /* SyntaxKind.NamespaceExport */)) {
86152 copySymbol(symbol, meaning);
86153 }
86154 });
86155 }
86156 }
86157 }
86158 function isTypeDeclarationName(name) {
86159 return name.kind === 79 /* SyntaxKind.Identifier */ &&

Callers 1

populateSymbolsFunction · 0.85

Calls 2

copySymbolFunction · 0.85
forEachMethod · 0.65

Tested by

no test coverage detected