Raptor.RAPRules
Class WhileRule

java.lang.Object
  extended by Raptor.RAPRules.RAPRule
      extended by Raptor.RAPRules.WhileRule

public class WhileRule
extends RAPRule

Implements the while rule.
Extends abstract class RAPRule.


Field Summary
 
Fields inherited from class Raptor.RAPRules.RAPRule
proof, window
 
Constructor Summary
WhileRule(ProofBox pProof)
          Constructs a While rule instance.
 
Method Summary
 void apply()
          Called by the controller to apply the while rule.
 
Methods inherited from class Raptor.RAPRules.RAPRule
addInputLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhileRule

public WhileRule(ProofBox pProof)
Constructs a While rule instance.

Parameters:
pProof - the ProofBox representing the box in which the rule is being applied.
Method Detail

apply

public void apply()
           throws java.lang.Exception
Called by the controller to apply the while rule.

Specified by:
apply in class RAPRule
Throws:
java.lang.Exception