Language Processing
v2.0

xv
Class Parser.yyTree.Ref

Object
  extended by AbstractCollection<E>
      extended by AbstractList
          extended by Parser.yyTree.Ref
All Implemented Interfaces:
Serializable, Iterable, Collection, List, Parser.yyTree.Visit
Enclosing class:
Parser.yyTree

public static class Parser.yyTree.Ref
extends AbstractList
implements Serializable, Parser.yyTree.Visit

tree node class.

See Also:
Serialized Form

Field Summary
protected  Object[] nodes
          immutable body.
 int position
          associated input position.
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
protected Parser.yyTree.Ref(int position, List args)
           
 
Method Summary
 Object get(int n)
           
 int size()
           
 Object visit(Parser.yyTree.Visitor visitor)
          receive a visitor.
 
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
 

Field Detail

position

public final int position
associated input position.


nodes

protected final Object[] nodes
immutable body.

Constructor Detail

Parser.yyTree.Ref

protected Parser.yyTree.Ref(int position,
                            List args)
Method Detail

visit

public 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 Collection
Specified by:
size in interface List
Specified by:
size in class AbstractCollection

get

public Object get(int n)
Specified by:
get in interface List
Specified by:
get in class AbstractList


(c) 2008 Axel T. Schreiner