collect ( accum variables -- accum ? )


Vocabulary
xml.syntax.private

Inputs
accuman object
variablesan object


Outputs
accuman object
?an object


Definition


: collect ( accum variables -- accum ? )
{
{ [ dup empty? ] [ drop f ] }
{ [ dup [ ] all? ] [ >search-hash suffix! t ] }
{
[ dup [ not ] all? ]
[ length suffix! \ nenum suffix! t ]
}
[
drop
"XML interpolation contains both fry and locals"
throw
]
} cond ;