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

Function beginLoopBlock

test/fixtures/snapshot/typescript.js:103587–103596  ·  view source on GitHub ↗

* Begins a code block that supports `break` or `continue` statements that are defined in * generated code. Returns a label used to mark the operation to which to jump when a * `break` statement targets this block. * * @param continueLabel A Label used to mark the

(continueLabel)

Source from the content-addressed store, hash-verified

103585 * `continue` statement targets this block.
103586 */
103587 function beginLoopBlock(continueLabel) {
103588 var breakLabel = defineLabel();
103589 beginBlock({
103590 kind: 3 /* CodeBlockKind.Loop */,
103591 isScript: false,
103592 breakLabel: breakLabel,
103593 continueLabel: continueLabel,
103594 });
103595 return breakLabel;
103596 }
103597 /**
103598 * Ends a code block that supports `break` or `continue` statements that are defined in
103599 * generated code or in the source tree.

Calls 2

defineLabelFunction · 0.85
beginBlockFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…