jcaas.script_nodes
Class ProcedureList

java.lang.Object
  extended by jcaas.script_nodes.AbstractInterpretable
      extended by jcaas.script_nodes.Procedure
          extended by jcaas.script_nodes.ProcedureList
All Implemented Interfaces:
Interpretable

public class ProcedureList
extends Procedure

Class for a procedure_list node in the syntax tree of a script.


Constructor Summary
ProcedureList(Procedure p, Procedure list)
          Constructor for the rule procedure_list ::= procedure procedure_list.
 
Method Summary
 void interpret(Context c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcedureList

public ProcedureList(Procedure p,
                     Procedure list)
Constructor for the rule procedure_list ::= procedure procedure_list.

Parameters:
p - procedure to evaluate first.
list - the procedures to evaluate afterwards.
Method Detail

interpret

public void interpret(Context c)
Specified by:
interpret in interface Interpretable
Overrides:
interpret in class Procedure