Class ELParserHarness
java.lang.Object
com.inductiveautomation.ignition.common.expressions.parsing.ELParserHarness
- All Implemented Interfaces:
Parser
Implements parser interface, since as far as I can tell there's no way to do that in the CUP
parser file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(String expr, ExpressionParseContext binder) Parse the given string into anExpression.
-
Constructor Details
-
ELParserHarness
public ELParserHarness()
-
-
Method Details
-
parse
Description copied from interface:ParserParse the given string into anExpression.- Specified by:
parsein interfaceParser- Parameters:
expr- the expression string to parsebinder- theExpressionParseContextto use during parsing- Returns:
- the parsed
Expression - Throws:
Exception- if the expression cannot be parsed
-