pascalinterpreter
Class Block

java.lang.Object
  extended bypascalinterpreter.Block

public class Block
extends java.lang.Object


Field Summary
private  java.util.ArrayList commands
           
 
Constructor Summary
Block()
           
 
Method Summary
 void addCommands(Command[] commands)
          Metoda dodaje tablice komend do bloku.
 void execute()
           
protected  java.util.ArrayList getCommands()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commands

private java.util.ArrayList commands
Constructor Detail

Block

public Block()
Method Detail

execute

public void execute()
             throws RuntimeException,
                    InternalException
Throws:
RuntimeException
InternalException

getCommands

protected java.util.ArrayList getCommands()
Returns:

addCommands

public void addCommands(Command[] commands)
Metoda dodaje tablice komend do bloku.

Parameters:
commands - - dodawana tablica komend.