com.lyncode.jtwig.tree.expressions
Class OperationUnary
java.lang.Object
com.lyncode.jtwig.tree.expressions.OperationUnary
- All Implemented Interfaces:
- Expression
public class OperationUnary
- extends Object
- implements Expression
OperationUnary
public OperationUnary(Operator operator)
getOperator
public Operator getOperator()
getOperand
public Object getOperand()
setOperand
public boolean setOperand(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.