ASTRelational.java
1.01 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.forms.formcalc;
import com.adobe.forms.formcalc.ArithmeticLogicNode;
import com.adobe.forms.formcalc.CalcTransParser;
import com.adobe.forms.formcalc.CalcTransParserVisitor;
import java.util.List;
public class ASTRelational
extends ArithmeticLogicNode {
public ASTRelational(int id) {
super(id);
}
public ASTRelational(CalcTransParser p, int id) {
super(p, id);
}
@Override
public Object jjtAccept(CalcTransParserVisitor visitor, Object data) {
return visitor.visit(this, data);
}
public boolean isGT(int childIdx) {
return 41 == (Integer)this.operators.get(childIdx - 1);
}
public boolean isGE(int childIdx) {
return 47 == (Integer)this.operators.get(childIdx - 1);
}
public boolean isLT(int childIdx) {
return 40 == (Integer)this.operators.get(childIdx - 1);
}
public boolean isLE(int childIdx) {
return 44 == (Integer)this.operators.get(childIdx - 1);
}
}