compiler.tree.combinators vocabulary
Factor handbook > Vocabulary index


Summary
Combinators for iterating over tree IR

Words

Ordinary words
WordStack effect
contains-node?( ... nodes quot: ( ... node -- ... ? ) -- ... ? )
each-node( ... nodes quot: ( ... node -- ... ) -- ... )
map-nodes( ... nodes quot: ( ... node -- ... node' ) -- ... nodes )
select-children( seq flags -- seq' )
sift-children( seq flags -- seq' )
until-fixed-point( ... #recursive quot: ( ... node -- ... ) -- ... )


Files