Interface INodeList

All Superinterfaces:
INode, Serializable
All Known Implementing Classes:
NodeList, NodeListOptional, NodeSequence

public interface INodeList extends INode
The interface which NodeList, NodeListOptional and NodeSequence must implement.
  • Field Summary

    Fields inherited from interface EDU.purdue.jtb.parser.syntaxtree.INode

    LS
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a node to the list.
    elementAt(int i)
     
     
    int
     

    Methods inherited from interface EDU.purdue.jtb.parser.syntaxtree.INode

    accept, accept
  • Method Details

    • 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

      Iterator<INode> elements()
      Returns:
      the iterator on the node list
    • size

      int size()
      Returns:
      the list size