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: //
09: //
10:
11: package de.uka.ilkd.key.logic.op;
12:
13: import de.uka.ilkd.key.logic.Name;
14: import de.uka.ilkd.key.logic.sort.ArrayOfGenSort;
15: import de.uka.ilkd.key.logic.sort.GenSort;
16:
17: /**
18: * A <code>Constructor</code> is a <code>Function</code> which belongs to a generated sort.
19: * A constructor's sort must be GenSort as well as the parameters.
20: *
21: * @author Sonja Pieper
22: * @version 0.1, 07/08/01
23: */
24:
25: public class ConstructorFunction extends NonRigidFunction {
26:
27: /**
28: * creates a new constructor with name, sort and param sorts.
29: * @param name The name of the constructor
30: * @param sort The sort of the constructor, this is the generated sort
31: * the constructor belongs to and which it 'generates'
32: * @param aos The sorts of the parameters of the constructor, must also
33: * be generated sorts.
34: */
35:
36: public ConstructorFunction(Name name, GenSort sort,
37: ArrayOfGenSort aos) {
38: super(name, sort, aos);
39: }
40:
41: }
|