Class MacroAttributeProvider

java.lang.Object
io.pebbletemplates.pebble.template.MacroAttributeProvider

public class MacroAttributeProvider extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • macro

      public Object macro(EvaluationContextImpl context, String macroName, ArgumentsNode args, boolean ignoreOverriden, int lineNumber)
      Invokes a macro
      Parameters:
      context - The evaluation context
      macroName - The name of the macro
      args - The arguments
      ignoreOverriden - Whether or not to ignore macro definitions in child template
      Returns:
      The results of the macro invocation