| java.lang.Object EDU.purdue.cs.bloat.tree.Node EDU.purdue.cs.bloat.tree.Expr EDU.purdue.cs.bloat.tree.ConstantExpr
ConstantExpr | public class ConstantExpr extends Expr implements LeafExpr(Code) | | ConstantExpr represents a constant expression. It is used when opcodes ldc,
iinc, and getstatic are visited. It value must be an Integer,
Long, Float, Double, or String.
|
ConstantExpr | public ConstantExpr(Object value, Type type)(Code) | | Constructor.
Parameters: value - The operand of the ldc instruction Parameters: type - The Type of the operand |
equalsExpr | public boolean equalsExpr(Expr other)(Code) | | Compare this ConstantExpr to another Expr.
Parameters: other - An Expr to compare this to. True, if this and other are the same (that is, have the samecontents). |
exprHashCode | public int exprHashCode()(Code) | | A hash code for this expression. |
value | public Object value()(Code) | | The operand of the ldc instruction |
|
|