Class ArgumentsNode

  • All Implemented Interfaces:
    Node

    public class ArgumentsNode
    extends java.lang.Object
    implements Node
    • Method Detail

      • getArgumentMap

        public java.util.Map<java.lang.String,​java.lang.Object> getArgumentMap​(PebbleTemplateImpl self,
                                                                                     EvaluationContextImpl context,
                                                                                     NamedArguments invocableWithNamedArguments)
        Using hints from the filter/function/test/macro it will convert an ArgumentMap (which holds both positional and named arguments) into a regular Map that the filter/function/test/macro is expecting.
        Parameters:
        self - The template implementation
        context - The evaluation context
        invocableWithNamedArguments - The named arguments object
        Returns:
        Returns a map representaion of the arguments
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object