Package org.n52.svalbard.odata.core.expr
Interface ExprVisitor<T,X extends Throwable>
- Type Parameters:
T- the type this visitor returnsX- the exception type this visitor may throw
public interface ExprVisitor<T,X extends Throwable>
Visitor for expressions.
-
Method Summary
Modifier and TypeMethodDescriptionVisit a boolean binary expression.Visit a boolean unary expression.Visit a comparison expression.visitGeometry(GeoValueExpr expr) Visit a geometry expression.visitMember(MemberExpr expr) Visit a member expression.Visit a method call expression.visitNumeric(NumericValueExpr expr) Visit a number expression.Visit a arithmetic expression.visitString(StringValueExpr expr) Visit a value expression.visitTime(TimeValueExpr expr) Visit a time expression.
-
Method Details
-
visitBooleanBinary
Visit a boolean binary expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitBooleanUnary
Visit a boolean unary expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitComparison
Visit a comparison expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitMethodCall
Visit a method call expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitMember
Visit a member expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitString
Visit a value expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitSimpleArithmetic
Visit a arithmetic expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitTime
Visit a time expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitGeometry
Visit a geometry expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-
visitNumeric
Visit a number expression.- Parameters:
expr- the expression- Returns:
- the result of the visit
- Throws:
X- if the visit fails
-