SandMark version 2.1


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.


Field Summary
(package private)  Expr left
           
(package private)  Expr right
           
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.IfStmt
comparison, EQ, falseTarget, GE, GT, LE, LT, NE, trueTarget
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.JumpStmt
catchTargets
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node
key, parent, valueNumber
 
Constructor Summary
IfCmpStmt(int comparison, Expr left, Expr right, Block trueTarget, Block falseTarget)
          Constructor.
 
Method Summary
 java.lang.Object clone()
           
 Expr left()
           
 Expr right()
           
 void visit(TreeVisitor visitor)
           
 void visitForceChildren(TreeVisitor visitor)
          Visit the children of this node.
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.IfStmt
comparison, falseTarget, negate, setFalseTarget, setTrueTarget, trueTarget
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.JumpStmt
catchTargets, copyInto
 
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
 

Field Detail

left

Expr left

right

Expr right
Constructor Detail

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.
Method Detail

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

SandMark version 2.1

Wed Jul 3 17:27:43 MST 2002