public class ASTVarNode extends SimpleNode
children, id, parent, parser| 构造器和说明 |
|---|
ASTVarNode(int id) |
ASTVarNode(Parser p,
int id) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
Returns the name of the variable.
|
Object |
jjtAccept(ParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setName(String varName_in)
Sets the name of the variable.
|
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 Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept 在接口中 NodejjtAccept 在类中 SimpleNodepublic void setName(String varName_in)
public String getName()
public String toString()
toString 在类中 SimpleNodeCopyright © 2023 onecode. All rights reserved.