public class ASTFunNode extends SimpleNode
children, id, parent, parser| 构造器和说明 |
|---|
ASTFunNode(int id)
Creates a new ASTFunNode
|
ASTFunNode(Parser p,
int id)
Creates a new ASTFunNode
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
Returns the name of the node (operator symbol or function name).
|
FunctionI |
getPFMC()
Returns the math command class associated with this node.
|
Object |
jjtAccept(ParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setFunction(String name_in,
FunctionI pfmc_in)
Sets the function for a node.
|
String |
toString()
Returns a string containing the function name.
|
childrenAccept, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toStringpublic ASTFunNode(int id)
public ASTFunNode(Parser p, int id)
public Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept 在接口中 NodejjtAccept 在类中 SimpleNodepublic void setFunction(String name_in, FunctionI pfmc_in)
public String toString()
toString 在类中 SimpleNodepublic FunctionI getPFMC()
public String getName()
Copyright © 2023 onecode. All rights reserved.