CLOS:ACCESSOR-METHOD-SLOT-DEFINITION
(CLOS:ACCESSOR-METHOD-SLOT-DEFINITION
method
)
This accessor can only be called on accessor methods. It returns
the direct slot definition metaobject that defined this method. This is the value of the
:SLOT-DEFINITION
initialization argument associated with the method during
initialization.
The specified methods for the accessor method metaobject readers
(CLOS:ACCESSOR-METHOD-SLOT-DEFINITION
(method
CLOS:STANDARD-ACCESSOR-METHOD
))
CLOS:READER-METHOD-CLASS
(CLOS:READER-METHOD-CLASS
class
direct-slot-definition
&REST
initargs
)
class
direct-slot-definition
initargs
This generic function is called to determine the
class of reader methods created during class initialization and
reinitialization. The result must be a subclass of
CLOS:STANDARD-READER-METHOD
.
The initargs
argument must be the same as will be passed
to MAKE-INSTANCE
to create the reader method. The initargs
must include :SLOT-DEFINITION
with slot-definition
as its value.
Methods
(CLOS:READER-METHOD-CLASS
(class
STANDARD-CLASS
) (direct-slot-definition
CLOS:STANDARD-DIRECT-SLOT-DEFINITION
)
&REST
initargs
)
(CLOS:READER-METHOD-CLASS
(class
CLOS:FUNCALLABLE-STANDARD-CLASS
) (direct-slot-definition
CLOS:STANDARD-DIRECT-SLOT-DEFINITION
)
&REST
initargs
)
These methods return the class
CLOS:STANDARD-READER-METHOD
.
These methods can be overridden.
CLOS:WRITER-METHOD-CLASS
(CLOS:WRITER-METHOD-CLASS
class
direct-slot
&REST
initargs
)
class
direct-slot
initargs
This generic function is called to determine the
class of writer methods created during class initialization and
reinitialization. The result must be a subclass of
CLOS:STANDARD-WRITER-METHOD
.
The initargs
argument must be the same as will be passed
to MAKE-INSTANCE
to create the reader method. The initargs
must include :SLOT-DEFINITION
with CLOS:SLOT-DEFINITION
as its value.
Methods
(CLOS:WRITER-METHOD-CLASS
(class
STANDARD-CLASS
)
(direct-slot
CLOS:STANDARD-DIRECT-SLOT-DEFINITION
)
&REST
initargs
)
(CLOS:WRITER-METHOD-CLASS
(class
CLOS:FUNCALLABLE-STANDARD-CLASS
)
(direct-slot
CLOS:STANDARD-DIRECT-SLOT-DEFINITION
)
&REST
initargs
)
These methods return the class
CLOS:STANDARD-WRITER-METHOD
.
These methods can be overridden.
These notes document CLISP version 2.49 | Last modified: 2010-07-07 |