org.extendj.ast
node type List<T extends ASTNode>

General Info

Production
List : ASTNode;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<T>
          extended by org.extendj.ast.List<T>
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<T>, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
BodyDeclList

Description

Member Filters

API level:

Aspect:

Constructors

public List()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public List(T... initialChildren)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 12

Methods

public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Default list pretty printing prints all list elements.
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 73
Aspect
PrettyPrintUtil
public List substitute(org.extendj.ast.Parameterization parTypeDecl)
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1165
Aspect
LookupParTypeDecl
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>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
public List<T> add(T node)
Source
Declared in /home/jesper/git/extendj/ASTNode at line 21
public List<T> addAll(java.util.Collection<? extends T> c)
Source
Declared in /home/jesper/git/extendj/ASTNode at line 26
public void insertChild(ASTNode node,
                        int i)
Overrides:insertChild in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 33
public void addChild(T node)
Overrides:addChild in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 40
public void removeChild(int i)
Overrides:removeChild in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 50
public int getNumChild()
Overrides:getNumChild in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 57
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 71
public void flushAttrCache()
Overrides:flushAttrCache in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 77
public void flushCollectionCache()
Overrides:flushCollectionCache in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 83
public void flushRewriteCache()
Overrides:flushRewriteCache in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 89
public List<T> clone()
                              throws java.lang.CloneNotSupportedException
Overrides:clone in class ASTNode<T extends ASTNode>
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 95
public List<T> copy()
Overrides:copy in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 102
@Deprecated
public List<T> fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

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
Source
Declared in /home/jesper/git/extendj/ASTNode at line 121
public List<T> treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:treeCopyNoTransform in class ASTNode<T extends ASTNode>
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 131
public List<T> treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Overrides:treeCopy in class ASTNode<T extends ASTNode>
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 151
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<T extends ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 158
Overrides:rewriteTo in class ASTNode<T extends ASTNode>

Inherited Members

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value