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

Function getBindingNameVisible

test/fixtures/snapshot/typescript.js:108542–108553  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

108540 return !overloadSignatures || overloadSignatures.indexOf(input) === overloadSignatures.length - 1;
108541 }
108542 function getBindingNameVisible(elem) {
108543 if (ts.isOmittedExpression(elem)) {
108544 return false;
108545 }
108546 if (ts.isBindingPattern(elem.name)) {
108547 // If any child binding pattern element has been marked visible (usually by collect linked aliases), then this is visible
108548 return ts.some(elem.name.elements, getBindingNameVisible);
108549 }
108550 else {
108551 return resolver.isDeclarationVisible(elem);
108552 }
108553 }
108554 function updateParamsList(node, params, modifierMask) {
108555 if (ts.hasEffectiveModifier(node, 8 /* ModifierFlags.Private */)) {
108556 return undefined; // TODO: GH#18217

Callers 2

recreateBindingElementFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected