Class NameList

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

public class NameList
extends RETRAN

A recursive list of (parameter) names.

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

Field Summary
private  java.lang.String pname
           
private  NameList tail
           
 
Constructor Summary
NameList(java.lang.String n, NameList tail)
          Constructs a NameList.
 
Method Summary
 void JGen()
          generates java source code for the declarations 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

pname

private java.lang.String pname

tail

private NameList tail
Constructor Detail

NameList

public NameList(java.lang.String n,
                NameList tail)
Constructs a NameList.
Parameters:
n - the name to store at the head of the list
tail - the NameList to use as the tail of the list
Method Detail

JGen

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