private static final class ExprFactory.BinOp extends java.lang.Object implements Expr
| Modifier and Type | Field and Description |
|---|---|
private Expr |
l |
private ExprFactory.Op |
op |
private Expr |
r |
| Constructor and Description |
|---|
BinOp(Expr l,
ExprFactory.Op op,
Expr r) |
| Modifier and Type | Method and Description |
|---|---|
int |
eval() |
java.lang.String |
toString() |
public BinOp(Expr l, ExprFactory.Op op, Expr r)