public class ClassDecl extends GDecl implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tokenString_Name |
children, generatedWithCacheCycle, numChildren, parent| Constructor and Description |
|---|
ClassDecl() |
ClassDecl(java.lang.String p0) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GVisitor vis) |
ClassDecl |
clone() |
ClassDecl |
copy() |
void |
flushAttrCache() |
void |
flushCollectionCache() |
ClassDecl |
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.
|
ClassDecl |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
ClassDecl |
treeCopyNoTransform()
Create a deep copy of the AST subtree at this node.
|
addChild, astChildIterator, astChildren, doFullTraversal, flushAttrAndCollectionCache, flushCache, flushTreeCache, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, getPosition, insertChild, is$Equal, removeChild, resetState, rewrittenNode, setChild, setParent, setPosition, statepublic ClassDecl()
@ASTNodeAnnotation.Constructor(name="Name", type="String", kind="Token") public ClassDecl(java.lang.String p0)
public void init$Children()
init$Children in class GDeclprotected int numChildren()
numChildren in class GDeclpublic void flushAttrCache()
flushAttrCache in class GDeclpublic void flushCollectionCache()
flushCollectionCache in class GDeclpublic ClassDecl clone() throws java.lang.CloneNotSupportedException
@Deprecated public ClassDecl fullCopy()
public ClassDecl treeCopyNoTransform()
treeCopyNoTransform in class GDeclpublic ClassDecl 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()