Last change
on this file since 7273 was
7273,
checked in by Oliver Schonefeld, 2 years ago
|
|
-
Property svn:eol-style set to
native
|
File size:
1.2 KB
|
Line | |
---|
1 | /** |
---|
2 | * This software is copyright (c) 2013-2022 by |
---|
3 | * - Leibniz-Institut fuer Deutsche Sprache (http://www.ids-mannheim.de) |
---|
4 | * This is free software. You can redistribute it |
---|
5 | * and/or modify it under the terms described in |
---|
6 | * the GNU General Public License v3 of which you |
---|
7 | * should have received a copy. Otherwise you can download |
---|
8 | * it from |
---|
9 | * |
---|
10 | * http://www.gnu.org/licenses/gpl-3.0.txt |
---|
11 | * |
---|
12 | * @copyright Leibniz-Institut fuer Deutsche Sprache (http://www.ids-mannheim.de) |
---|
13 | * |
---|
14 | * @license http://www.gnu.org/licenses/gpl-3.0.txt |
---|
15 | * GNU General Public License v3 |
---|
16 | */ |
---|
17 | package eu.clarin.sru.server.fcs.parser; |
---|
18 | |
---|
19 | import java.util.List; |
---|
20 | |
---|
21 | |
---|
22 | /** |
---|
23 | * A FCS-QL expression tree query sequence node. |
---|
24 | */ |
---|
25 | public class QuerySequence extends QueryNode { |
---|
26 | |
---|
27 | /** |
---|
28 | * Constructor. |
---|
29 | * |
---|
30 | * @param children |
---|
31 | * the children for this node |
---|
32 | */ |
---|
33 | QuerySequence(List<QueryNode> children) { |
---|
34 | super(QueryNodeType.QUERY_SEQUENCE, children); |
---|
35 | } |
---|
36 | |
---|
37 | |
---|
38 | @Override |
---|
39 | public void accept(QueryVisitor visitor) { |
---|
40 | if (!children.isEmpty()) { |
---|
41 | for (QueryNode child : children) { |
---|
42 | child.accept(visitor); |
---|
43 | } |
---|
44 | } |
---|
45 | visitor.visit(this); |
---|
46 | } |
---|
47 | |
---|
48 | } // class QuerySequence |
---|
Note: See
TracBrowser
for help on using the repository browser.