Slots are represented by slot descriptors, which are data structures providing information about the slots, such as their name. Slot descriptors are stored inside of classes, and may be retrieved from there and subsequently inspected.
Returns a list of the slot descriptors for class. This contains all slots for class, both direct slots and inherited slots. The returned value must not be modified.
Returns the slot descriptor for the slot named name in
class. If there is no such slot: if error? is
#f, otherwise signals an error of type
#t if object is a slot descriptor, otherwise
Returns the name of slot.
Returns the class of slot. This is the class with which
slot is associated. This is not necessarily the class that
defines slot; it could also be a subclass of that class. If the
slot was returned from
this class is the argument passed to that procedure.
Returns an alist of the properties of slot. This list must not be modified.
If slot has a property named name, it is returned; otherwise default is returned.
#t if slot has an initial value, and
otherwise. The initial value is specified by the
slot property when a class is made.
Returns the initial value for slot, if it has one; otherwise it
returns an unspecified value. The initial value is specified by the
initial-value slot property when a class is made.
Returns the initializer for slot; the initializer is specified by
initializer slot property when a class is made. This is a
procedure of no arguments that is called to produce an initial value for
slot. The result may also be
#f meaning that the slot has