public class ExprFactory extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
ExprFactory() |
Modifier and Type | Method and Description |
---|---|
static Expr |
newConst(int v) |
static Expr |
newMinus(Expr l,
Expr r) |
static Expr |
newMult(Expr l,
Expr r) |
static ExprBuilder |
newMultBuilder() |
static Expr |
newPlus(Expr l,
Expr r) |
static ExprBuilder |
newPlusBuilder() |
static Expr |
newQuot(Expr l,
Expr r) |
private ExprFactory()
public static ExprBuilder newPlusBuilder()
public static ExprBuilder newMultBuilder()