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

Function getExportOfModule

test/fixtures/snapshot/typescript.js:50592–50599  ·  view source on GitHub ↗
(symbol, name, specifier, dontResolveAlias)

Source from the content-addressed store, hash-verified

50590 return result;
50591 }
50592 function getExportOfModule(symbol, name, specifier, dontResolveAlias) {
50593 if (symbol.flags & 1536 /* SymbolFlags.Module */) {
50594 var exportSymbol = getExportsOfSymbol(symbol).get(name.escapedText);
50595 var resolved = resolveSymbol(exportSymbol, dontResolveAlias);
50596 markSymbolOfAliasDeclarationIfTypeOnly(specifier, exportSymbol, resolved, /*overwriteEmpty*/ false);
50597 return resolved;
50598 }
50599 }
50600 function getPropertyOfVariable(symbol, name) {
50601 if (symbol.flags & 3 /* SymbolFlags.Variable */) {
50602 var typeAnnotation = symbol.valueDeclaration.type;

Callers 1

getExternalModuleMemberFunction · 0.85

Calls 4

getExportsOfSymbolFunction · 0.85
resolveSymbolFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…