Package jtb.cparser.syntaxtree
Class NodeList
- Object
-
- NodeList
-
- All Implemented Interfaces:
Serializable
,Node
,NodeListInterface
public class NodeList extends Object implements NodeListInterface
Represents a grammar list, e.g. ( A )+- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
void
addNode(Node n)
Node
elementAt(int i)
Enumeration<Node>
elements()
int
size()
-
-
-
Method Detail
-
addNode
public void addNode(Node n)
- Specified by:
addNode
in interfaceNodeListInterface
-
elements
public Enumeration<Node> elements()
- Specified by:
elements
in interfaceNodeListInterface
-
elementAt
public Node elementAt(int i)
- Specified by:
elementAt
in interfaceNodeListInterface
-
size
public int size()
- Specified by:
size
in interfaceNodeListInterface
-
-