Class RuleEngine

RuleEngine

Class Summary
Constructor Attributes Constructor Name and Description
 
A Class Responsible for Complete Parsing Process of the Expressions

Method Summary

Class Detail

RuleEngine()
A Class Responsible for Complete Parsing Process of the Expressions
require('RuleEngine')

Method Detail

  • <static> {Void} RuleEngine.runRules(programs, showError)
    The function will run the designed rules for the programs generated through the Jison parser.
    Parameters:
    programs
    [] An Array of Parsed Expression Objects.
    showError
    {Boolean} If show error is true then it will call a modal popup and will project the error in the UI.
    Returns:
    {Void}