define-accessors ( class specs -- )
Factor handbook » The language » Objects » Low-level slot operations

Prev:define-slot-methods ( class slot-spec -- )
Next:slot ( obj m -- value )


Vocabulary
slots

Inputs
classa class
specsa sequence of slot-specs


Outputs
None

Word description
Defines slot methods.

Notes
Calling this word directly is not necessary in most cases. Higher-level words call it automatically.

Definition