public class MacroAttributeProvider extends Object
| Constructor and Description |
|---|
MacroAttributeProvider(PebbleTemplateImpl template) |
| Modifier and Type | Method and Description |
|---|---|
Object |
macro(EvaluationContextImpl context,
String macroName,
ArgumentsNode args,
boolean ignoreOverriden,
int lineNumber)
Invokes a macro
|
public MacroAttributeProvider(PebbleTemplateImpl template)
public Object macro(EvaluationContextImpl context, String macroName, ArgumentsNode args, boolean ignoreOverriden, int lineNumber)
context - The evaluation contextmacroName - The name of the macroargs - The argumentsignoreOverriden - Whether or not to ignore macro definitions in child templateCopyright © 2019. All rights reserved.