AST
node type Opt<T extends ASTNode>

General Info

Production
Opt : ASTNode;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      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)
 

Attributes

syn boolean definesLabel()
Overrides:definesLabel in class ASTNode<T extends ASTNode>
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 946
Aspect
CreateBCode

Methods

public void flushCache()
Overrides:flushCache in class ASTNode<T extends ASTNode>
public void flushCollectionCache()
Overrides:flushCollectionCache in class ASTNode<T extends ASTNode>
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>
Overrides:rewriteTo in class ASTNode<T extends ASTNode>

Inherited Members

Attributes inherited from AST.ASTNode

Methods inherited from class 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 AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value