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

Function getTargetOfPropertyAssignment

test/fixtures/snapshot/typescript.js:50760–50763  ·  view source on GitHub ↗
(node, dontRecursivelyResolve)

Source from the content-addressed store, hash-verified

50758 return getNodeLinks(expression).resolvedSymbol;
50759 }
50760 function getTargetOfPropertyAssignment(node, dontRecursivelyResolve) {
50761 var expression = node.initializer;
50762 return getTargetOfAliasLikeExpression(expression, dontRecursivelyResolve);
50763 }
50764 function getTargetOfAccessExpression(node, dontRecursivelyResolve) {
50765 if (!(ts.isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63 /* SyntaxKind.EqualsToken */)) {
50766 return undefined;

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…