ida.pelab.prt.constraints
Class LoopCheck

java.lang.Object
  extended by ida.pelab.prt.constraints.Constraint
      extended by ida.pelab.prt.constraints.LoopCheck

public class LoopCheck
extends Constraint


Constructor Summary
LoopCheck(java.lang.String step, LoopDirectionType dir)
           
 
Method Summary
 boolean check(cetus.hir.Traversable rootNode, java.util.ArrayList<MatchedInstance> children)
           
 LoopDirectionType getDirection()
           
 java.lang.String getStepIncrement()
           
 void setDirection(LoopDirectionType direction)
           
 void setStepIncrement(java.lang.String stepIncrement)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopCheck

public LoopCheck(java.lang.String step,
                 LoopDirectionType dir)
Method Detail

check

public boolean check(cetus.hir.Traversable rootNode,
                     java.util.ArrayList<MatchedInstance> children)
Overrides:
check in class Constraint

setStepIncrement

public void setStepIncrement(java.lang.String stepIncrement)

getStepIncrement

public java.lang.String getStepIncrement()

setDirection

public void setDirection(LoopDirectionType direction)

getDirection

public LoopDirectionType getDirection()