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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArgumentsNode
private final String
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionFilterInvocationExpression
(String filterName, ArgumentsNode args, int lineNumber) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(NodeVisitor visitor) evaluate
(PebbleTemplateImpl self, EvaluationContextImpl context) getArgs()
int
Returns the line number on which the expression is defined on.
-
Field Details
-
filterName
-
args
-
lineNumber
private final int lineNumber
-
-
Constructor Details
-
FilterInvocationExpression
-
-
Method Details
-
evaluate
- Specified by:
evaluate
in interfaceExpression<Object>
-
accept
-
getArgs
-
getFilterName
-
getLineNumber
public int getLineNumber()Description copied from interface:Expression
Returns the line number on which the expression is defined on.- Specified by:
getLineNumber
in interfaceExpression<Object>
- Returns:
- the line number on which the expression is defined on.
-