minijava.syntaxtree
Interface NodeListInterface
- All Superinterfaces:
- Node, java.io.Serializable
- All Known Implementing Classes:
- NodeList, NodeListOptional, NodeSequence
public interface NodeListInterface
- extends Node
The interface which NodeList, NodeListOptional, and NodeSequence
implement.
addNode
void addNode(Node n)
elementAt
Node elementAt(int i)
elements
java.util.Enumeration<Node> elements()
size
int size()
accept
void accept(Visitor v)
- Specified by:
accept
in interface Node
accept
<R,A> R accept(GJVisitor<R,A> v,
A argu)
- Specified by:
accept
in interface Node
accept
<R> R accept(GJNoArguVisitor<R> v)
- Specified by:
accept
in interface Node
accept
<A> void accept(GJVoidVisitor<A> v,
A argu)
- Specified by:
accept
in interface Node