|
SandMark version 3.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
Expr is the superclass for a number of other classes representing expressions in byte code. Expressions are typed and may be nested.
DefExpr
Field Summary | |
static java.lang.String |
B
|
static java.lang.String |
BARRAY
|
static java.lang.String |
BOOL
|
static java.lang.String |
BOOLARRAY
|
java.util.Vector |
range
|
protected EDU.purdue.cs.bloat.editor.Type |
type
|
static java.lang.String |
UNDEF
|
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
key, parent, valueNumber |
Constructor Summary | |
Expr(EDU.purdue.cs.bloat.editor.Type type)
Constructor. |
Method Summary | |
void |
cleanupOnly()
Cleans up this expression only, not its children. |
abstract java.lang.Object |
clone()
|
java.lang.Object |
comparator()
Returns an Object that can be used to compare other Expr to this. |
protected Expr |
copyInto(Expr expr)
Copies the contents of another expression in this one. |
DefExpr |
def()
Returns the expression in which this Expr is defined. |
abstract boolean |
equalsExpr(Expr other)
Compares this expression to another. |
abstract int |
exprHashCode()
Returns the hash code for this expresion. |
boolean |
isDef()
Returns whether or not this expression is a defining occurrence. |
void |
mergeRange(java.util.Vector r2m)
|
void |
setDef(DefExpr def)
Sets the expression that defines this expression. |
boolean |
setType(EDU.purdue.cs.bloat.editor.Type type)
Sets the type of this expression. |
Stmt |
stmt()
Returns the statement to which this expression belongs. |
EDU.purdue.cs.bloat.editor.Type |
type()
Returns the Type of this expression. |
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 |
protected EDU.purdue.cs.bloat.editor.Type type
public java.util.Vector range
public static java.lang.String UNDEF
public static java.lang.String BOOL
public static java.lang.String BOOLARRAY
public static java.lang.String BARRAY
public static java.lang.String B
Constructor Detail |
public Expr(EDU.purdue.cs.bloat.editor.Type type)
type
- The initial Type (descriptor) of this expression.Method Detail |
public void mergeRange(java.util.Vector r2m)
public boolean setType(EDU.purdue.cs.bloat.editor.Type type)
public boolean isDef()
public Stmt stmt()
public EDU.purdue.cs.bloat.editor.Type type()
public void cleanupOnly()
cleanupOnly
in class Node
public void setDef(DefExpr def)
def
- Defining expression.public DefExpr def()
public abstract int exprHashCode()
public abstract boolean equalsExpr(Expr other)
other
- Expr to which to compare this.public abstract java.lang.Object clone()
clone
in class java.lang.Object
protected Expr copyInto(Expr expr)
expr
- The expression from which to copy.public java.lang.Object comparator()
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |