T
- public class ExprIterVisitor<T> extends java.lang.Object implements ExprVisitor<T>
Modifier and Type | Field and Description |
---|---|
protected java.util.function.BinaryOperator<T> |
combine |
protected T |
defaultVal |
protected ExprVisitorAdapter<T> |
eva |
Constructor and Description |
---|
ExprIterVisitor(java.util.function.BinaryOperator<T> combine,
T defaultVal) |
Modifier and Type | Method and Description |
---|---|
T |
visit(ArrayRefVarExpr expr) |
T |
visit(AstVarExpr expr) |
T |
visit(FieldRefVarExpr expr) |
T |
visit(GammaVarExpr expr) |
T |
visit(IfThenElseExpr expr) |
T |
visit(za.ac.sun.cs.green.expr.IntConstant expr) |
T |
visit(za.ac.sun.cs.green.expr.IntVariable expr) |
T |
visit(za.ac.sun.cs.green.expr.Operation expr) |
T |
visit(za.ac.sun.cs.green.expr.RealConstant expr) |
T |
visit(za.ac.sun.cs.green.expr.RealVariable expr) |
T |
visit(za.ac.sun.cs.green.expr.StringConstantGreen expr) |
T |
visit(za.ac.sun.cs.green.expr.StringVariable expr) |
T |
visit(WalaVarExpr expr) |
protected final java.util.function.BinaryOperator<T> combine
protected final T defaultVal
protected final ExprVisitorAdapter<T> eva
public T visit(za.ac.sun.cs.green.expr.IntConstant expr)
visit
in interface ExprVisitor<T>
public T visit(za.ac.sun.cs.green.expr.IntVariable expr)
visit
in interface ExprVisitor<T>
public T visit(za.ac.sun.cs.green.expr.Operation expr)
visit
in interface ExprVisitor<T>
public T visit(za.ac.sun.cs.green.expr.RealConstant expr)
visit
in interface ExprVisitor<T>
public T visit(za.ac.sun.cs.green.expr.RealVariable expr)
visit
in interface ExprVisitor<T>
public T visit(za.ac.sun.cs.green.expr.StringConstantGreen expr)
visit
in interface ExprVisitor<T>
public T visit(za.ac.sun.cs.green.expr.StringVariable expr)
visit
in interface ExprVisitor<T>
public T visit(WalaVarExpr expr)
visit
in interface ExprVisitor<T>
public T visit(AstVarExpr expr)
visit
in interface ExprVisitor<T>
public T visit(FieldRefVarExpr expr)
visit
in interface ExprVisitor<T>
public T visit(ArrayRefVarExpr expr)
visit
in interface ExprVisitor<T>
public T visit(GammaVarExpr expr)
visit
in interface ExprVisitor<T>
public T visit(IfThenElseExpr expr)
visit
in interface ExprVisitor<T>