Interface ExprVisitor<T,​X extends Throwable>

  • Type Parameters:
    T - the type this visitor returns
    X - the exception type this visitor may throw

    public interface ExprVisitor<T,​X extends Throwable>
    Visitor for expressions.
    • Method Detail

      • visitBooleanBinary

        T visitBooleanBinary​(BooleanBinaryExpr expr)
                      throws X extends Throwable
        Visit a boolean binary expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitBooleanUnary

        T visitBooleanUnary​(BooleanUnaryExpr expr)
                     throws X extends Throwable
        Visit a boolean unary expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitComparison

        T visitComparison​(ComparisonExpr expr)
                   throws X extends Throwable
        Visit a comparison expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitMethodCall

        T visitMethodCall​(MethodCallExpr expr)
                   throws X extends Throwable
        Visit a method call expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitMember

        T visitMember​(MemberExpr expr)
               throws X extends Throwable
        Visit a member expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitString

        T visitString​(StringValueExpr expr)
               throws X extends Throwable
        Visit a value expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitSimpleArithmetic

        T visitSimpleArithmetic​(SimpleArithmeticExpr expr)
                         throws X extends Throwable
        Visit a arithmetic expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitTime

        T visitTime​(TimeValueExpr expr)
             throws X extends Throwable
        Visit a time expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitGeometry

        T visitGeometry​(GeoValueExpr expr)
                 throws X extends Throwable
        Visit a geometry expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable
      • visitNumeric

        T visitNumeric​(NumericValueExpr expr)
                throws X extends Throwable
        Visit a number expression.
        Parameters:
        expr - the expression
        Returns:
        the result of the visit
        Throws:
        X - if the visit fails
        X extends Throwable