src/com/google/javascript/rhino/Node.java
/**
   * Overwrite all the source information in this node with
   * that of {@code other} iff the source info is missing.
   */
Overwrite all the source information in this node with
that of  other iff the source info is missing.
Overwrite all the source information in this node with that of other iff the source info is missing .
public final Node useSourceInfoIfMissingFrom(Node other) {
    if (getStaticSourceFile() == null) {
      setStaticSourceFileFrom(other);
      sourcePosition = other.sourcePosition;
      length = other.length;
    }
    if (getProp(ORIGINALNAME_PROP) == null) {
      putProp(ORIGINALNAME_PROP, other.getProp(ORIGINALNAME_PROP));
    }
    return this;
  }
public final Node useSourceInfoIfMissingFrom ( Node other ) { if ( getStaticSourceFile ( ) == null ) { setStaticSourceFileFrom ( other ) ; sourcePosition = other . sourcePosition ; length = other . length ; } if ( getProp ( ORIGINALNAME_PROP ) == null ) { putProp ( ORIGINALNAME_PROP , other . getProp ( ORIGINALNAME_PROP ) ) ; } return this ; }
Overwrite all the source information in this node with
 that of {@code other} iff the source info is missing.
Overwrite all the source information in this node with that of { @code other } iff the source info is missing .
// TODO(lharker): should this be inside the above if condition? // If the node already has a source file, it seems strange to // go ahead and set the original name anyway.