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.rule.Rule;
15:
16: public class NameSV extends SchemaVariableAdapter {
17:
18: public static final String NAME_PREFIX = "_NAME";
19: public static final String MV_NAME_PREFIX = NAME_PREFIX + "_MV_";
20: public static final String TACLET_NAME_PREFIX = NAME_PREFIX + "_T_";
21:
22: public NameSV(Name name) {
23: super (name, Rule.class);
24: }
25:
26: public NameSV(String s) {
27: this (new Name(s));
28: }
29:
30: public boolean isNameSV() {
31: return true;
32: }
33:
34: public String toString() {
35: return super .toString("name");
36: }
37:
38: }
|