Package org.drools.drl.parser
Class DrlExprParser
java.lang.Object
org.drools.drl.parser.DrlExprParser
This is a helper class that provides helper methods to parse expressions
using both the DRLExpressions parser and the DRLExprTree parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanParse an expression from text
-
Constructor Details
-
DrlExprParser
-
-
Method Details
-
parse
Parse an expression from text -
getLeftMostExpr
-
hasErrors
public boolean hasErrors()- Returns:
- true if there were parser errors.
-
getErrors
- Returns:
- a list of errors found while parsing.
-