Package io.pebbletemplates.pebble.node
Class TestInvocationExpression
java.lang.Object
io.pebbletemplates.pebble.node.TestInvocationExpression
- All Implemented Interfaces:
Expression<Object>,Node
The right hand side to the test expression.
- Author:
- Mitchell
-
Constructor Summary
ConstructorsConstructorDescriptionTestInvocationExpression(int lineNumber, String testName, ArgumentsNode args) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(NodeVisitor visitor) evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) getArgs()intReturns the line number on which the expression is defined on.
-
Constructor Details
-
TestInvocationExpression
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceExpression<Object>
-
accept
-
getArgs
-
getTestName
-
getLineNumber
public int getLineNumber()Description copied from interface:ExpressionReturns the line number on which the expression is defined on.- Specified by:
getLineNumberin interfaceExpression<Object>- Returns:
- the line number on which the expression is defined on.
-