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

Function hasMatchingArgument

test/fixtures/snapshot/typescript.js:69527–69541  ·  view source on GitHub ↗
(expression, reference)

Source from the content-addressed store, hash-verified

69525 return isMatchingReference(source, target) || containsMatchingReference(source, target);
69526 }
69527 function hasMatchingArgument(expression, reference) {
69528 if (expression.arguments) {
69529 for (var _i = 0, _a = expression.arguments; _i < _a.length; _i++) {
69530 var argument = _a[_i];
69531 if (isOrContainsMatchingReference(reference, argument)) {
69532 return true;
69533 }
69534 }
69535 }
69536 if (expression.expression.kind === 206 /* SyntaxKind.PropertyAccessExpression */ &&
69537 isOrContainsMatchingReference(reference, expression.expression.expression)) {
69538 return true;
69539 }
69540 return false;
69541 }
69542 function getFlowNodeId(flow) {
69543 if (!flow.id || flow.id < 0) {
69544 flow.id = nextFlowId;

Callers 2

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…