Object-oriented Parser System
v3.6

oops3
Class Parser.AndList

Object
  extended by AbstractCollection<E>
      extended by AbstractList<Parser.Node>
          extended by Parser.Node
              extended by Parser.Group
                  extended by Parser.Xor
                      extended by Parser.Permute
                          extended by Parser.PermutedList
                              extended by Parser.AndList
All Implemented Interfaces:
Serializable, Iterable<Parser.Node>, Collection<Parser.Node>, List<Parser.Node>
Enclosing class:
Parser

public class Parser.AndList
extends Parser.PermutedList

represents a complete, unordered, delimited selection among two or more Nodes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class Parser.PermutedList
delimiter
 
Fields inherited from class Parser.Permute
max, min
 
Fields inherited from class Parser.Group
nodes
 
Fields inherited from class Parser.Node
lookahead, position
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
protected Parser.AndList(int position, int lookahead, Parser.Node delimiter, Parser.Node... cases)
           
 
Method Summary
 Object visit(Visitor visitor)
          implements divide and conquer for Visitor.
 
Methods inherited from class Parser.PermutedList
getDelimiter
 
Methods inherited from class Parser.Group
get, size
 
Methods inherited from class Parser.Node
getLookahead, getPosition
 
Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

Parser.AndList

protected Parser.AndList(int position,
                         int lookahead,
                         Parser.Node delimiter,
                         Parser.Node... cases)
Method Detail

visit

public Object visit(Visitor visitor)
Description copied from class: Parser.Node
implements divide and conquer for Visitor. Body must be return visitor.visit(this);.

Overrides:
visit in class Parser.Xor


(c) 2008 Axel T. Schreiner