Node:Slots, Next:Instances, Previous:Classes, Up:Introspection
class-slot-definition class slot-name | procedure |
Return the slot definition for the slot named slot-name in class class. slot-name should be a symbol. |
slot-definition-name slot-def | procedure |
Extract and return the slot name from slot-def. |
slot-definition-options slot-def | procedure |
Extract and return the slot options from slot-def. |
slot-definition-allocation slot-def | procedure |
Extract and return the slot allocation option from slot-def. This
is the value of the #:allocation keyword (see allocation), or #:instance if the #:allocation keyword is
absent.
|
slot-definition-getter slot-def | procedure |
Extract and return the slot getter option from slot-def. This is
the value of the #:getter keyword (see getter), or #f if the #:getter keyword is absent.
|
slot-definition-setter slot-def | procedure |
Extract and return the slot setter option from slot-def. This is
the value of the #:setter keyword (see setter), or #f if the #:setter keyword is absent.
|
slot-definition-accessor slot-def | procedure |
Extract and return the slot accessor option from slot-def. This
is the value of the #:accessor keyword (see accessor), or #f if the #:accessor keyword is absent.
|
slot-definition-init-value slot-def | procedure |
Extract and return the slot init-value option from slot-def. This
is the value of the #:init-value keyword (see init-value), or the unbound value if the #:init-value keyword is
absent.
|
slot-definition-init-form slot-def | procedure |
Extract and return the slot init-form option from slot-def. This
is the value of the #:init-form keyword (see init-form), or the unbound value if the #:init-form keyword is
absent.
|
slot-definition-init-thunk slot-def | procedure |
Extract and return the slot init-thunk option from slot-def. This
is the value of the #:init-thunk keyword (see init-thunk), or #f if the #:init-thunk keyword is absent.
|
slot-definition-init-keyword slot-def | procedure |
Extract and return the slot init-keyword option from slot-def.
This is the value of the #:init-keyword keyword (see init-keyword), or #f if the #:init-keyword
keyword is absent.
|
slot-init-function class slot-name | procedure |
Return the initialization function for the slot named slot-name in
class class. slot-name should be a symbol.
The returned initialization function incorporates the effects of the
standard |