pascalinterpreter.controlstatements
Class While

java.lang.Object
  extended bypascalinterpreter.Command
      extended bypascalinterpreter.ControlStatement
          extended bypascalinterpreter.controlstatements.While

public class While
extends ControlStatement


Field Summary
 
Fields inherited from class pascalinterpreter.ControlStatement
 
Constructor Summary
While(BinaryOperation controlCondition, Block block)
           
 
Method Summary
 void execute()
          Metoda rozpoczyna wykonywanie komendy.
 
Methods inherited from class pascalinterpreter.ControlStatement
getBlock, getControlCondition, getRegistry, isConditionTrue, setBlock, setControlCondition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

While

public While(BinaryOperation controlCondition,
             Block block)
      throws AnalyseException
Method Detail

execute

public void execute()
             throws RuntimeException,
                    InternalException
Description copied from class: Command
Metoda rozpoczyna wykonywanie komendy.

Specified by:
execute in class Command
Throws:
RuntimeException - - wyjątek generowany
InternalException