public abstract class ExpressionOperator
extends com.fathzer.soft.javaluator.Operator
Constructor and Description |
---|
ExpressionOperator(String symbol,
int operandCount,
com.fathzer.soft.javaluator.Operator.Associativity associativity,
int precedence) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
evaluate(Iterator<Object> operands,
ExpressionVariables variables)
Evaluates the operator
|
ParameterInfo |
getParameterInfo(int index)
Returns info about the parameter at index (left to right)
|
public ExpressionOperator(String symbol, int operandCount, com.fathzer.soft.javaluator.Operator.Associativity associativity, int precedence)
public abstract Object evaluate(Iterator<Object> operands, ExpressionVariables variables)
operands
- the operands (contains booleans)variables
- the evaluation contextpublic ParameterInfo getParameterInfo(int index)
index
- the parameter indexCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.