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

Function addBlockScopedVariable

test/fixtures/snapshot/typescript.js:109893–109896  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

109891 return statements;
109892 }
109893 function addBlockScopedVariable(name) {
109894 ts.Debug.assert(blockScopeStackOffset > 0, "Cannot add a block scoped variable outside of an iteration body.");
109895 (blockScopedVariableDeclarations || (blockScopedVariableDeclarations = [])).push(name);
109896 }
109897 function requestEmitHelper(helper) {
109898 ts.Debug.assert(state > 0 /* TransformationState.Uninitialized */, "Cannot modify the transformation context during initialization.");
109899 ts.Debug.assert(state < 2 /* TransformationState.Completed */, "Cannot modify the transformation context after transformation has completed.");

Calls 2

assertMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…