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

Function finishFlowLabel

test/fixtures/snapshot/typescript.js:45478–45487  ·  view source on GitHub ↗
(flow)

Source from the content-addressed store, hash-verified

45476 return initFlowNode({ flags: 512 /* FlowFlags.Call */, antecedent: antecedent, node: node });
45477 }
45478 function finishFlowLabel(flow) {
45479 var antecedents = flow.antecedents;
45480 if (!antecedents) {
45481 return unreachableFlow;
45482 }
45483 if (antecedents.length === 1) {
45484 return antecedents[0];
45485 }
45486 return flow;
45487 }
45488 function isStatementCondition(node) {
45489 var parent = node.parent;
45490 switch (parent.kind) {

Callers 15

bindContainerFunction · 0.85
bindWhileStatementFunction · 0.85
bindDoStatementFunction · 0.85
bindForStatementFunction · 0.85
bindIfStatementFunction · 0.85
bindTryStatementFunction · 0.85
bindSwitchStatementFunction · 0.85
bindCaseBlockFunction · 0.85
bindLabeledStatementFunction · 0.85
onEnterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected