public class FunctionOrMacroInvocationExpression extends Object implements Expression<Object>
| Constructor and Description |
|---|
FunctionOrMacroInvocationExpression(String functionName,
ArgumentsNode arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeVisitor visitor) |
Object |
evaluate(PebbleTemplateImpl self,
EvaluationContext context) |
ArgumentsNode |
getArguments() |
String |
getFunctionName() |
public FunctionOrMacroInvocationExpression(String functionName, ArgumentsNode arguments)
public Object evaluate(PebbleTemplateImpl self, EvaluationContext context) throws PebbleException
evaluate in interface Expression<Object>PebbleExceptionpublic void accept(NodeVisitor visitor)
public String getFunctionName()
public ArgumentsNode getArguments()
Copyright © 2015. All rights reserved.