mirrors vocabulary
Factor handbook > Vocabulary index


Documentation
Mirrors

Meta-data
Tags:reflection, collections
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
mirror tupleobject
no-such-slot tupleslot
read-only-slot tupleslot


Generic words
WordStack effect
make-mirror( obj -- assoc )


Ordinary words
WordStack effect
<mirror>( object -- mirror )
check-set-slot( val slot -- val offset )
no-such-slot( slot -- * )
object-slots( mirror -- slots )
read-only-slot( slot -- * )


Class predicate words
WordStack effect
mirror?( object -- ? )
no-such-slot?( object -- ? )
read-only-slot?( object -- ? )


Files