Package org.apache.felix.gogo.runtime
Class Expression.Operator
java.lang.Object
org.apache.felix.gogo.runtime.Expression.Operator
- Direct Known Subclasses:
 Expression.Assignment,Expression.Comparator
- Enclosing class:
 Expression
Abstract definition of a supported operator. An operator is defined by
 its name (pattern), precedence and if it is left- or right associative.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract BigDecimaleval(BigDecimal v1, BigDecimal v2) Implementation for this operator.getOper()intbooleantoString() 
- 
Constructor Details
- 
Operator
Creates a new operator.- Parameters:
 oper- The operator name (pattern).precedence- The operators precedence.leftAssoc-trueif the operator is left associative, elsefalse.
 
 - 
 - 
Method Details