Esempio n. 1
0
  /**
   * Accept the visitor for all visitable children of this node.
   *
   * @param v the visitor
   * @exception StandardException on error
   */
  void acceptChildren(Visitor v) throws StandardException {
    super.acceptChildren(v);

    if (methodCall != null) {
      methodCall = (MethodCallNode) methodCall.accept(v);
    }
  }
  /** @see QueryTreeNode#acceptChildren */
  void acceptChildren(Visitor v) throws StandardException {
    super.acceptChildren(v);

    subquery.accept(v);

    if (orderByList != null) {
      orderByList.accept(v);
    }

    if (offset != null) {
      offset.accept(v);
    }

    if (fetchFirst != null) {
      fetchFirst.accept(v);
    }
  }