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 StringBLANK_AFTER_RETURN_EXPECTED_ERRORstatic StringFUNCTION_CALL_NOT_CLOSED_PROPERLY_ERRORstatic StringFUNCTION_CALL_NOT_FOUND_ERRORstatic StringFUNCTION_NAME_NOT_RECOGNIZED_ERRORstatic StringKIE_FUNCTIONSstatic StringPARAMETER_DELIMITER_EXPECTED_ERRORstatic StringRETURN_SENTENCE_EXPECTED_ERRORstatic StringSENTENCE_NOT_CLOSED_PROPERLY_ERRORstatic StringSTRING_PARAMETER_EXPECTED_ERRORstatic StringVALID_FUNCTION_CALL_NOT_FOUND_ERRORstatic StringVARIABLE_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
-
-