Class MacroAttributeProvider
java.lang.Object
io.pebbletemplates.pebble.template.MacroAttributeProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmacro(EvaluationContextImpl context, String macroName, ArgumentsNode args, boolean ignoreOverriden, int lineNumber) Invokes a macro
-
Constructor Details
-
MacroAttributeProvider
-
-
Method Details
-
macro
public Object macro(EvaluationContextImpl context, String macroName, ArgumentsNode args, boolean ignoreOverriden, int lineNumber) Invokes a macro- Parameters:
context- The evaluation contextmacroName- The name of the macroargs- The argumentsignoreOverriden- Whether or not to ignore macro definitions in child template- Returns:
- The results of the macro invocation
-