public class TypeOf extends GDecl implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tokenString_Name |
protected java.lang.String |
tokenString_Type |
children, generatedWithCacheCycle, numChildren, parent| Constructor and Description |
|---|
TypeOf() |
TypeOf(java.lang.String p0,
java.lang.String p1) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GVisitor vis) |
TypeOf |
clone() |
TypeOf |
copy() |
void |
flushAttrCache() |
void |
flushCollectionCache() |
TypeOf |
fullCopy()
Deprecated.
Please use treeCopy or treeCopyNoTransform instead
|
java.lang.String |
getName()
Retrieves the value for the lexeme Name.
|
java.lang.String |
getType()
Retrieves the value for the lexeme Type.
|
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.
|
void |
setType(java.lang.String value)
Replaces the lexeme Type.
|
TypeOf |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
TypeOf |
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, stateprotected java.lang.String tokenString_Name
protected java.lang.String tokenString_Type
public TypeOf()
@ASTNodeAnnotation.Constructor(name={"Name","Type"}, type={"String","String"}, kind={"Token","Token"}) public TypeOf(java.lang.String p0, java.lang.String p1)
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 TypeOf clone() throws java.lang.CloneNotSupportedException
@Deprecated public TypeOf fullCopy()
public TypeOf treeCopyNoTransform()
treeCopyNoTransform in class GDeclpublic TypeOf 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()
public void setType(java.lang.String value)
value - The new value for the lexeme Type.@ASTNodeAnnotation.Token(name="Type") public java.lang.String getType()