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

Function pushNameGenerationScope

test/fixtures/snapshot/typescript.js:114338–114345  ·  view source on GitHub ↗

* Push a new name generation scope.

(node)

Source from the content-addressed store, hash-verified

114336 * Push a new name generation scope.
114337 */
114338 function pushNameGenerationScope(node) {
114339 if (node && ts.getEmitFlags(node) & 524288 /* EmitFlags.ReuseTempVariableScope */) {
114340 return;
114341 }
114342 tempFlagsStack.push(tempFlags);
114343 tempFlags = 0;
114344 reservedNamesStack.push(reservedNames);
114345 }
114346 /**
114347 * Pop the current name generation scope.
114348 */

Callers 8

emitMethodSignatureFunction · 0.85
emitCallSignatureFunction · 0.85
emitConstructSignatureFunction · 0.85
emitFunctionTypeFunction · 0.85
emitConstructorTypeFunction · 0.85
emitSignatureAndBodyFunction · 0.85
emitModuleBlockFunction · 0.85
emitSourceFileWorkerFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…