public static class Expression.MonadicOperator extends Expression.Operator
precedence, symbol| Constructor and Description |
|---|
MonadicOperator(String symbol,
int precedence)
Monodiac operator
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHigherThan(Expression.Operator op)
Check if this operator has higher precedence than
op |
toStringpublic MonadicOperator(String symbol, int precedence)
symbol - the source text or symbol of an operator. e.g =, ==, +, /, >, <, etcprecedence - the order of precedence where the expression is compiledpublic boolean isHigherThan(Expression.Operator op)
opop - the operatorCopyright © 2017. All rights reserved.