SandMark version 2.0


sandmark.obfuscate.boolsplitter.dtree
Class SCStmt

java.lang.Object
  |
  +--sandmark.obfuscate.boolsplitter.dtree.Node
        |
        +--sandmark.obfuscate.boolsplitter.dtree.Stmt
              |
              +--sandmark.obfuscate.boolsplitter.dtree.SCStmt

public class SCStmt
extends Stmt

SCStmt represents a swizzle check on an element in an array.


Field Summary
(package private)  Expr array
           
(package private)  Expr index
           
(package private)  boolean redundant
           
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node
key, parent, valueNumber
 
Constructor Summary
SCStmt(Expr a, Expr i)
          Constructor.
 
Method Summary
 Expr array()
           
 java.lang.Object clone()
           
 Expr index()
           
 boolean redundant()
           
 void set_redundant(boolean val)
           
 void visit(TreeVisitor visitor)
           
 void visitForceChildren(TreeVisitor visitor)
          Visit the children of this node.
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Stmt
cleanupOnly
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node
block, cleanup, copyInto, 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

array

Expr array

index

Expr index

redundant

boolean redundant
Constructor Detail

SCStmt

public SCStmt(Expr a,
              Expr i)
Constructor.

Parameters:
a - The array on which to place the swizzle check.
i - The element in array a to swizzle.
Method Detail

array

public Expr array()

index

public Expr index()

redundant

public boolean redundant()
Returns:
True, if the swizzle check is redundent.

set_redundant

public void set_redundant(boolean val)

visit

public void visit(TreeVisitor visitor)
Specified by:
visit in class Node

clone

public java.lang.Object clone()
Specified by:
clone in class Stmt

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

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002