AST
node type List<T extends ASTNode>

General Info

Production
List : ASTNode;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<T>
          extended by AST.List<T>
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<T>

Description

Member Filters

API level:

Aspect:

Constructors

public List()
public List(T... initialChildren)

Methods

public List<T> clone()
                              throws java.lang.CloneNotSupportedException
Overrides:clone in class ASTNode<T extends ASTNode>
Throws:
java.lang.CloneNotSupportedException
public List<T> copy()
Overrides:copy in class ASTNode<T extends ASTNode>
public List<T> fullCopy()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<T extends ASTNode>
Returns:
dangling copy of the subtree at this node
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ASTNode<T extends ASTNode>
public List<T> add(T node)
public List<T> addAll(java.util.Collection<? extends T> c)
public void insertChild(ASTNode node,
                        int i)
public void addChild(T node)
public void removeChild(int i)
Overrides:removeChild in class ASTNode<T extends ASTNode>
public int getNumChild()
public void flushCache()
Overrides:flushCache in class ASTNode<T extends ASTNode>
public void flushCollectionCache()
Overrides:flushCollectionCache in class ASTNode<T extends ASTNode>

Inherited Members