Authors: | Slava Pestov |
Class | Superclass | Slots |
bad-initial-value | tuple | name initial-value class |
bad-slot-attribute | tuple | key |
bad-slot-value | tuple | value class |
slot-spec | tuple | name offset class initial read-only |
Class | Superclass |
reader | word |
reader-method | method |
writer | word |
writer-method | method |
Word | Stack effect |
initial-value* | ( class -- object ? ) |
instance-check-quot | ( obj -- quot ) |
make-slot | ( desc -- slot-spec ) |
reader-quot | ( class slot-spec -- quot ) |
writer-quot | ( class slot-spec -- quot ) |
Word | Stack effect |
<slot-spec> | ( -- slot-spec ) |
bad-initial-value | ( name initial-value class -- * ) |
bad-slot-attribute | ( key -- * ) |
bad-slot-value | ( value class -- * ) |
changer-word | ( name -- word ) |
check-initial-value | ( slot-spec -- slot-spec ) |
check-slot-value | ( value slot -- ) |
define-accessors | ( class specs -- ) |
define-changer | ( name -- ) |
define-protocol-slot | ( name -- ) |
define-reader | ( class slot-spec -- ) |
define-reader-generic | ( name -- ) |
define-setter | ( name -- ) |
define-slot-methods | ( class slot-spec -- ) |
define-typecheck | ( class generic quot props -- ) |
define-writer | ( class slot-spec -- ) |
define-writer-generic | ( name -- ) |
finalize-slots | ( specs base -- specs ) |
init-slot-class | ( slot-spec class -- slot-spec ) |
initial-value | ( class -- object ? ) |
make-slots | ( slots -- specs ) |
peel-off-attributes | ( slot-spec array -- slot-spec array ) |
peel-off-class | ( slot-spec array -- slot-spec array ) |
peel-off-name | ( slot-spec array -- slot-spec array ) |
reader-props | ( slot-spec -- assoc ) |
reader-word | ( name -- word ) |
setter-word | ( name -- word ) |
slot-named | ( name specs -- spec/f ) |
slot-named* | ( name specs -- offset spec/f ) |
writer-props | ( slot-spec -- assoc ) |
writer-word | ( name -- word ) |
Word | Stack effect |
bad-initial-value? | ( object -- ? ) |
bad-slot-attribute? | ( object -- ? ) |
bad-slot-value? | ( object -- ? ) |
reader-method? | ( object -- ? ) |
reader? | ( object -- ? ) |
slot-spec? | ( object -- ? ) |
writer-method? | ( object -- ? ) |
writer? | ( object -- ? ) |
Vocabulary | Summary |
slots.syntax |
Vocabulary | Summary |
slots.macros | Macro interface to accessors |