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

Function peekBlockKind

test/fixtures/snapshot/typescript.js:103454–103457  ·  view source on GitHub ↗

* Gets the kind of the current open block.

()

Source from the content-addressed store, hash-verified

103452 * Gets the kind of the current open block.
103453 */
103454 function peekBlockKind() {
103455 var block = peekBlock();
103456 return block && block.kind;
103457 }
103458 /**
103459 * Begins a code block for a generated `with` statement.
103460 *

Callers 7

endWithBlockFunction · 0.85
beginCatchBlockFunction · 0.85
beginFinallyBlockFunction · 0.85
endExceptionBlockFunction · 0.85
endLoopBlockFunction · 0.85
endSwitchBlockFunction · 0.85
endLabeledBlockFunction · 0.85

Calls 1

peekBlockFunction · 0.85

Tested by

no test coverage detected