Class AstMacroFunction

  • All Implemented Interfaces:
    de.odysseus.el.tree.ExpressionNode, de.odysseus.el.tree.FunctionNode, de.odysseus.el.tree.Node
    Direct Known Subclasses:
    EagerAstMacroFunction

    public class AstMacroFunction
    extends de.odysseus.el.tree.impl.ast.AstFunction
    • Constructor Summary

      Constructors 
      Constructor Description
      AstMacroFunction​(String name, int index, de.odysseus.el.tree.impl.ast.AstParameters params, boolean varargs)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkAndPushMacroStack​(JinjavaInterpreter interpreter, String name)  
      Object eval​(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context)  
      • Methods inherited from class de.odysseus.el.tree.impl.ast.AstFunction

        appendStructure, getCardinality, getChild, getIndex, getName, getParam, getParamCount, invoke, isVarArgs, toString
      • Methods inherited from class de.odysseus.el.tree.impl.ast.AstRightValue

        getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
      • Methods inherited from class de.odysseus.el.tree.impl.ast.AstNode

        findAccessibleMethod, getStructuralId, getValue
    • Constructor Detail

      • AstMacroFunction

        public AstMacroFunction​(String name,
                                int index,
                                de.odysseus.el.tree.impl.ast.AstParameters params,
                                boolean varargs)
    • Method Detail

      • eval

        public Object eval​(de.odysseus.el.tree.Bindings bindings,
                           javax.el.ELContext context)
        Overrides:
        eval in class de.odysseus.el.tree.impl.ast.AstFunction
      • checkAndPushMacroStack

        public static boolean checkAndPushMacroStack​(JinjavaInterpreter interpreter,
                                                     String name)