static class ExpressionNode.NotExpressionNode extends ExpressionNode
!$a
.ExpressionNode.BinaryExpressionNode, ExpressionNode.NotExpressionNode
Modifier and Type | Field and Description |
---|---|
private ExpressionNode |
expr |
lineNumber
Constructor and Description |
---|
NotExpressionNode(ExpressionNode expr) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Object |
evaluate(EvaluationContext context)
Returns the result of evaluating this node in the given context.
|
intValue, isDefinedAndTrue, isTrue
cons, emptyNode, evaluationException, evaluationException
private final ExpressionNode expr
NotExpressionNode(ExpressionNode expr)
java.lang.Object evaluate(EvaluationContext context)
Node
2 + 3
to 5 in order to set
$x
to 5 in #set ($x = 2 + 3)
. Or it may be used directly as part of the
template output, for example evaluating replacing name
by Fred
in
My name is $name.
.