XDoc Search Logo
Stratego Library API Documentation
Link to XDoc
Description: No additional information available
collect Collecting subterms. There are two main variants of collect strategies: collect-all and collect-om. The collect-all strategies continue collecting terms in the subterms of a term that has already been collected. The collect-om strategies do not collect subterms of collected terms. They collect only the outermost subterms that satisfy some condition. For example: if terms matching the term pattern A(_,_) should be collected, then in the term A(1, A(1, 2)) collect-all variant will return A(1, A(1, 2)) and A(1, 2). collect-om will only return the outermost result, that is, A(1, A(1, 2)).
conditional Conditionals
iteration Various iteration strategies.