java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.ExpressionEvaluator
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExpressionEvaluator
-
ExpressionEvaluator
-
ExpressionEvaluator
-
-
Method Details
-
eval
Evaluate expression with support for operator precedence and associativity- Parameters:
exp
- arithmetic expression.- Returns:
- result or evaluation
- Throws:
ExpressionEvaluatorException
- if expression is in invalid format.
-
eval
- Throws:
ExpressionEvaluatorException
-
calculate
- Throws:
ExpressionEvaluatorException
-