|
![]() SandMark version 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--sandmark.obfuscate.boolsplitter.dtree.Node
|
+--sandmark.obfuscate.boolsplitter.dtree.Expr
|
+--sandmark.obfuscate.boolsplitter.dtree.DefExpr
An expression in which a definition occurs. Each instance has a unique version number associated with it.
| Field Summary | |
(package private) static int |
next
|
(package private) java.util.Set |
uses
|
(package private) int |
version
|
| Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Expr |
B, BARRAY, BOOL, BOOLARRAY, range, type, UNDEF |
| Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
key, parent, valueNumber |
| Constructor Summary | |
DefExpr(EDU.purdue.cs.bloat.editor.Type type)
Constructor. |
|
| Method Summary | |
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. |
| Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Expr |
clone, comparator, copyInto, def, equalsExpr, exprHashCode, mergeRange, setDef, setType, stmt, type |
| Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnly |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
java.util.Set uses
int version
static int next
| Constructor Detail |
public DefExpr(EDU.purdue.cs.bloat.editor.Type type)
type - The Type (descriptor) of this expression| Method Detail |
public 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)
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||