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

Function bindDoStatement

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

Source from the content-addressed store, hash-verified

45573 currentFlow = finishFlowLabel(postWhileLabel);
45574 }
45575 function bindDoStatement(node) {
45576 var preDoLabel = createLoopLabel();
45577 var preConditionLabel = setContinueTarget(node, createBranchLabel());
45578 var postDoLabel = createBranchLabel();
45579 addAntecedent(preDoLabel, currentFlow);
45580 currentFlow = preDoLabel;
45581 bindIterativeStatement(node.statement, postDoLabel, preConditionLabel);
45582 addAntecedent(preConditionLabel, currentFlow);
45583 currentFlow = finishFlowLabel(preConditionLabel);
45584 bindCondition(node.expression, preDoLabel, postDoLabel);
45585 currentFlow = finishFlowLabel(postDoLabel);
45586 }
45587 function bindForStatement(node) {
45588 var preLoopLabel = setContinueTarget(node, createLoopLabel());
45589 var preBodyLabel = createBranchLabel();

Callers 1

bindChildrenFunction · 0.85

Calls 7

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

Tested by

no test coverage detected