public class FunctionOrMacroInvocationExpression extends Object implements Expression<Object>
| Constructor and Description |
|---|
FunctionOrMacroInvocationExpression(String functionName,
ArgumentsNode arguments,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeVisitor visitor) |
Object |
evaluate(PebbleTemplateImpl self,
EvaluationContextImpl context) |
ArgumentsNode |
getArguments() |
String |
getFunctionName() |
int |
getLineNumber()
Returns the line number on which the expression is defined on.
|
String |
toString() |
public FunctionOrMacroInvocationExpression(String functionName, ArgumentsNode arguments, int lineNumber)
public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context)
evaluate in interface Expression<Object>public void accept(NodeVisitor visitor)
public String getFunctionName()
public ArgumentsNode getArguments()
public int getLineNumber()
ExpressiongetLineNumber in interface Expression<Object>Copyright © 2020. All rights reserved.