absynt
Class VardecList

java.lang.Object
  |
  +--absynt.Absyn
        |
        +--absynt.VardecList

public class VardecList
extends Absyn
implements java.util.Enumeration

Liste fuer Variablen-Deklarationen. Zum standesgemaessen Iterieren implementiert die Klasse das entsprechende Interface. (In Java.1.2 wird Iterator dem Enumeration-Interface vorgezogen. Aber Loeschen in der Liste brauchen wir vermutlich nicht.

Version:
$Id: VardecList.java,v 1.5 2000/07/17 13:02:47 unix01 Exp $
Author:
Initially provided by Martin Steffen.
See Also:
Serialized Form

Field Summary
 Vardec head
           
 VardecList next
           
 
Fields inherited from class absynt.Absyn
location
 
Constructor Summary
VardecList(Vardec d, VardecList dl)
          Ein Konstruktor mit Location ist ueberfluessig.
 
Method Summary
 java.lang.Object clone()
           
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

public VardecList next

head

public Vardec head
Constructor Detail

VardecList

public VardecList(Vardec d,
                  VardecList dl)
Ein Konstruktor mit Location ist ueberfluessig.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object