| Constructor and Description |
|---|
ConstantExpr(java.lang.Object value,
Type type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equalsExpr(Expr other)
Compare this ConstantExpr to another Expr.
|
int |
exprHashCode()
Returns the hash code for this expresion.
|
java.lang.Object |
value() |
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
cleanupOnly, comparator, copyInto, def, isDef, setDef, setType, stmt, typeblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic ConstantExpr(java.lang.Object value,
Type type)
value - The operand of the ldc instructiontype - The Type of the operandpublic java.lang.Object value()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)
public int exprHashCode()
ExprexprHashCode in class Exprpublic boolean equalsExpr(Expr other)
equalsExpr in class Exprother - An Expr to compare this to.