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

Function beginExceptionBlock

test/fixtures/snapshot/typescript.js:103485–103497  ·  view source on GitHub ↗

* Begins a code block for a generated `try` statement.

()

Source from the content-addressed store, hash-verified

103483 * Begins a code block for a generated `try` statement.
103484 */
103485 function beginExceptionBlock() {
103486 var startLabel = defineLabel();
103487 var endLabel = defineLabel();
103488 markLabel(startLabel);
103489 beginBlock({
103490 kind: 0 /* CodeBlockKind.Exception */,
103491 state: 0 /* ExceptionBlockState.Try */,
103492 startLabel: startLabel,
103493 endLabel: endLabel
103494 });
103495 emitNop();
103496 return endLabel;
103497 }
103498 /**
103499 * Enters the `catch` clause of a generated `try` statement.
103500 *

Callers 1

Calls 4

defineLabelFunction · 0.85
markLabelFunction · 0.85
beginBlockFunction · 0.85
emitNopFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…