org.objectweb.medor.expression.parser.string
Class ExpressionParser
java.lang.Object
org.objectweb.medor.expression.parser.string.ExpressionParser
public class ExpressionParser
extends java.lang.Object
This class is a string parser of expressions.
- P. Dechamboux, A.Lefebvre, S.Chassande-Barrioz
parse
public Expression parse(String exprstr,
ParameterTypeProvider ptp)
throws ExpressionException
Produces a MEDOR Expression from a string.
exprstr
- is the string expression to parseptp
- is the parameter type provider. It permits to find the type
of parameter found in the expression. If the expression does not contain
parameter, no ParameterTypeProvider is required.
- the corresponding MEDOR Expression
ExpressionException
-