xv
Class Parser.yyTree.Ref
Object
AbstractCollection<E>
AbstractList
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
| Methods inherited from class AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
position
public final int position
- associated input position.
nodes
protected final Object[] nodes
- immutable body.
Parser.yyTree.Ref
protected Parser.yyTree.Ref(int position,
List args)
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