AST
node type Opt<T extends ASTNode>

General Info

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

Description

Member Filters

API level:

Aspect:

Constructors

public Opt()
public Opt(T opt)

Methods

public Opt<T> clone()
                             throws java.lang.CloneNotSupportedException
Overrides:clone in class ASTNode<T extends ASTNode>
Throws:
java.lang.CloneNotSupportedException
public Opt<T> copy()
Overrides:copy in class ASTNode<T extends ASTNode>
public Opt<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 boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ASTNode<T extends ASTNode>
public void flushCache()
Overrides:flushCache in class ASTNode<T extends ASTNode>
public void flushCollectionCache()
Overrides:flushCollectionCache in class ASTNode<T extends ASTNode>
Overrides:rewriteTo in class ASTNode<T extends ASTNode>

Inherited Members