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

Function bindWhileStatement

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

Source from the content-addressed store, hash-verified

45561 return target;
45562 }
45563 function bindWhileStatement(node) {
45564 var preWhileLabel = setContinueTarget(node, createLoopLabel());
45565 var preBodyLabel = createBranchLabel();
45566 var postWhileLabel = createBranchLabel();
45567 addAntecedent(preWhileLabel, currentFlow);
45568 currentFlow = preWhileLabel;
45569 bindCondition(node.expression, preBodyLabel, postWhileLabel);
45570 currentFlow = finishFlowLabel(preBodyLabel);
45571 bindIterativeStatement(node.statement, postWhileLabel, preWhileLabel);
45572 addAntecedent(preWhileLabel, currentFlow);
45573 currentFlow = finishFlowLabel(postWhileLabel);
45574 }
45575 function bindDoStatement(node) {
45576 var preDoLabel = createLoopLabel();
45577 var preConditionLabel = setContinueTarget(node, createBranchLabel());

Callers 1

bindChildrenFunction · 0.85

Calls 7

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

Tested by

no test coverage detected