org.jicengine.expression
Interface Parser
- All Known Implementing Classes:
- CompositeParser, FieldValueParser, LJEParser, MethodInvocationParser, StaticValueParser, VariableParser
- public interface Parser
for parsing string expressions into executable
operations.
- Author:
- .timo
OPERATION_SEPARATOR
public static final char OPERATION_SEPARATOR
METHOD_PARAMS_START
public static final char METHOD_PARAMS_START
METHOD_PARAMS_END
public static final char METHOD_PARAMS_END
ARRAY_LENGTH_START
public static final char ARRAY_LENGTH_START
ARRAY_LENGTH_END
public static final char ARRAY_LENGTH_END
BOOLEAN_TRUE
public static final java.lang.String BOOLEAN_TRUE
BOOLEAN_FALSE
public static final java.lang.String BOOLEAN_FALSE
STRING_MARKER
public static final char STRING_MARKER
parse
public Operation parse(java.lang.String expression)
throws SyntaxException
- Returns:
- Parsers may return null in order to signal 'abort' i.e.
if the syntax of the expression is not understood by
the parser implementation. i.e. NumberParser returns null
if the expression is a string-expression..
- Throws:
ExpressionException
- if the syntax of the expression looked
like okay, but the parsing failed for some reason.
SyntaxException