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

Function endBlock

test/fixtures/snapshot/typescript.js:103434–103444  ·  view source on GitHub ↗

* Ends the current block operation.

()

Source from the content-addressed store, hash-verified

103432 * Ends the current block operation.
103433 */
103434 function endBlock() {
103435 var block = peekBlock();
103436 if (block === undefined)
103437 return ts.Debug.fail("beginBlock was never called.");
103438 var index = blockActions.length;
103439 blockActions[index] = 1 /* BlockAction.Close */;
103440 blockOffsets[index] = operations ? operations.length : 0;
103441 blocks[index] = block;
103442 blockStack.pop();
103443 return block;
103444 }
103445 /**
103446 * Gets the current open block.
103447 */

Callers 5

endWithBlockFunction · 0.85
endExceptionBlockFunction · 0.85
endLoopBlockFunction · 0.85
endSwitchBlockFunction · 0.85
endLabeledBlockFunction · 0.85

Calls 3

peekBlockFunction · 0.85
popMethod · 0.80
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…