MCPcopy Create free account
hub / github.com/nodejs/node / isBindingCapturedByNode

Function isBindingCapturedByNode

test/fixtures/snapshot/typescript.js:71872–71875  ·  view source on GitHub ↗
(node, decl)

Source from the content-addressed store, hash-verified

71870 }
71871 }
71872 function isBindingCapturedByNode(node, decl) {
71873 var links = getNodeLinks(node);
71874 return !!links && ts.contains(links.capturedBlockScopeBindings, getSymbolOfNode(decl));
71875 }
71876 function isAssignedInBodyOfForStatement(node, container) {
71877 // skip parenthesized nodes
71878 var current = node;

Callers 1

createResolverFunction · 0.85

Calls 3

getNodeLinksFunction · 0.85
getSymbolOfNodeFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected