Lines Matching refs:right
44 public ASTree compute(int op, ASTree right) {
45 if (right instanceof IntConst)
46 return compute0(op, (IntConst)right);
47 else if (right instanceof DoubleConst)
48 return compute0(op, (DoubleConst)right);
53 private DoubleConst compute0(int op, DoubleConst right) {
56 || right.type == TokenId.DoubleConstant)
61 return compute(op, this.value, right.value, newType);
64 private DoubleConst compute0(int op, IntConst right) {
65 return compute(op, this.value, (double)right.value, this.type);