src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Creates a new node representing an *existing* name, copying over the source
   * location information from the basis node and assigning the given original
   * name to the node.
   *
   * @param name The name for the new NAME node.
   * @param basisNode The node that represents the name as currently found in
   *     the AST.
   * @param originalName The original name of the item being represented by the
   *     NAME node. Used for debugging information.
   *
   * @return The node created.
   */
Creates a new node representing an *existing* name, copying over the source
location information from the basis node and assigning the given original
name to the node.

@param name The name for the new NAME node.
@param basisNode The node that represents the name as currently found in
the AST.
@param originalName The original name of the item being represented by the
NAME node. Used for debugging information.

@return The node created.
Creates a new node representing an * existing * name copying over the source location information from the basis node and assigning the given original name to the node . @param name The name for the new NAME node . @param basisNode The node that represents the name as currently found in the AST . @param originalName The original name of the item being represented by the NAME node . Used for debugging information . @return The node created .
static Node newName(
      AbstractCompiler compiler, String name,
      Node basisNode, String originalName) {
    Node nameNode = newName(compiler, name, basisNode);
    nameNode.setOriginalName(originalName);
    return nameNode;
  }
static Node newName ( AbstractCompiler compiler , String name , Node basisNode , String originalName ) { Node nameNode = newName ( compiler , name , basisNode ) ; nameNode . setOriginalName ( originalName ) ; return nameNode ; }
Creates a new node representing an *existing* name, copying over the source
 location information from the basis node and assigning the given original
 name to the node.
Creates a new node representing an * existing * name copying over the source location information from the basis node and assigning the given original name to the node .