Class TemplateCallExpression

    • Constructor Detail

      • TemplateCallExpression

        TemplateCallExpression()
        Constructor for serialization.
      • TemplateCallExpression

        public TemplateCallExpression​(Template template,
                                      boolean isSuper,
                                      java.lang.String name,
                                      CallArgument... arguments)
                               throws VilException
        Creates a new template call expression.
        Parameters:
        template - the actual script to resolve the call on
        isSuper - this is a super call
        name - the name of the template
        arguments - the actual arguments
        Throws:
        VilException - in case of an erroneously qualified name
      • TemplateCallExpression

        TemplateCallExpression​(Template template,
                               Def def,
                               CallArgument... arguments)
                        throws VilException
        Creates a new template call expression for a known operation.
        Parameters:
        template - the actual template to containing def
        def - the resolved sub-template
        arguments - the actual arguments
        Throws:
        VilException - in case of an erroneously qualified name