Class ExpressionList

java.lang.Object
  |
  +--RETRAN
        |
        +--ExpressionList

public class ExpressionList
extends RETRAN

A recursive list of expressions.

Version:
1.0 October 2003
Author:
Paul Bailes, Ned Martin, modified 02-Nov-2003

Field Summary
private  Expression expression
           
private  ExpressionList tail
           
 
Constructor Summary
ExpressionList(Expression expression, ExpressionList tail)
          Constructs an ExpressionList.
 
Method Summary
 void JGen()
          generates java source code for the expressions stored in the list.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

expression

private Expression expression

tail

private ExpressionList tail
Constructor Detail

ExpressionList

public ExpressionList(Expression expression,
                      ExpressionList tail)
Constructs an ExpressionList.
Parameters:
expression - the declaration to store at the head of the list
tail - the DeclarationList to use as the tail of the list
Method Detail

JGen

public void JGen()
generates java source code for the expressions stored in the list.
Overrides:
JGen in class RETRAN