public class ASTVar extends SimpleNode
| Constructor and Description |
|---|
ASTVar(int id) |
ASTVar(SyntaxTreeBuilder p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
boolean |
isAnonymous() |
java.lang.Object |
jjtAccept(SyntaxTreeBuilderVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
setAnonymous(boolean anonymous) |
void |
setName(java.lang.String name) |
java.lang.String |
toString()
You can override these two methods in subclasses of SimpleNode to customize the way the node appears when the tree is dumped.
|
childrenAccept, dump, getId, isScopeChange, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, jjtSetValue, setScopeChange, toStringpublic ASTVar(int id)
public ASTVar(SyntaxTreeBuilder p, int id)
public java.lang.Object jjtAccept(SyntaxTreeBuilderVisitor visitor, java.lang.Object data) throws VisitorException
SimpleNodejjtAccept in interface NodejjtAccept in class SimpleNodeVisitorExceptionpublic java.lang.String getName()
public void setName(java.lang.String name)
public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
public java.lang.String toString()
SimpleNodetoString in class SimpleNodeCopyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence