m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/Absyn/EFunC.java
blob: 93af7e972978a6ce3576baa91daec5da7e81afd3 (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 EFunC extends BasicExpr {
  public final String qident_;
  public final ListCondExpr listcondexpr_;

  public EFunC(String p1, ListCondExpr p2) { qident_ = p1; listcondexpr_ = p2; }

  public <R,A> R accept(pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr.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.EFunC) {
      pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EFunC x = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EFunC)o;
      return this.qident_.equals(x.qident_) && this.listcondexpr_.equals(x.listcondexpr_);
    }
    return false;
  }

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


}