Towards 0.2 --
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / CQLOrNode.java
1 // $Id: CQLOrNode.java,v 1.5 2002-11-06 00:05:58 mike Exp $
2
3 package org.z3950.zing.cql;
4
5
6 /**
7  * Represents an OR node in a CQL parse-tree.
8  *
9  * @version     $Id: CQLOrNode.java,v 1.5 2002-11-06 00:05:58 mike Exp $
10  */
11 public class CQLOrNode extends CQLBooleanNode {
12     /**
13      * Creates a new OR node with the specified left- and right-hand sides.
14      */
15     public CQLOrNode(CQLNode left, CQLNode right) {
16         this.left = left;
17         this.right = right;
18     }
19
20     String op() {
21         return "or";
22     }
23 }