(TypeInfo result)
| 112 | @Reviser public static class NegativeEx extends NegativeExpr { |
| 113 | public NegativeEx(List<ASTree> c) { super(c); } |
| 114 | public String translate(TypeInfo result) { |
| 115 | return "-" + ((ASTreeEx)operand()).translate(null); |
| 116 | } |
| 117 | } |
| 118 | @Reviser public static class BinaryEx2 extends TypeChecker.BinaryEx { |
| 119 | public BinaryEx2(List<ASTree> c) { super(c); } |