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

Function markLabel

test/fixtures/snapshot/typescript.js:103408–103411  ·  view source on GitHub ↗

* Marks the current operation with the specified label.

(label)

Source from the content-addressed store, hash-verified

103406 * Marks the current operation with the specified label.
103407 */
103408 function markLabel(label) {
103409 ts.Debug.assert(labelOffsets !== undefined, "No labels were defined.");
103410 labelOffsets[label] = operations ? operations.length : 0;
103411 }
103412 /**
103413 * Begins a block operation (With, Break/Continue, Try/Catch/Finally)
103414 *

Callers 15

visitYieldExpressionFunction · 0.85
beginWithBlockFunction · 0.85
endWithBlockFunction · 0.85
beginExceptionBlockFunction · 0.85

Calls 1

assertMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…