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 Details

    • visitBooleanBinary

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

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

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

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

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

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

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

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

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

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