00001 package edu.ksu.cis.bandera.abstraction.predicate.parser;
00002
00003
00004 public class ASTRelationalExpr extends SimpleNode {
00005
00006 private SimpleNode n1, n2;
00007
00008
00009 public ASTRelationalExpr(int id) {
00010 super(id);
00011 }
00012 public ASTRelationalExpr(PredicateParser p, int id) {
00013 super(p, id);
00014 }
00015 public SimpleNode getOp1() { return n1; }
00016 public SimpleNode getOp2() { return n2; }
00017
00018 public Object jjtAccept(PredicateParserVisitor visitor, Object data) {
00019 return visitor.visit(this, data);
00020 }
00021 public static Node jjtCreate(int id) {
00022 return new ASTRelationalExpr(id);
00023 }
00024 public static Node jjtCreate(PredicateParser p, int id) {
00025 return new ASTRelationalExpr(p, id);
00026 }
00027
00028
00029
00030 public void setOp1(SimpleNode node1) { n1 = node1; }
00031 public void setOp2(SimpleNode node2) { n2 = node2; }
00032 }