ui.traverse vocabulary
Factor handbook > Vocabulary index


Summary
Gadget tree traversal

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
node tuplevalue children


Generic words
WordStack effect
leaves*( tree set -- )


Ordinary words
WordStack effect
gadget-at-path( parent path -- gadget )
gadget-subtree( frompath topath gadget -- seq )
gadget-subtree%( frompath topath gadget -- )
gadget-text-range( frompath topath gadget -- str )
leaves( tree -- set )
make-node( value quot -- node )
traverse-child( frompath topath gadget -- )
traverse-from-path( frompath gadget -- )
traverse-middle( frompath topath gadget -- )
traverse-post( topath gadget -- )
traverse-pre( frompath gadget -- )
traverse-step( path gadget -- path' gadget' )
traverse-to-path( topath gadget -- )


Class predicate words
WordStack effect
node?( object -- ? )


Files