| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.8.3 Slots
- procedure: class-slot-definition class slot-name
Return the slot definition for the slot named slot-name in class class. slot-name should be a symbol.
- procedure: slot-definition-allocation slot-def
Extract and return the slot allocation option from slot-def. This is the value of the
#:allocationkeyword (see section allocation), or#:instanceif the#:allocationkeyword is absent.
- procedure: slot-definition-getter slot-def
Extract and return the slot getter option from slot-def. This is the value of the
#:getterkeyword (see section getter), or#fif the#:getterkeyword is absent.
- procedure: slot-definition-setter slot-def
Extract and return the slot setter option from slot-def. This is the value of the
#:setterkeyword (see section setter), or#fif the#:setterkeyword is absent.
- procedure: slot-definition-accessor slot-def
Extract and return the slot accessor option from slot-def. This is the value of the
#:accessorkeyword (see section accessor), or#fif the#:accessorkeyword is absent.
- procedure: slot-definition-init-value slot-def
Extract and return the slot init-value option from slot-def. This is the value of the
#:init-valuekeyword (see section init-value), or the unbound value if the#:init-valuekeyword is absent.
- procedure: slot-definition-init-form slot-def
Extract and return the slot init-form option from slot-def. This is the value of the
#:init-formkeyword (see section init-form), or the unbound value if the#:init-formkeyword is absent.
- procedure: slot-definition-init-thunk slot-def
Extract and return the slot init-thunk option from slot-def. This is the value of the
#:init-thunkkeyword (see section init-thunk), or#fif the#:init-thunkkeyword is absent.
- procedure: slot-definition-init-keyword slot-def
Extract and return the slot init-keyword option from slot-def. This is the value of the
#:init-keywordkeyword (see section init-keyword), or#fif the#:init-keywordkeyword is absent.
- procedure: slot-init-function class slot-name
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
#:init-thunk,#:init-formand#:init-valueslot options. These initializations can be overridden by the#:init-keywordslot option or by a specializedinitializemethod, so, in general, the function returned byslot-init-functionmay be irrelevant. For a fuller discussion, see init-value.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February 3, 2012 using texi2html 5.0.
