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

Function getExportSymbolOfValueSymbolIfExported

test/fixtures/snapshot/typescript.js:51706–51708  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

51704 }
51705 }
51706 function getExportSymbolOfValueSymbolIfExported(symbol) {
51707 return getMergedSymbol(symbol && (symbol.flags & 1048576 /* SymbolFlags.ExportValue */) !== 0 && symbol.exportSymbol || symbol);
51708 }
51709 function symbolIsValue(symbol) {
51710 return !!(symbol.flags & 111551 /* SymbolFlags.Value */ || symbol.flags & 2097152 /* SymbolFlags.Alias */ && resolveAlias(symbol).flags & 111551 /* SymbolFlags.Value */ && !getTypeOnlyAliasDeclaration(symbol));
51711 }

Callers 8

resolveNameHelperFunction · 0.85
isMatchingReferenceFunction · 0.85
getTypeOfDottedNameFunction · 0.85
checkIdentifierFunction · 0.85
checkDeleteExpressionFunction · 0.85
isAliasResolvedToValueFunction · 0.85

Calls 1

getMergedSymbolFunction · 0.85

Tested by

no test coverage detected