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

Function bindVariableDeclarationFlow

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

Source from the content-addressed store, hash-verified

46055 }
46056 }
46057 function bindVariableDeclarationFlow(node) {
46058 bindEachChild(node);
46059 if (node.initializer || ts.isForInOrOfStatement(node.parent.parent)) {
46060 bindInitializedVariableFlow(node);
46061 }
46062 }
46063 function bindBindingElementFlow(node) {
46064 if (ts.isBindingPattern(node.name)) {
46065 // When evaluating a binding pattern, the initializer is evaluated before the binding pattern, per:

Callers 1

bindChildrenFunction · 0.85

Calls 2

bindEachChildFunction · 0.85

Tested by

no test coverage detected