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.parser;
12:
13: import de.uka.ilkd.key.logic.sort.Sort;
14:
15: public class IdDeclaration {
16:
17: private String name;
18: private Sort sort;
19:
20: public IdDeclaration(String p_name, Sort p_sort) {
21: name = p_name;
22: sort = p_sort;
23: }
24:
25: public String getName() {
26: return name;
27: }
28:
29: public Sort getSort() {
30: return sort;
31: }
32:
33: }
|