jcaas.script_nodes
Class StatementList

java.lang.Object
  extended by jcaas.script_nodes.AbstractInterpretable
      extended by jcaas.script_nodes.Statement
          extended by jcaas.script_nodes.StatementList
All Implemented Interfaces:
Interpretable

public class StatementList
extends Statement

Class represents a stmt_list node in the syntax tree of a script.


Field Summary
 
Fields inherited from class jcaas.script_nodes.Statement
NULLSTATEMENT
 
Constructor Summary
StatementList(Statement statement)
          Constructor for rule stmt_list ::= stmt.
StatementList(Statement statement, Statement list)
          Constructor for rule stmt_list ::= stmt stmt_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

StatementList

public StatementList(Statement statement)
Constructor for rule stmt_list ::= stmt.

Parameters:
statement - stmt

StatementList

public StatementList(Statement statement,
                     Statement list)
Constructor for rule stmt_list ::= stmt stmt_list.

Parameters:
statement - stmt.
list - stmt_list.
Method Detail

interpret

public void interpret(Context c)