public class ASTMath extends SimpleNode
| Constructor and Description |
|---|
ASTMath(int id) |
ASTMath(SyntaxTreeBuilder p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
MathOp |
getOperator() |
java.lang.Object |
jjtAccept(SyntaxTreeBuilderVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
setOperator(MathOp operator) |
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 ASTMath(int id)
public ASTMath(SyntaxTreeBuilder p, int id)
public java.lang.Object jjtAccept(SyntaxTreeBuilderVisitor visitor, java.lang.Object data) throws VisitorException
SimpleNodejjtAccept in interface NodejjtAccept in class SimpleNodeVisitorExceptionpublic MathOp getOperator()
public void setOperator(MathOp operator)
public java.lang.String toString()
SimpleNodetoString in class SimpleNodeCopyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence