| Modifier and Type | Method and Description |
|---|---|
protected void |
addUse(Expr use) |
void |
cleanupOnly()
Clean up this expression.
|
boolean |
hasUse(Expr use) |
boolean |
isDef()
Determines whether or not this DefExpr defines a local
variable in its parent.
|
protected void |
removeUse(Expr use) |
java.util.Collection |
uses()
Returns the Exprs in which the variable defined by this are
used.
|
int |
version()
Returns Number DefExpr this is.
|
clone, comparator, copyInto, def, equalsExpr, exprHashCode, setDef, setType, stmt, typeblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnlypublic DefExpr(Type type)
type - The Type (descriptor) of this expressionpublic void cleanupOnly()
cleanupOnly in class Exprpublic int version()
public boolean isDef()
isDef in class ExprAssign.defs()public java.util.Collection uses()
public boolean hasUse(Expr use)
protected void addUse(Expr use)
protected void removeUse(Expr use)