public class Goal extends GDecl 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 |
|---|---|
void |
accept(GVisitor vis) |
Goal |
clone() |
Goal |
copy() |
void |
flushAttrCache() |
void |
flushCollectionCache() |
Goal |
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.
|
Goal |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
Goal |
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 Goal()
@ASTNodeAnnotation.Constructor(name="Name", type="String", kind="Token") public Goal(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 Goal clone() throws java.lang.CloneNotSupportedException
@Deprecated public Goal fullCopy()
public Goal treeCopyNoTransform()
treeCopyNoTransform in class GDeclpublic Goal 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()