- java.lang.Object
-
- org.datanucleus.store.query.expression.Expression.Operator
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Expression.DyadicOperator
,Expression.MonadicOperator
- Enclosing class:
- Expression
public static class Expression.Operator extends Object implements Serializable
Representation of an Operator.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
precedence
protected String
symbol
-
-
-
Field Detail
-
symbol
protected final String symbol
-
precedence
protected final int precedence
-
-
Constructor Detail
-
Operator
public Operator(String symbol, int precedence)
Operator- Parameters:
symbol
- the source text or symbol of an operator. e.g =, ==, +, /, >, <, etcprecedence
- the order of precedence where the expression is compiled
-
-