m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/Absyn/AliasedSelItemC.java
blob: f1f1b5a3bbdff6bcbe9d68dfd646df884e9bfca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package pl.edu.mimuw.cloudatlas.interpreter.query.Absyn; // Java Package generated by the BNF Converter.

public class AliasedSelItemC extends SelItem {
  public final CondExpr condexpr_;
  public final String qident_;

  public AliasedSelItemC(CondExpr p1, String p2) { condexpr_ = p1; qident_ = p2; }

  public <R,A> R accept(pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem.Visitor<R,A> v, A arg) { return v.visit(this, arg); }

  public boolean equals(Object o) {
    if (this == o) return true;
    if (o instanceof pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AliasedSelItemC) {
      pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AliasedSelItemC x = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AliasedSelItemC)o;
      return this.condexpr_.equals(x.condexpr_) && this.qident_.equals(x.qident_);
    }
    return false;
  }

  public int hashCode() {
    return 37*(this.condexpr_.hashCode())+this.qident_.hashCode();
  }


}