/* Generated By:JJTree: Do not edit this line. ASTCondition.java */

package hiro.yoshioka.ast.sql.oracle;

import hiro.yoshioka.ast.sql.IToken;

import java.util.ArrayList;
import java.util.List;



public class ASTCondition extends SimpleNode {
	List fTokenList = new ArrayList();

  public ASTCondition(int id) {
    super(id);
  }

  public ASTCondition(WolfSQLParser p, int id) {
    super(p, id);
  }
	public void addToken(IToken t) {
		fTokenList.add(t);
	}

	/* (non-Javadoc)
	 * @see hiro.yoshioka.ast.sql.mysql.ICondition#getTokens()
	 */
	public IToken[] getTokens() {
		return (IToken[]) fTokenList.toArray(new Token[fTokenList.size()]);
	}


  /** Accept the visitor. **/
  public Object jjtAccept(WolfSQLParserVisitor visitor, Object data) {
    return visitor.visit(this, data);
  }
}
