module lang::sdf2::filters::PreferAvoid
rascal-0.40.16
Usage
import lang::sdf2::filters::PreferAvoid;
Dependencies
import ParseTree;
import Set;
function preferAvoidFilter
Import his module if you want prefer/avoid filtering enabled for your grammar. Use @prefer and @avoid to label alternatives.
&T <:Tree preferAvoidFilter(amb(set[&T <:Tree] alternatives))