-// $Id: CQLOrNode.java,v 1.6 2002-12-05 17:14:52 mike Exp $
+// $Id: CQLOrNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $
package org.z3950.zing.cql;
/**
* Represents an OR node in a CQL parse-tree.
*
- * @version $Id: CQLOrNode.java,v 1.6 2002-12-05 17:14:52 mike Exp $
+ * @version $Id: CQLOrNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $
*/
public class CQLOrNode extends CQLBooleanNode {
/**
- * Creates a new OR node with the specified left- and right-hand sides.
+ * Creates a new OR node with the specified left- and right-hand
+ * sides and modifiers.
*/
- public CQLOrNode(CQLNode left, CQLNode right) {
- this.left = left;
- this.right = right;
- }
-
- String op() {
- return "or";
+ public CQLOrNode(CQLNode left, CQLNode right, ModifierSet ms) {
+ super(left, right, ms);
}
byte[] opType1() {