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

Function createLoopVariable

test/fixtures/snapshot/typescript.js:22995–23000  ·  view source on GitHub ↗
(reservedInNestedScopes)

Source from the content-addressed store, hash-verified

22993 /** Create a unique temporary variable for use in a loop. */
22994 // @api
22995 function createLoopVariable(reservedInNestedScopes) {
22996 var flags = 2 /* GeneratedIdentifierFlags.Loop */;
22997 if (reservedInNestedScopes)
22998 flags |= 8 /* GeneratedIdentifierFlags.ReservedInNestedScopes */;
22999 return createBaseGeneratedIdentifier("", flags);
23000 }
23001 /** Create a unique name based on the supplied text. */
23002 // @api
23003 function createUniqueName(text, flags) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected