Class MacroAttributeProvider


  • public class MacroAttributeProvider
    extends java.lang.Object
    • Constructor Detail

    • Method Detail

      • macro

        public java.lang.Object macro​(EvaluationContextImpl context,
                                      java.lang.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