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

Function getParentOfSymbol

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

Source from the content-addressed store, hash-verified

51550 return getMergedSymbol(node.symbol && getLateBoundSymbol(node.symbol));
51551 }
51552 function getParentOfSymbol(symbol) {
51553 return getMergedSymbol(symbol.parent && getLateBoundSymbol(symbol.parent));
51554 }
51555 function getAlternativeContainingModules(symbol, enclosingDeclaration) {
51556 var containingFile = ts.getSourceFileOfNode(enclosingDeclaration);
51557 var id = getNodeId(containingFile);

Callers 15

getContainersOfSymbolFunction · 0.85
typeToTypeNodeHelperFunction · 0.85
isSimpleTypeRelatedToFunction · 0.85
getDeclaringClassFunction · 0.85
_loop_28Function · 0.85

Calls 2

getMergedSymbolFunction · 0.85
getLateBoundSymbolFunction · 0.85

Tested by

no test coverage detected