public class ArithmeticNode extends Object implements Expression
| Constructor and Description |
|---|
ArithmeticNode(ArithmeticOp operator,
Expression left,
Expression right) |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(Function context)
评估
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevalpublic ArithmeticNode(ArithmeticOp operator, Expression left, Expression right)
public Object eval(Function context)
Expressioneval in interface ExpressionCopyright © 2025. All rights reserved.