Language Processing
v2.0

vig
Class Parser.Tree.Lt

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

public static class Parser.Tree.Lt
extends AbstractList
implements Serializable, Parser.Tree.Visit

tree node class.

See Also:
Serialized Form

Field Summary
protected  Object[] nodes
          mutable body.
protected  int position
          associated input position.
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
protected Parser.Tree.Lt(int position, List args)
           
 
Method Summary
 void add(int index, Object element)
           
 Object get(int n)
           
 int getPosition()
           
 Object remove(int index)
           
 Object set(int index, Object element)
           
 int size()
           
 Object visit(Parser.Tree.Visitor visitor)
          receive a visitor.
 
Methods inherited from class AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, 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

protected final int position
associated input position.


nodes

protected Object[] nodes
mutable body.

Constructor Detail

Parser.Tree.Lt

protected Parser.Tree.Lt(int position,
                         List args)
Method Detail

visit

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

Specified by:
visit in interface Parser.Tree.Visit

getPosition

public int getPosition()

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

set

public Object set(int index,
                  Object element)
Specified by:
set in interface List
Overrides:
set in class AbstractList

add

public void add(int index,
                Object element)
Specified by:
add in interface List
Overrides:
add in class AbstractList

remove

public Object remove(int index)
Specified by:
remove in interface List
Overrides:
remove in class AbstractList


(c) 2008 Axel T. Schreiner