public class ElementAccessOperator extends ExpressionOperator
Constructor and Description |
---|
ElementAccessOperator(String symbol) |
Modifier and Type | Method and Description |
---|---|
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 ElementAccessOperator(String symbol)
public ParameterInfo getParameterInfo(int index)
ExpressionOperator
getParameterInfo
in class ExpressionOperator
index
- the parameter indexpublic Object evaluate(Iterator<Object> operands, ExpressionVariables variables)
ExpressionOperator
evaluate
in class ExpressionOperator
operands
- the operands (contains booleans)variables
- the evaluation contextCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.