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

Function endLabeledBlock

test/fixtures/snapshot/typescript.js:103663–103669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103661 });
103662 }
103663 function endLabeledBlock() {
103664 ts.Debug.assert(peekBlockKind() === 4 /* CodeBlockKind.Labeled */);
103665 var block = endBlock();
103666 if (!block.isScript) {
103667 markLabel(block.breakLabel);
103668 }
103669 }
103670 /**
103671 * Indicates whether the provided block supports `break` statements.
103672 *

Callers 2

visitLabeledStatementFunction · 0.85

Calls 4

peekBlockKindFunction · 0.85
endBlockFunction · 0.85
markLabelFunction · 0.85
assertMethod · 0.80

Tested by

no test coverage detected