public class Evaluator extends Object
| Constructor and Description |
|---|
Evaluator() |
| Modifier and Type | Method and Description |
|---|---|
static int |
evaluate(AST expression) |
static int |
evaluate(int left,
Operator operator,
int right) |
public static int evaluate(int left,
Operator operator,
int right)
throws EvaluatorException
EvaluatorExceptionpublic static int evaluate(AST expression) throws EvaluatorException
EvaluatorException