absynt
Class DeclarationList

java.lang.Object
  |
  +--absynt.Absynt
        |
        +--absynt.DeclarationList
All Implemented Interfaces:
java.util.Enumeration, java.io.Serializable

public class DeclarationList
extends Absynt
implements java.util.Enumeration, java.io.Serializable

A list implementation of a set of declarations. To iterate through the list, the steps adhere to the ``Enumaration''-interface

Version:
$Id: DeclarationList.java,v 1.2 2001/05/22 06:12:31 swprakt Exp $
Author:
Initially provided by Karsten Stahl.
See Also:
Serialized Form

Field Summary
 Declaration head
           
 DeclarationList next
           
 
Fields inherited from class absynt.Absynt
pos
 
Constructor Summary
DeclarationList(Declaration d, DeclarationList dl)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

head

public Declaration head

next

public DeclarationList next
Constructor Detail

DeclarationList

public DeclarationList(Declaration d,
                       DeclarationList dl)
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