public static class Expression.Operator extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
precedence |
protected String |
symbol |
protected final String symbol
protected final int precedence
public Operator(String symbol, int precedence)
symbol
- the source text or symbol of an operator. e.g =, ==, +, /, >, <, etcprecedence
- the order of precedence where the expression is compiledCopyright © 2019. All rights reserved.