| org.jicengine.expression.Parser
All known Subclasses: org.jicengine.expression.CompositeParser, org.jicengine.expression.InvocationParser, org.jicengine.expression.LJEParser, org.jicengine.expression.FieldValueParser, org.jicengine.expression.NegationParser, org.jicengine.expression.StaticValueParser, org.jicengine.expression.VariableParser, org.jicengine.expression.FactoryInvocationParser, org.jicengine.expression.BuildParameterParser,
Parser | public interface Parser (Code) | | for parsing string expressions into executable
operations.
Copyright (C) 2004 Timo Laitinen
author: Timo Laitinen since: JICE-0.10 |
Method Summary | |
public Operation | parse(String expression) Parsers may return null in order to signal 'abort' i.e.if the syntax of the expression is not understood bythe parser implementation. |
ARRAY_LENGTH_END | public static char ARRAY_LENGTH_END(Code) | | |
ARRAY_LENGTH_START | public static char ARRAY_LENGTH_START(Code) | | |
METHOD_PARAMS_END | public static char METHOD_PARAMS_END(Code) | | |
METHOD_PARAMS_START | public static char METHOD_PARAMS_START(Code) | | |
OPERATION_SEPARATOR | public static char OPERATION_SEPARATOR(Code) | | |
STRING_MARKER | public static char STRING_MARKER(Code) | | |
parse | public Operation parse(String expression) throws SyntaxException(Code) | | Parsers may return null in order to signal 'abort' i.e.if the syntax of the expression is not understood bythe parser implementation. i.e. NumberParser returns nullif the expression is a string-expression.. throws: ExpressionException - if the syntax of the expression lookedlike okay, but the parsing failed for some reason. |
|
|