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: public class Function {
11:
12: public static Function PLUS = new Function("+");
13: public static Function MINUS = new Function("-");
14: public static Function MUL = new Function("*");
15:
16: protected String name;
17:
18: public Function(String name) {
19: this .name = name;
20: }
21:
22: public String name() {
23: return name;
24: }
25:
26: public String toSimplify() {
27: return name;
28: }
29:
30: }
|