slots.macros vocabulary
Factor handbook > Vocabulary index


Summary
Macro interface to accessors

Meta-data
Authors:Joe Groff


Words

Macro words
WordStack effect
set-slot( name -- quot: ( value tuple -- ) )
set-slots( names -- quot: ( values... tuple -- ) )
slot( name -- quot: ( tuple -- value ) )
slots( names -- quot: ( tuple -- values... ) )
{set-slots}( names -- quot: ( {values} tuple -- ) )
{slots}( names -- quot: ( tuple -- {values} ) )


Ordinary words
WordStack effect
change-slot( ..a tuple name quot: ( ..a old -- ..b new ) -- ..b )
change-slot*( tuple name quot: ( ..a old -- ..b new ) -- ..b tuple )
inc-slot( tuple name -- )
push-slot( value tuple name -- )
set-slot*( tuple value name -- tuple )
slot+( value tuple name -- )


Files


Children
VocabularySummary
slots.macros.privateslots.macros.private vocabulary