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

Function getResolvedSymbol

test/fixtures/snapshot/typescript.js:69264–69272  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

69262 }
69263 }
69264 function getResolvedSymbol(node) {
69265 var links = getNodeLinks(node);
69266 if (!links.resolvedSymbol) {
69267 links.resolvedSymbol = !ts.nodeIsMissing(node) &&
69268 resolveName(node, node.escapedText, 111551 /* SymbolFlags.Value */ | 1048576 /* SymbolFlags.ExportValue */, getCannotFindNameDiagnosticForName(node), node, !ts.isWriteOnlyAccess(node),
69269 /*excludeGlobals*/ false) || unknownSymbol;
69270 }
69271 return links.resolvedSymbol;
69272 }
69273 function isInTypeQuery(node) {
69274 // TypeScript 1.0 spec (April 2014): 3.6.3
69275 // A type query consists of the keyword typeof followed by an expression.

Callers 15

visitSymbolFunction · 0.85
isNullOrUndefinedFunction · 0.85
getFlowCacheKeyFunction · 0.85
isMatchingReferenceFunction · 0.85
getTypeOfDottedNameFunction · 0.85
isConstantReferenceFunction · 0.85
narrowTypeFunction · 0.85
markNodeAssignmentsFunction · 0.85
checkIdentifierFunction · 0.85
getSymbolForExpressionFunction · 0.85

Calls 3

getNodeLinksFunction · 0.85
resolveNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…