Package org.extendj.neobeaver.ast
Class ActionName
- java.lang.Object
-
- org.extendj.neobeaver.ast.ASTNode<ASTNode>
-
- org.extendj.neobeaver.ast.ActionName
-
- All Implemented Interfaces:
java.lang.Cloneable,Parser.Symbol
public class ActionName extends ASTNode<ASTNode> implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringtokenString_Name-
Fields inherited from class org.extendj.neobeaver.ast.ASTNode
children, generatedWithCacheCycle, numChildren, parent
-
-
Constructor Summary
Constructors Constructor Description ActionName()ActionName(java.lang.String p0)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ActionNameclone()ActionNamecopy()voidflushAttrCache()voidflushCollectionCache()ActionNamefullCopy()Deprecated.Please use treeCopy or treeCopyNoTransform insteadjava.lang.StringgetName()Retrieves the value for the lexeme Name.voidinit$Children()Initializes the child array to the correct size.protected booleanis$Equal(ASTNode node)protected intnumChildren()voidsetName(java.lang.String value)Replaces the lexeme Name.ActionNametreeCopy()Create a deep copy of the AST subtree at this node.ActionNametreeCopyNoTransform()Create a deep copy of the AST subtree at this node.-
Methods inherited from class org.extendj.neobeaver.ast.ASTNode
accept, addChild, astChildIterator, astChildren, doFullTraversal, flushAttrAndCollectionCache, flushCache, flushTreeCache, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, getPosition, insertChild, is$Equal, removeChild, resetState, rewrittenNode, setChild, setParent, setPosition, state
-
-
-
-
Constructor Detail
-
ActionName
public ActionName()
-
ActionName
@Constructor(name="Name", type="String", kind="Token") public ActionName(java.lang.String p0)
-
-
Method Detail
-
init$Children
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.- Overrides:
init$Childrenin classASTNode<ASTNode>
-
numChildren
protected int numChildren()
- Overrides:
numChildrenin classASTNode<ASTNode>
-
flushAttrCache
public void flushAttrCache()
- Overrides:
flushAttrCachein classASTNode<ASTNode>
-
flushCollectionCache
public void flushCollectionCache()
- Overrides:
flushCollectionCachein classASTNode<ASTNode>
-
clone
public ActionName clone() throws java.lang.CloneNotSupportedException
-
copy
public ActionName copy()
-
fullCopy
@Deprecated public ActionName fullCopy()
Deprecated.Please use treeCopy or treeCopyNoTransform insteadCreate a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
-
treeCopyNoTransform
public ActionName treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.- Overrides:
treeCopyNoTransformin classASTNode<ASTNode>- Returns:
- dangling copy of the subtree at this node
-
treeCopy
public ActionName treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
-
setName
public void setName(java.lang.String value)
Replaces the lexeme Name.- Parameters:
value- The new value for the lexeme Name.
-
-