public class Type extends ASTNode<ASTNode> implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tokenString_Name |
children, generatedWithCacheCycle, numChildren, parent| Modifier and Type | Method and Description |
|---|---|
Type |
clone() |
Type |
copy() |
void |
flushAttrCache() |
void |
flushCollectionCache() |
Type |
fullCopy()
Deprecated.
Please use treeCopy or treeCopyNoTransform instead
|
java.lang.String |
getName()
Retrieves the value for the lexeme Name.
|
void |
init$Children()
Initializes the child array to the correct size.
|
protected boolean |
is$Equal(ASTNode node) |
protected int |
numChildren() |
void |
setName(java.lang.String value)
Replaces the lexeme Name.
|
Type |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
Type |
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, removeChild, resetState, rewrittenNode, setChild, setParent, setPosition, statepublic Type()
@ASTNodeAnnotation.Constructor(name="Name", type="String", kind="Token") public Type(java.lang.String p0)
public void init$Children()
init$Children in class ASTNode<ASTNode>protected int numChildren()
numChildren in class ASTNode<ASTNode>public void flushAttrCache()
flushAttrCache in class ASTNode<ASTNode>public void flushCollectionCache()
flushCollectionCache in class ASTNode<ASTNode>public Type clone() throws java.lang.CloneNotSupportedException
@Deprecated public Type fullCopy()
public Type treeCopyNoTransform()
treeCopyNoTransform in class ASTNode<ASTNode>public Type treeCopy()
public void setName(java.lang.String value)
value - The new value for the lexeme Name.@ASTNodeAnnotation.Token(name="Name") public java.lang.String getName()