/[cmucl]/src/pcl/pkg.lisp
ViewVC logotype

Contents of /src/pcl/pkg.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (hide annotations)
Thu Feb 5 18:51:17 1998 UTC (16 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.12: +1 -0 lines
Export describe-object from the PCL and LISP packages.
1 wlott 1.1 ;;;-*-Mode:LISP; Package:(PCL (LISP WALKER)); Base:10; Syntax:Common-lisp -*-
2     ;;;
3     ;;; *************************************************************************
4     ;;; Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990 Xerox Corporation.
5     ;;; All rights reserved.
6     ;;;
7     ;;; Use and copying of this software and preparation of derivative works
8     ;;; based upon this software are permitted. Any distribution of this
9     ;;; software or derivative works must comply with all applicable United
10     ;;; States export control laws.
11     ;;;
12     ;;; This software is made available AS IS, and Xerox Corporation makes no
13     ;;; warranty about the software, its performance or its conformity to any
14     ;;; specification.
15     ;;;
16     ;;; Any person obtaining a copy of this software is requested to send their
17     ;;; name and post office or electronic mail address to:
18     ;;; CommonLoops Coordinator
19     ;;; Xerox PARC
20     ;;; 3333 Coyote Hill Rd.
21     ;;; Palo Alto, CA 94304
22     ;;; (or send Arpanet mail to CommonLoops-Coordinator.pa@Xerox.arpa)
23     ;;;
24     ;;; Suggestions, comments and requests for improvements are also welcome.
25     ;;; *************************************************************************
26     ;;;
27    
28 pw 1.11 ;;; CMUCL 18a: Jan-1998 -- Changing to DEFPACKAGE.
29     ;;; Note that at this time CMUCL is not in compliance with ANSI
30     ;;; specified use of feature names :cltl2 :x3j13 :draft-ansi-cl or :ansi-cl
31     ;;; since all of them are in *features*. So I'm not going to try and be
32     ;;; clever with hacking around all the various ancient lisp quirks.
33     ;;; This file is now CMUCL specific only.
34    
35     (defpackage "WALKER" (:use :common-lisp)
36     (:export "DEFINE-WALKER-TEMPLATE"
37     "WALK-FORM"
38     "WALK-FORM-EXPAND-MACROS-P"
39     "NESTED-WALK-FORM"
40     "VARIABLE-LEXICAL-P"
41     "VARIABLE-SPECIAL-P"
42     "VARIABLE-GLOBALLY-SPECIAL-P"
43     "*VARIABLE-DECLARATIONS*"
44     "VARIABLE-DECLARATION"
45     "MACROEXPAND-ALL"))
46    
47     (defpackage "ITERATE" (:use :common-lisp :walker)
48     (:export "ITERATE" "ITERATE*" "GATHERING" "GATHER" "WITH-GATHERING"
49     "INTERVAL" "ELEMENTS" "LIST-ELEMENTS" "LIST-TAILS"
50     "PLIST-ELEMENTS" "EACHTIME" "WHILE" "UNTIL"
51     "COLLECTING" "JOINING" "MAXIMIZING" "MINIMIZING" "SUMMING"
52     "*ITERATE-WARNINGS*"))
53    
54     (defpackage "PCL" (:use :common-lisp :walker :iterate)
55     #+CMU
56     (:shadow "DESTRUCTURING-BIND")
57     #+cmu17
58     (:shadow "FIND-CLASS" "CLASS-NAME" "CLASS-OF"
59     "CLASS" "BUILT-IN-CLASS" "STRUCTURE-CLASS"
60     "STANDARD-CLASS")
61 wlott 1.1
62 pw 1.11 #+cmu
63     (:shadow "DOTIMES")
64 ram 1.7
65 pw 1.11 #+cmu
66     (:import-from :kernel "FUNCALLABLE-INSTANCE-P")
67 ram 1.7
68 pw 1.11 (:shadow "DOCUMENTATION")
69 wlott 1.1
70    
71     ;;;
72     ;;; These come from the index pages of 88-002R.
73     ;;;
74     ;;;
75    
76 pw 1.11 (:export "ADD-METHOD"
77     "BUILT-IN-CLASS"
78     "CALL-METHOD"
79     "CALL-NEXT-METHOD"
80     "CHANGE-CLASS"
81     "CLASS-NAME"
82     "CLASS-OF"
83     "COMPUTE-APPLICABLE-METHODS"
84     "DEFCLASS"
85     "DEFGENERIC"
86     "DEFINE-METHOD-COMBINATION"
87     "DEFMETHOD"
88 dtc 1.13 "DESCRIBE-OBJECT"
89 pw 1.11 "ENSURE-GENERIC-FUNCTION"
90     "FIND-CLASS"
91     "FIND-METHOD"
92     "FUNCTION-KEYWORDS"
93     "GENERIC-FLET"
94     "GENERIC-LABELS"
95     "INITIALIZE-INSTANCE"
96     "INVALID-METHOD-ERROR"
97     "MAKE-INSTANCE"
98     "MAKE-INSTANCES-OBSOLETE"
99     "METHOD-COMBINATION-ERROR"
100     "METHOD-QUALIFIERS"
101     "NEXT-METHOD-P"
102     "NO-APPLICABLE-METHOD"
103     "NO-NEXT-METHOD"
104     "PRINT-OBJECT"
105     "REINITIALIZE-INSTANCE"
106     "REMOVE-METHOD"
107     "SHARED-INITIALIZE"
108     "SLOT-BOUNDP"
109     "SLOT-EXISTS-P"
110     "SLOT-MAKUNBOUND"
111     "SLOT-MISSING"
112     "SLOT-UNBOUND"
113     "SLOT-VALUE"
114     "STANDARD"
115     #-CMU17 "STANDARD-CLASS"
116     "STANDARD-GENERIC-FUNCTION"
117     "STANDARD-METHOD"
118     "STANDARD-OBJECT"
119     #-CMU17 "STRUCTURE-CLASS"
120     #-CMU17 "SYMBOL-MACROLET"
121     "UPDATE-INSTANCE-FOR-DIFFERENT-CLASS"
122     "UPDATE-INSTANCE-FOR-REDEFINED-CLASS"
123     "WITH-ACCESSORS"
124     "WITH-ADDED-METHODS"
125     "WITH-SLOTS"
126     )
127 ram 1.8
128 pw 1.11 (:export "STANDARD-INSTANCE"
129     "FUNCALLABLE-STANDARD-INSTANCE"
130     "GENERIC-FUNCTION"
131     "STANDARD-GENERIC-FUNCTION"
132     "METHOD"
133     "STANDARD-METHOD"
134     "STANDARD-ACCESSOR-METHOD"
135     "STANDARD-READER-METHOD"
136     "STANDARD-WRITER-METHOD"
137     "METHOD-COMBINATION"
138     "SLOT-DEFINITION"
139     "DIRECT-SLOT-DEFINITION"
140     "EFFECTIVE-SLOT-DEFINITION"
141     "STANDARD-SLOT-DEFINITION"
142     "STANDARD-DIRECT-SLOT-DEFINITION"
143     "STANDARD-EFFECTIVE-SLOT-DEFINITION"
144     "SPECIALIZER"
145     "EQL-SPECIALIZER"
146     #-CMU17 "BUILT-IN-CLASS"
147     "FORWARD-REFERENCED-CLASS"
148     #-CMU17 "STANDARD-CLASS"
149     "FUNCALLABLE-STANDARD-CLASS")
150    
151     ;;*chapter-6-exports*
152     (:export "ADD-DEPENDENT"
153     "ADD-DIRECT-METHOD"
154     "ADD-DIRECT-SUBCLASS"
155     "ADD-METHOD"
156     "ALLOCATE-INSTANCE"
157     "CLASS-DEFAULT-INITARGS"
158     "CLASS-DIRECT-DEFAULT-INITARGS"
159     "CLASS-DIRECT-SLOTS"
160     "CLASS-DIRECT-SUBCLASSES"
161     "CLASS-DIRECT-SUPERCLASSES"
162     "CLASS-FINALIZED-P"
163     "CLASS-PRECEDENCE-LIST"
164     "CLASS-PROTOTYPE"
165     "CLASS-SLOTS"
166     "COMPUTE-APPLICABLE-METHODS"
167     "COMPUTE-APPLICABLE-METHODS-USING-CLASSES"
168     "COMPUTE-CLASS-PRECEDENCE-LIST"
169     "COMPUTE-DISCRIMINATING-FUNCTION"
170     "COMPUTE-EFFECTIVE-METHOD"
171     "COMPUTE-EFFECTIVE-SLOT-DEFINITION"
172     "COMPUTE-SLOTS"
173     "DIRECT-SLOT-DEFINITION-CLASS"
174     "EFFECTIVE-SLOT-DEFINITION-CLASS"
175     "ENSURE-CLASS"
176     "ENSURE-CLASS-USING-CLASS"
177     "ENSURE-GENERIC-FUNCTION"
178     "ENSURE-GENERIC-FUNCTION-USING-CLASS"
179     "EQL-SPECIALIZER-INSTANCE"
180     "EXTRACT-LAMBDA-LIST"
181     "EXTRACT-SPECIALIZER-NAMES"
182     "FINALIZE-INHERITANCE"
183     "FIND-METHOD-COMBINATION"
184     "FUNCALLABLE-STANDARD-INSTANCE-ACCESS"
185     "GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER"
186     "GENERIC-FUNCTION-DECLARATIONS"
187     "GENERIC-FUNCTION-LAMBDA-LIST"
188     "GENERIC-FUNCTION-METHOD-CLASS"
189     "GENERIC-FUNCTION-METHOD-COMBINATION"
190     "GENERIC-FUNCTION-METHODS"
191     "GENERIC-FUNCTION-NAME"
192     "INTERN-EQL-SPECIALIZER"
193     "MAKE-INSTANCE"
194     "MAKE-METHOD-LAMBDA"
195     "MAP-DEPENDENTS"
196     "METHOD-FUNCTION"
197     "METHOD-GENERIC-FUNCTION"
198     "METHOD-LAMBDA-LIST"
199     "METHOD-SPECIALIZERS"
200     "METHOD-QUALIFIERS"
201     "ACCESSOR-METHOD-SLOT-DEFINITION"
202     "READER-METHOD-CLASS"
203     "REMOVE-DEPENDENT"
204     "REMOVE-DIRECT-METHOD"
205     "REMOVE-DIRECT-SUBCLASS"
206     "REMOVE-METHOD"
207     "SET-FUNCALLABLE-INSTANCE-FUNCTION"
208     "SLOT-BOUNDP-USING-CLASS"
209     "SLOT-DEFINITION-ALLOCATION"
210     "SLOT-DEFINITION-INITARGS"
211     "SLOT-DEFINITION-INITFORM"
212     "SLOT-DEFINITION-INITFUNCTION"
213     "SLOT-DEFINITION-LOCATION"
214     "SLOT-DEFINITION-NAME"
215     "SLOT-DEFINITION-READERS"
216     "SLOT-DEFINITION-WRITERS"
217     "SLOT-DEFINITION-TYPE"
218     "SLOT-MAKUNBOUND-USING-CLASS"
219     "SLOT-VALUE-USING-CLASS"
220     "SPECIALIZER-DIRECT-GENERIC-FUNCTION"
221     "SPECIALIZER-DIRECT-METHODS"
222     "STANDARD-INSTANCE-ACCESS"
223     "UPDATE-DEPENDENT"
224     "VALIDATE-SUPERCLASS"
225     "WRITER-METHOD-CLASS"
226 ram 1.8 ))
227 ram 1.3
228 pw 1.11 (defpackage "SLOT-ACCESSOR-NAME" (:use)(:nicknames "S-A-N"))
229 ram 1.8
230 pw 1.11 (in-package :pcl)
231     (defvar *slot-accessor-name-package*
232     (find-package :slot-accessor-name))
233    
234     ;;; These symbol names came from "The Art of the Metaobject Protocol".
235     ;;;
236 ram 1.8
237 pw 1.11 (defpackage "CLOS-MOP"
238     (:use :pcl :common-lisp)
239     (:nicknames "MOP")
240    
241     (:shadowing-import-from :pcl
242     "FIND-CLASS" "CLASS-NAME" "BUILT-IN-CLASS" "CLASS-OF")
243 pw 1.12 (:export
244     "FIND-CLASS" "CLASS-NAME" "BUILT-IN-CLASS" "CLASS-OF")
245 pw 1.11
246     (:export ;; Names taken from "The Art of the Metaobject Protocol"
247     "ADD-DEPENDENT"
248     "ADD-DIRECT-METHOD"
249     "ADD-DIRECT-SUBCLASS"
250     "ADD-METHOD"
251     "ALLOCATE-INSTANCE"
252     "CLASS-DEFAULT-INITARGS"
253     "CLASS-DIRECT-DEFAULT-INITARGS"
254     "CLASS-DIRECT-SLOTS"
255     "CLASS-DIRECT-SUBCLASSES"
256     "CLASS-DIRECT-SUPERCLASSES"
257     "CLASS-FINALIZED-P"
258     "CLASS-NAME"
259     "CLASS-PRECEDENCE-LIST"
260     "CLASS-PROTOTYPE"
261     "CLASS-SLOTS"
262     "COMPUTE-APPLICABLE-METHODS"
263     "COMPUTE-APPLICABLE-METHODS-USING-CLASSES"
264     "COMPUTE-CLASS-PRECEDENCE-LIST"
265     "COMPUTE-DEFAULT-INITARGS"
266     "COMPUTE-DISCRIMINATING-FUNCTION"
267     "COMPUTE-EFFECTIVE-METHOD"
268     "COMPUTE-EFFECTIVE-SLOT-DEFINITION"
269     "COMPUTE-SLOTS"
270     "DIRECT-SLOT-DEFINITION-CLASS"
271     "EFFECTIVE-SLOT-DEFINITION-CLASS"
272     "ENSURE-CLASS"
273     "ENSURE-CLASS-USING-CLASS"
274     "ENSURE-GENERIC-FUNCTION"
275     "ENSURE-GENERIC-FUNCTION-USING-CLASS"
276     "EQL-SPECIALIZER-OBJECT"
277     "EXTRACT-LAMBDA-LIST"
278     "EXTRACT-SPECIALIZER-NAMES"
279     "FINALIZE-INHERITANCE"
280     "FIND-METHOD-COMBINATION"
281     "FUNCALLABLE-STANDARD-INSTANCE-ACCESS"
282     "GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER"
283     "GENERIC-FUNCTION-DECLARATIONS"
284     "GENERIC-FUNCTION-LAMBDA-LIST"
285     "GENERIC-FUNCTION-METHOD-CLASS"
286     "GENERIC-FUNCTION-METHOD-COMBINATION"
287     "GENERIC-FUNCTION-METHODS"
288     "GENERIC-FUNCTION-NAME"
289     "INTERN-EQL-SPECIALIZER"
290     "MAKE-INSTANCE"
291     "MAKE-METHOD-LAMBDA"
292     "MAP-DEPENDENTS"
293     "METHOD-FUNCTION"
294     "METHOD-GENERIC-FUNCTION"
295     "METHOD-LAMBDA-LIST"
296     "METHOD-SPECIALIZERS"
297     "METHOD-QUALIFIERS"
298     "ACCESSOR-METHOD-SLOT-DEFINITION"
299    
300     "SLOT-DEFINITION-ALLOCATION"
301     "SLOT-DEFINITION-INITARGS"
302     "SLOT-DEFINITION-INITFORM"
303     "SLOT-DEFINITION-INITFUNCTION"
304     "SLOT-DEFINITION-NAME"
305     "SLOT-DEFINITION-TYPE"
306     "SLOT-DEFINITION-READERS"
307     "SLOT-DEFINITION-WRITERS"
308     "SLOT-DEFINITION-LOCATION"
309    
310     "READER-METHOD-CLASS"
311     "REMOVE-DEPENDENT"
312     "REMOVE-DIRECT-METHOD"
313     "REMOVE-DIRECT-SUBCLASS"
314     "REMOVE-METHOD"
315     "SET-FUNCALLABLE-INSTANCE-FUNCTION"
316     "SLOT-BOUNDP-USING-CLASS"
317     "SLOT-MAKUNBOUND-USING-CLASS"
318     "SLOT-VALUE-USING-CLASS"
319     "SPECIALIZER-DIRECT-GENERIC-FUNCTIONS"
320     "SPECIALIZER-DIRECT-METHODS"
321     "STANDARD-INSTANCE-ACCESS"
322     "UPDATE-DEPENDENT"
323     "VALIDATE-SUPERCLASS"
324     "WRITER-METHOD-CLASS"
325     ))

  ViewVC Help
Powered by ViewVC 1.1.5