Class InstantiateExpression

    • Constructor Detail

      • InstantiateExpression

        public InstantiateExpression​(VariableDeclaration project,
                                     IVersionRestriction restriction,
                                     java.lang.String name,
                                     CallArgument... arguments)
                              throws VilException
        Creates an instantiate expression.
        Parameters:
        project - the project variable
        restriction - optional version restrictions (may be null)
        name - the optional name of the rule to be executed (may be null and points then to the main rule)
        arguments - the rule call arguments
        Throws:
        VilException - in case that the expression cannot be resolved
      • InstantiateExpression

        public InstantiateExpression​(java.lang.String name,
                                     CallArgument... arguments)
                              throws VilException
        Creates an instantiate expression.
        Parameters:
        name - the (qualified) name of the rule to be called
        arguments - the rule call arguments
        Throws:
        VilException - in case that the expression cannot be resolved