com.lyncode.jtwig.tree.expressions
Class OperationBinary
java.lang.Object
com.lyncode.jtwig.tree.expressions.OperationBinary
- All Implemented Interfaces:
- Expression
public class OperationBinary
- extends Object
- implements Expression
OperationBinary
public OperationBinary(Expression operand)
getOperands
public ValueList getOperands()
getOperators
public List<Operator> getOperators()
addOperator
public boolean addOperator(Operator operator)
add
public boolean add(Expression operand)
toString
public String toString()
- Overrides:
toString in class Object
calculate
public Object calculate(JtwigContext context)
throws CalculateException
- Specified by:
calculate in interface Expression
- Throws:
CalculateException
Copyright © 2014. All Rights Reserved.