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

Function getExportSpecifierLocalTargetSymbol

test/fixtures/snapshot/typescript.js:86547–86556  ·  view source on GitHub ↗

Returns the target of an export specifier without following aliases

(node)

Source from the content-addressed store, hash-verified

86545 }
86546 /** Returns the target of an export specifier without following aliases */
86547 function getExportSpecifierLocalTargetSymbol(node) {
86548 if (ts.isExportSpecifier(node)) {
86549 return node.parent.parent.moduleSpecifier ?
86550 getExternalModuleMember(node.parent.parent, node) :
86551 resolveEntityName(node.propertyName || node.name, 111551 /* SymbolFlags.Value */ | 788968 /* SymbolFlags.Type */ | 1920 /* SymbolFlags.Namespace */ | 2097152 /* SymbolFlags.Alias */);
86552 }
86553 else {
86554 return resolveEntityName(node, 111551 /* SymbolFlags.Value */ | 788968 /* SymbolFlags.Type */ | 1920 /* SymbolFlags.Namespace */ | 2097152 /* SymbolFlags.Alias */);
86555 }
86556 }
86557 function getTypeOfNode(node) {
86558 if (ts.isSourceFile(node) && !ts.isExternalModule(node)) {
86559 return errorType;

Callers 1

createTypeCheckerFunction · 0.85

Calls 2

getExternalModuleMemberFunction · 0.85
resolveEntityNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…