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)
评估
|
protected Number |
getNumber(String value,
Number defaultValue) |
protected Object |
getOptimizeValue(Object val,
Object ref)
获取优化值
|
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.