Constructors
Properties
toJson
toJson: ((rules: Rule[]) => string) = Parser.toJson Type declaration
- (rules): string
Returns string
Methods
parseAtom
- parseAtom(jsonRuleset): Atom
Parameters
- jsonRuleset: Record<string, any>
parseCalculation
- parseCalculation(jsonRuleset): Calculation
Parameters
- jsonRuleset: Record<string, any>
parseComparison
- parseComparison(jsonRuleset): Comparison
Parameters
- jsonRuleset: Record<string, any>
parseDateCalculation
- parseDateCalculation(jsonRuleset): DateCalculation
Parameters
- jsonRuleset: Record<string, any>
parseFormula
- parseFormula(jsonRuleset): Formula
Parameters
- jsonRuleset: Record<string, any>
parseMacro
- parseMacro(jsonRuleset): Macro
Parameters
- jsonRuleset: Record<string, any>
parseOperator
- parseOperator(jsonRuleset): Operator
Parameters
- jsonRuleset: Record<string, any>
parsePlugin
- parsePlugin(jsonRuleset): Plugin
Parameters
- jsonRuleset: Record<string, any>
parseQuantifier
- parseQuantifier(jsonRuleset): Quantifier
Parameters
- jsonRuleset: Record<string, any>
parseRule
- parseRule(jsonRuleset): Rule
Parameters
- jsonRuleset: Record<string, any>
parseRuleSet
- parseRuleSet(jsonRuleset): Rule[]
Parameters
- jsonRuleset: Record<string, any>
Returns Rule[]
validateRuleSetJSON
- validateRuleSetJSON(json): validationResult
Parameters
- json: Record<string, any>
Returns validationResult
Static
toJson
- toJson(rules): string
Returns string
Class for all actions related to parsing