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

Function bindForStatement

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

Source from the content-addressed store, hash-verified

45585 currentFlow = finishFlowLabel(postDoLabel);
45586 }
45587 function bindForStatement(node) {
45588 var preLoopLabel = setContinueTarget(node, createLoopLabel());
45589 var preBodyLabel = createBranchLabel();
45590 var postLoopLabel = createBranchLabel();
45591 bind(node.initializer);
45592 addAntecedent(preLoopLabel, currentFlow);
45593 currentFlow = preLoopLabel;
45594 bindCondition(node.condition, preBodyLabel, postLoopLabel);
45595 currentFlow = finishFlowLabel(preBodyLabel);
45596 bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel);
45597 bind(node.incrementor);
45598 addAntecedent(preLoopLabel, currentFlow);
45599 currentFlow = finishFlowLabel(postLoopLabel);
45600 }
45601 function bindForInOrForOfStatement(node) {
45602 var preLoopLabel = setContinueTarget(node, createLoopLabel());
45603 var postLoopLabel = createBranchLabel();

Callers 1

bindChildrenFunction · 0.85

Calls 8

setContinueTargetFunction · 0.85
createLoopLabelFunction · 0.85
createBranchLabelFunction · 0.85
addAntecedentFunction · 0.85
bindConditionFunction · 0.85
finishFlowLabelFunction · 0.85
bindIterativeStatementFunction · 0.85
bindFunction · 0.70

Tested by

no test coverage detected