Esempio n. 1
0
  /** Fill this node with a deep copy of the given node. */
  public void copyFrom(QueryTreeNode node) throws StandardException {
    super.copyFrom(node);

    FromVTI other = (FromVTI) node;
    this.methodCall =
        (MethodCallNode) getNodeFactory().copyNode(other.methodCall, getParserContext());
    this.exposedName = (TableName) getNodeFactory().copyNode(other.exposedName, getParserContext());
    this.subqueryList =
        (SubqueryList) getNodeFactory().copyNode(other.subqueryList, getParserContext());
    this.isTarget = other.isTarget;
  }