Package EDU.purdue.jtb.parser.syntaxtree
Interface INodeList
-
- All Superinterfaces:
INode
,java.io.Serializable
- All Known Implementing Classes:
NodeList
,NodeListOptional
,NodeSequence
public interface INodeList extends INode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNode(INode n)
Adds a node to the list.INode
elementAt(int i)
java.util.Iterator<INode>
elements()
int
size()
-
-
-
Method Detail
-
addNode
void addNode(INode n)
Adds a node to the list.- Parameters:
n
- - the node to add
-
elementAt
INode elementAt(int i)
- Parameters:
i
- - the element index- Returns:
- the element at the given index
-
elements
java.util.Iterator<INode> elements()
- Returns:
- the iterator on the node list
-
size
int size()
- Returns:
- the list size
-
-