public class Opt<T extends ASTNode> extends ASTNode<T> implements java.lang.Cloneable
children, generatedWithCacheCycle, numChildren, parent| Modifier and Type | Method and Description |
|---|---|
Opt<T> |
clone() |
Opt<T> |
copy() |
void |
flushAttrCache() |
void |
flushCollectionCache() |
Opt<T> |
fullCopy()
Deprecated.
Please use treeCopy or treeCopyNoTransform instead
|
void |
init$Children()
Initializes the child array to the correct size.
|
protected boolean |
is$Equal(ASTNode node) |
Opt<T> |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
Opt<T> |
treeCopyNoTransform()
Create a deep copy of the AST subtree at this node.
|
accept, addChild, astChildIterator, astChildren, doFullTraversal, flushAttrAndCollectionCache, flushCache, flushTreeCache, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, getPosition, insertChild, is$Equal, numChildren, removeChild, resetState, rewrittenNode, setChild, setParent, setPosition, statepublic Opt()
public Opt(T opt)
public void init$Children()
init$Children in class ASTNode<T extends ASTNode>public void flushAttrCache()
flushAttrCache in class ASTNode<T extends ASTNode>public void flushCollectionCache()
flushCollectionCache in class ASTNode<T extends ASTNode>@Deprecated public Opt<T> fullCopy()
public Opt<T> treeCopyNoTransform()
treeCopyNoTransform in class ASTNode<T extends ASTNode>public Opt<T> treeCopy()