Create a unique temporary variable for use in a loop.
When true
, reserves the temporary variable name in all nested scopes
during emit so that the variable can be referenced in a nested function body. This is an alternative to
setting EmitFlags.ReuseTempVariableScope
on the nested function itself.
Create a unique temporary variable.
An optional callback used to record the temporary variable name. This
should usually be a reference to hoistVariableDeclaration
from a TransformationContext
, but
can be undefined
if you plan to record the temporary variable manually.
When true
, reserves the temporary variable name in all nested scopes
during emit so that the variable can be referenced in a nested function body. This is an alternative to
setting EmitFlags.ReuseTempVariableScope
on the nested function itself.
Create a unique name based on the supplied text.
Create a unique name generated for a node.
Generated using TypeDoc