01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: package de.uka.ilkd.key.unittest.simplify.ast;
09:
10: //a comparison operation between two terms.
11: public class CompFormula extends Term {
12:
13: public CompFormula(String op) {
14: super (op);
15: }
16:
17: public CompFormula(String op, Term left, Term right) {
18: super (op);
19: subs.add(left);
20: subs.add(right);
21: }
22:
23: public void setLeft(Term t) {
24: setSub(0, t);
25: }
26:
27: public void setRight(Term t) {
28: setSub(1, t);
29: }
30:
31: }
|