Class FilterInvocationExpression
java.lang.Object
io.pebbletemplates.pebble.node.expression.FilterInvocationExpression
- All Implemented Interfaces:
Expression<Object>,Node
The right hand side to the filter expression.
- Author:
- Mitchell
-
Constructor Summary
ConstructorsConstructorDescriptionFilterInvocationExpression(String filterName, ArgumentsNode args, int lineNumber) -
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
-
FilterInvocationExpression
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceExpression<Object>
-
accept
-
getArgs
-
getFilterName
-
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.
-