bcg
Class Parser.yyTree.And

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by bcg.Parser.yyTree.And
All Implemented Interfaces:
Parser.yyTree.Visit, java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List
Enclosing class:
Parser.yyTree

public static class Parser.yyTree.And
extends java.util.AbstractList
implements java.io.Serializable, Parser.yyTree.Visit

tree node class.

See Also:
Serialized Form

Field Summary
protected  java.lang.Object[] nodes
          immutable body.
 int position
          associated input position.
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected Parser.yyTree.And(int position, java.util.List args)
           
 
Method Summary
 java.lang.Object get(int n)
           
 int size()
           
 java.lang.Object visit(Parser.yyTree.Visitor visitor)
          receive a visitor.
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

position

public final int position
associated input position.


nodes

protected final java.lang.Object[] nodes
immutable body.

Constructor Detail

Parser.yyTree.And

protected Parser.yyTree.And(int position,
                            java.util.List args)
Method Detail

visit

public java.lang.Object visit(Parser.yyTree.Visitor visitor)
Description copied from interface: Parser.yyTree.Visit
receive a visitor.

Specified by:
visit in interface Parser.yyTree.Visit

size

public int size()
Specified by:
size in interface java.util.Collection
Specified by:
size in interface java.util.List
Specified by:
size in class java.util.AbstractCollection

get

public java.lang.Object get(int n)
Specified by:
get in interface java.util.List
Specified by:
get in class java.util.AbstractList


Written by Brian Gernhardt for Compiler Construction at RIT, Winter 2010