Class FunctionOrMacroInvocationExpression
java.lang.Object
io.pebbletemplates.pebble.node.expression.FunctionOrMacroInvocationExpression
- All Implemented Interfaces:
Expression<Object>,Node
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionOrMacroInvocationExpression(String functionName, ArgumentsNode arguments, int lineNumber) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(NodeVisitor visitor) evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) intReturns the line number on which the expression is defined on.toString()
-
Constructor Details
-
FunctionOrMacroInvocationExpression
public FunctionOrMacroInvocationExpression(String functionName, ArgumentsNode arguments, int lineNumber)
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceExpression<Object>
-
accept
-
getFunctionName
-
getArguments
-
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.
-
toString
-