sandmark.obfuscate.boolsplitter.dtree
Class IfCmpStmt
java.lang.Object
|
+--sandmark.obfuscate.boolsplitter.dtree.Node
|
+--sandmark.obfuscate.boolsplitter.dtree.Stmt
|
+--sandmark.obfuscate.boolsplitter.dtree.JumpStmt
|
+--sandmark.obfuscate.boolsplitter.dtree.IfStmt
|
+--sandmark.obfuscate.boolsplitter.dtree.IfCmpStmt
- public class IfCmpStmt
- extends IfStmt
IfCmpStmt consists of a comparison expression (a left-hand expression, a
comparison operator, and a right-hand expression) that is to be evaluated.
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Stmt |
cleanupOnly |
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
block, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
left
Expr left
right
Expr right
IfCmpStmt
public IfCmpStmt(int comparison,
Expr left,
Expr right,
Block trueTarget,
Block falseTarget)
- Constructor.
- Parameters:
comparison
- Comparison operator for this if statement.left
- Expression on the left side of the comparison.right
- Expression on the right side of the comparison.trueTarget
- Block executed if comparison evaluates to true.falseTarget
- Block executed if comparison evaluates to false.
left
public Expr left()
right
public Expr right()
visitForceChildren
public void visitForceChildren(TreeVisitor visitor)
- Description copied from class:
Node
- Visit the children of this node. Not all Nodes will have children to
visit.
- Specified by:
visitForceChildren
in class Node
visit
public void visit(TreeVisitor visitor)
- Specified by:
visit
in class Node
clone
public java.lang.Object clone()
- Specified by:
clone
in class Stmt