Last change
on this file since 6882 was
6882,
checked in by Oliver Schonefeld, 8 years ago
|
- add FCS-QL expression tree classes
- modify FCSQueryParser to use expression tree
|
-
Property svn:eol-style set to
native
|
File size:
483 bytes
|
Line | |
---|
1 | package eu.clarin.sru.server.fcs.parser; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | public class QueryDisjunction extends QueryNode { |
---|
6 | |
---|
7 | QueryDisjunction(List<QueryNode> children) { |
---|
8 | super(QueryNodeType.QUERY_DISJUNCTION, children); |
---|
9 | } |
---|
10 | |
---|
11 | |
---|
12 | @Override |
---|
13 | public void accept(QueryVisitor visitor) { |
---|
14 | if (!children.isEmpty()) { |
---|
15 | for (QueryNode child : children) { |
---|
16 | visitAnyNode(visitor, child); |
---|
17 | } |
---|
18 | } |
---|
19 | visitor.visit(this); |
---|
20 | } |
---|
21 | |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.