Class JavaCCExpressionParser

  • All Implemented Interfaces:
    IExpressionParser, java.io.Serializable

    public class JavaCCExpressionParser
    extends java.lang.Object
    implements IExpressionParser, java.io.Serializable
    The jadex parser parses all types of expressions in ADF and queries.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaCCExpressionParser

        public JavaCCExpressionParser()
    • Method Detail

      • parseExpression

        public IParsedExpression parseExpression​(java.lang.String expression,
                                                 java.lang.String[] imports,
                                                 java.util.Map parameters,
                                                 java.lang.ClassLoader classloader)
        Parse an expression string.
        Specified by:
        parseExpression in interface IExpressionParser
        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.