src/codegeneration/TempVarTransformer.js
/**
   * Adds a new temporary variable to the current function scope.
   * @param {ParseTree=} initializer If present then the variable will
   *     have this as the initializer expression.
   * @return {string} The name of the temporary variable.
   */
Adds a new temporary variable to the current function scope.
@param {ParseTree=} initializer If present then the variable will
have this as the initializer expression.
@return {string} The name of the temporary variable.
Adds a new temporary variable to the current function scope . @param { ParseTree = } initializer If present then the variable will have this as the initializer expression . @return { string } The name of the temporary variable .
addTempVar(initializer = null) {
    var vars = this.tempVarStack_[this.tempVarStack_.length - 1];
    var name = this.getName_();
    vars.push(new TempVarStatement(name, initializer));
    return name;
  }
addTempVar ( initializer = null ) { var vars = this . tempVarStack_ [ this . tempVarStack_ . length - 1 ] ; var name = this . getName_ ( ) ; vars . push ( new TempVarStatement ( name , initializer ) ) ; return name ; }
Adds a new temporary variable to the current function scope.
Adds a new temporary variable to the current function scope .