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