Package org.drools.drl.parser
Interface DrlExprParser
- All Known Implementing Classes:
Drl10ExprParser,Drl6ExprParser
public interface DrlExprParser
This is a helper class that provides helper methods to parse expressions
using both the DRLExpressions parser and the DRLExprTree parser.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanParse an expression from text
-
Method Details
-
parse
Parse an expression from text -
getLeftMostExpr
String getLeftMostExpr() -
hasErrors
boolean hasErrors()- Returns:
- true if there were parser errors.
-
getErrors
List<DroolsParserException> getErrors()- Returns:
- a list of errors found while parsing.
-