Class ExpressionParser
- java.lang.Object
-
- org.jbpm.designer.expressioneditor.parser.ExpressionParser
-
public class ExpressionParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
BLANK_AFTER_RETURN_EXPECTED_ERROR
static String
FUNCTION_CALL_NOT_CLOSED_PROPERLY_ERROR
static String
FUNCTION_CALL_NOT_FOUND_ERROR
static String
FUNCTION_NAME_NOT_RECOGNIZED_ERROR
static String
KIE_FUNCTIONS
static String
PARAMETER_DELIMITER_EXPECTED_ERROR
static String
RETURN_SENTENCE_EXPECTED_ERROR
static String
SENTENCE_NOT_CLOSED_PROPERLY_ERROR
static String
STRING_PARAMETER_EXPECTED_ERROR
static String
VALID_FUNCTION_CALL_NOT_FOUND_ERROR
static String
VARIABLE_NAME_EXPECTED_ERROR
-
Constructor Summary
Constructors Constructor Description ExpressionParser(String expression)
-
-
-
Field Detail
-
KIE_FUNCTIONS
public static final String KIE_FUNCTIONS
- See Also:
- Constant Field Values
-
FUNCTION_NAME_NOT_RECOGNIZED_ERROR
public static final String FUNCTION_NAME_NOT_RECOGNIZED_ERROR
- See Also:
- Constant Field Values
-
FUNCTION_CALL_NOT_FOUND_ERROR
public static final String FUNCTION_CALL_NOT_FOUND_ERROR
- See Also:
- Constant Field Values
-
VALID_FUNCTION_CALL_NOT_FOUND_ERROR
public static final String VALID_FUNCTION_CALL_NOT_FOUND_ERROR
- See Also:
- Constant Field Values
-
FUNCTION_CALL_NOT_CLOSED_PROPERLY_ERROR
public static final String FUNCTION_CALL_NOT_CLOSED_PROPERLY_ERROR
- See Also:
- Constant Field Values
-
SENTENCE_NOT_CLOSED_PROPERLY_ERROR
public static final String SENTENCE_NOT_CLOSED_PROPERLY_ERROR
- See Also:
- Constant Field Values
-
VARIABLE_NAME_EXPECTED_ERROR
public static final String VARIABLE_NAME_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
PARAMETER_DELIMITER_EXPECTED_ERROR
public static final String PARAMETER_DELIMITER_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
STRING_PARAMETER_EXPECTED_ERROR
public static final String STRING_PARAMETER_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
RETURN_SENTENCE_EXPECTED_ERROR
public static final String RETURN_SENTENCE_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
BLANK_AFTER_RETURN_EXPECTED_ERROR
public static final String BLANK_AFTER_RETURN_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExpressionParser
public ExpressionParser(String expression)
-
-
Method Detail
-
parse
public ConditionExpression parse() throws ParseException
- Throws:
ParseException
-
-