filterNonPrecedencePredicates static method

Iterable<SemanticContext> filterNonPrecedencePredicates(
  1. Iterable<SemanticContext> collection
)

Implementation

static Iterable<SemanticContext> filterNonPrecedencePredicates(
    Iterable<SemanticContext> collection) {
  return collection.where((e) => e is! PrecedencePredicate);
}