01: /*
02: * Keyword.java
03: *
04: * Copyright (C) 2002-2003 Peter Graves
05: * $Id: Keyword.java,v 1.6 2003/11/15 11:03:27 beedlem Exp $
06: *
07: * This program is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU General Public License
09: * as published by the Free Software Foundation; either version 2
10: * of the License, or (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20: */
21:
22: package org.armedbear.lisp;
23:
24: public final class Keyword extends Lisp {
25: public static final Symbol internKeyword(String s) {
26: return PACKAGE_KEYWORD.intern(s);
27: }
28:
29: public static final Symbol ABORT = internKeyword("ABORT"),
30: ALLOW_OTHER_KEYS = internKeyword("ALLOW-OTHER-KEYS"),
31: CAPITALIZE = internKeyword("CAPITALIZE"),
32: COUNT_ONLY = internKeyword("COUNT-ONLY"),
33: DATUM = internKeyword("DATUM"),
34: DIRECT_SUPERCLASSES = internKeyword("DIRECT-SUPERCLASSES"),
35: DOWNCASE = internKeyword("DOWNCASE"),
36: ELEMENT_TYPE = internKeyword("ELEMENT-TYPE"),
37: ERROR = internKeyword("ERROR"),
38: EXPECTED_TYPE = internKeyword("EXPECTED-TYPE"),
39: EXTERNAL = internKeyword("EXTERNAL"),
40: FILL_POINTER = internKeyword("FILL-POINTER"),
41: FORMAT_ARGUMENTS = internKeyword("FORMAT-ARGUMENTS"),
42: FORMAT_CONTROL = internKeyword("FORMAT-CONTROL"),
43: INHERITED = internKeyword("INHERITED"),
44: INITIAL_CONTENTS = internKeyword("INITIAL-CONTENTS"),
45: INITIAL_ELEMENT = internKeyword("INITIAL-ELEMENT"),
46: INTERNAL = internKeyword("INTERNAL"),
47: NAME = internKeyword("NAME"),
48: NICKNAMES = internKeyword("NICKNAMES"),
49: NO_ERROR = internKeyword("NO-ERROR"),
50: SUPERSEDE = internKeyword("SUPERSEDE"),
51: TIME = internKeyword("TIME"),
52: UPCASE = internKeyword("UPCASE"),
53: USE = internKeyword("USE"), WILD = internKeyword("WILD");
54: }
|