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

Function findActiveLabel

test/fixtures/snapshot/typescript.js:45642–45649  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

45640 currentFlow = unreachableFlow;
45641 }
45642 function findActiveLabel(name) {
45643 for (var label = activeLabelList; label; label = label.next) {
45644 if (label.name === name) {
45645 return label;
45646 }
45647 }
45648 return undefined;
45649 }
45650 function bindBreakOrContinueFlow(node, breakTarget, continueTarget) {
45651 var flowLabel = node.kind === 246 /* SyntaxKind.BreakStatement */ ? breakTarget : continueTarget;
45652 if (flowLabel) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected