Interface RuleCompilerContextFactory<T extends RuleCompilerContext>

    • Method Detail

      • createContext

        T createContext​(RuleCompilationContext ruleCompilationContext,
                        AbstractRuleModel rule,
                        java.lang.String moduleName,
                        RuleIrVariablesGenerator variablesGenerator)
        Creates a new compiler context and sets it as the current one.
        Parameters:
        ruleCompilationContext - - instance of RuleCompilationContext
        rule - - the rule to compile
        moduleName - - the rules module name
        variablesGenerator - - the variables generator
        Returns:
        the new context