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

Function reserveNameInNestedScopes

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

Source from the content-addressed store, hash-verified

114354 reservedNames = reservedNamesStack.pop();
114355 }
114356 function reserveNameInNestedScopes(name) {
114357 if (!reservedNames || reservedNames === ts.lastOrUndefined(reservedNamesStack)) {
114358 reservedNames = new ts.Set();
114359 }
114360 reservedNames.add(name);
114361 }
114362 function generateNames(node) {
114363 if (!node)
114364 return;

Callers 2

makeTempVariableNameFunction · 0.85
makeUniqueNameFunction · 0.85

Calls 1

addMethod · 0.65

Tested by

no test coverage detected