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

Function beginWithBlock

test/fixtures/snapshot/typescript.js:103463–103473  ·  view source on GitHub ↗

* Begins a code block for a generated `with` statement. * * @param expression An identifier representing expression for the `with` block.

(expression)

Source from the content-addressed store, hash-verified

103461 * @param expression An identifier representing expression for the `with` block.
103462 */
103463 function beginWithBlock(expression) {
103464 var startLabel = defineLabel();
103465 var endLabel = defineLabel();
103466 markLabel(startLabel);
103467 beginBlock({
103468 kind: 1 /* CodeBlockKind.With */,
103469 expression: expression,
103470 startLabel: startLabel,
103471 endLabel: endLabel
103472 });
103473 }
103474 /**
103475 * Ends a code block for a generated `with` statement.
103476 */

Callers 1

Calls 3

defineLabelFunction · 0.85
markLabelFunction · 0.85
beginBlockFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…