Package eu.clarin.sru.server.fcs.parser
Interface QueryVisitor
-
- All Known Implementing Classes:
QueryVisitorAdapter
public interface QueryVisitor
Interface implementing a Visitor pattern for FCS-QL expression trees.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visit(Expression node)
Visit a simple expression node.void
visit(ExpressionAnd node)
Visit a and expression node.void
visit(ExpressionGroup node)
Visit a group expression node.void
visit(ExpressionNot node)
Visit a not expression node.void
visit(ExpressionOr node)
Visit a or expression node.void
visit(ExpressionWildcard node)
Visit a wildcard expression node.void
visit(QueryDisjunction node)
Visit a or query node.void
visit(QueryGroup node)
Visit a group query node.void
visit(QuerySegment node)
Visit a segment query node.void
visit(QuerySequence node)
Visit a sequence query node.void
visit(QueryWithWithin node)
Visit a query with within node.void
visit(SimpleWithin node)
Visit a simple within node.
-
-
-
Method Detail
-
visit
void visit(QuerySegment node)
Visit a segment query node.- Parameters:
node
- the node to visit
-
visit
void visit(QueryGroup node)
Visit a group query node.- Parameters:
node
- the node to visit
-
visit
void visit(QuerySequence node)
Visit a sequence query node.- Parameters:
node
- the node to visit
-
visit
void visit(QueryDisjunction node)
Visit a or query node.- Parameters:
node
- the node to visit
-
visit
void visit(QueryWithWithin node)
Visit a query with within node.- Parameters:
node
- the node to visit
-
visit
void visit(Expression node)
Visit a simple expression node.- Parameters:
node
- the node to visit
-
visit
void visit(ExpressionWildcard node)
Visit a wildcard expression node.- Parameters:
node
- the node to visit
-
visit
void visit(ExpressionGroup node)
Visit a group expression node.- Parameters:
node
- the node to visit
-
visit
void visit(ExpressionOr node)
Visit a or expression node.- Parameters:
node
- the node to visit
-
visit
void visit(ExpressionAnd node)
Visit a and expression node.- Parameters:
node
- the node to visit
-
visit
void visit(ExpressionNot node)
Visit a not expression node.- Parameters:
node
- the node to visit
-
visit
void visit(SimpleWithin node)
Visit a simple within node.- Parameters:
node
- the node to visit
-
-