coins.ast
Class DeclaratorList
java.lang.Object
coins.ast.ASTree
coins.ast.ASTList
coins.ast.DeclaratorList
- All Implemented Interfaces:
- java.io.Serializable
- public class DeclaratorList
- extends ASTList
A linked list of Declarator objects.
- See Also:
- Serialized Form
| Methods inherited from class coins.ast.ASTList |
append, concat, getLeft, getRight, head, rightToString, setHead, setLeft, setRight, setTail, subst, tail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeclaratorList
public DeclaratorList(Declarator d)
DeclaratorList
public DeclaratorList(Declarator d,
DeclaratorList rest)
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)