Package jadex.javaparser
Interface IExpressionParser
-
- All Known Implementing Classes:
JavaCCExpressionParser
public interface IExpressionParser
Interface for expression parsers. Must support the parsing of expressions into evaluable objects (IParsedExpression).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IParsedExpression
parseExpression(java.lang.String expression, java.lang.String[] imports, java.util.Map parameters, java.lang.ClassLoader classloader)
Parse an expression string.
-
-
-
Method Detail
-
parseExpression
IParsedExpression parseExpression(java.lang.String expression, java.lang.String[] imports, java.util.Map parameters, java.lang.ClassLoader classloader)
Parse an expression string.- Parameters:
expression
- The expression string.imports
- A list of imports.tmodel
- The type model.parameters
- Parameters declared in the expression (name -> OAV type).- Returns:
- The parsed expression.
-
-