coins.ast
Class DeclaratorList

java.lang.Object
  extended bycoins.ast.ASTree
      extended bycoins.ast.ASTList
          extended bycoins.ast.DeclaratorList
All Implemented Interfaces:
java.io.Serializable

public class DeclaratorList
extends ASTList

A linked list of Declarator objects.

See Also:
Serialized Form

Constructor Summary
DeclaratorList(Declarator d)
           
DeclaratorList(Declarator d, DeclaratorList rest)
           
 
Method Summary
 void accept(Visitor v)
          Is a method for the visitor pattern.
static DeclaratorList append(DeclaratorList list, Declarator d)
           
static DeclaratorList concat(DeclaratorList list, DeclaratorList list2)
           
 Declarator get()
           
protected  java.lang.String getTag()
          Returns the type of this node.
 DeclaratorList next()
           
protected  void putSeparator(java.lang.StringBuffer sbuf)
           
 
Methods inherited from class coins.ast.ASTList
append, concat, getLeft, getRight, head, rightToString, setHead, setLeft, setRight, setTail, subst, tail
 
Methods inherited from class coins.ast.ASTree
toString, toString1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeclaratorList

public DeclaratorList(Declarator d)

DeclaratorList

public DeclaratorList(Declarator d,
                      DeclaratorList rest)
Method Detail

accept

public void accept(Visitor v)
Description copied from class: ASTree
Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

Overrides:
accept in class ASTList

getTag

protected java.lang.String getTag()
Description copied from class: ASTree
Returns the type of this node. This method is used by toString().

Overrides:
getTag in class ASTList

get

public Declarator get()

next

public DeclaratorList next()

putSeparator

protected void putSeparator(java.lang.StringBuffer sbuf)
Overrides:
putSeparator in class ASTree

append

public static DeclaratorList append(DeclaratorList list,
                                    Declarator d)

concat

public static DeclaratorList concat(DeclaratorList list,
                                    DeclaratorList list2)