public class ASTVarNode extends SimpleNode
children, id, parent, parser| Constructor and Description |
|---|
ASTVarNode(int id) |
ASTVarNode(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the variable.
|
Variable |
getVar() |
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
setVar(Variable variable)
Sets the name of the variable.
|
java.lang.String |
toString()
Creates a string containing the variable's name and value
|
childrenAccept, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toStringpublic ASTVarNode(int id)
public ASTVarNode(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data) throws ParseException
jjtAccept in interface NodejjtAccept in class SimpleNodeParseExceptionpublic void setVar(Variable variable)
public Variable getVar()
public java.lang.String getName()
public java.lang.String toString()
toString in class SimpleNodehttp://www.singularsys.com/jep Copyright © 2007 Singular Systems