Object-oriented Parser System
v3.6

gl
Class Tree.Add

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

public static class Tree.Add
extends Gl.Tree.Add
implements Tree.Interpreter

tree node class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class Gl.Tree.Add
nodes, position
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
protected Tree.Add(int position, List args)
           
 
Method Summary
 int eval(Env env)
          execute this subtree, return value (if any).
 
Methods inherited from class Gl.Tree.Add
add, get, getPosition, remove, set, size, visit
 
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
 

Constructor Detail

Tree.Add

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

eval

public int eval(Env env)
Description copied from interface: Tree.Interpreter
execute this subtree, return value (if any).

Specified by:
eval in interface Tree.Interpreter


(c) 2008 Axel T. Schreiner