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

Function bindBreakOrContinueFlow

test/fixtures/snapshot/typescript.js:45650–45656  ·  view source on GitHub ↗
(node, breakTarget, continueTarget)

Source from the content-addressed store, hash-verified

45648 return undefined;
45649 }
45650 function bindBreakOrContinueFlow(node, breakTarget, continueTarget) {
45651 var flowLabel = node.kind === 246 /* SyntaxKind.BreakStatement */ ? breakTarget : continueTarget;
45652 if (flowLabel) {
45653 addAntecedent(flowLabel, currentFlow);
45654 currentFlow = unreachableFlow;
45655 }
45656 }
45657 function bindBreakOrContinueStatement(node) {
45658 bind(node.label);
45659 if (node.label) {

Callers 1

Calls 1

addAntecedentFunction · 0.85

Tested by

no test coverage detected