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

Function beginSwitchBlock

test/fixtures/snapshot/typescript.js:103626–103634  ·  view source on GitHub ↗

* Begins a code block that supports `break` 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.

()

Source from the content-addressed store, hash-verified

103624 * targets this block.
103625 */
103626 function beginSwitchBlock() {
103627 var breakLabel = defineLabel();
103628 beginBlock({
103629 kind: 2 /* CodeBlockKind.Switch */,
103630 isScript: false,
103631 breakLabel: breakLabel,
103632 });
103633 return breakLabel;
103634 }
103635 /**
103636 * Ends a code block that supports `break` statements that are defined in generated code.
103637 */

Callers 1

Calls 2

defineLabelFunction · 0.85
beginBlockFunction · 0.85

Tested by

no test coverage detected