(export 'make-sod-instance-initializer)
(defgeneric make-sod-instance-initializer
- (class nick name value pset &key location inhibit-initargs)
+ (class nick name value pset &key location inhibit-initargs add-to-class)
(:documentation
"Construct and attach an instance slot initializer, to CLASS.
construction process. The default method looks up the slot using
`find-instance-slot-by-name', calls `make-sod-initializer-using-slot' to
actually make the initializer object, and adds it to the appropriate list
- in CLASS.
+ in CLASS unless ADD-TO-CLASS is nil.
Usually, if an `initarg' property is set on PSET, then a slot initarg is
created and attached to the slot; this can be prevented by setting
(export 'make-sod-class-initializer)
(defgeneric make-sod-class-initializer
- (class nick name value pset &key location)
+ (class nick name value pset &key location add-to-class)
(:documentation
"Construct and attach a class slot initializer, to CLASS.
construction process. The default method looks up the slot using
`find-class-slot-by-name', calls `make-sod-initializer-using-slot' to
actually make the initializer object, and adds it to the appropriate list
- in CLASS."))
+ in CLASS unless ADD-TO-CLASS is nil."))
(export 'make-sod-initializer-using-slot)
(defgeneric make-sod-initializer-using-slot