filterPrecedencePredicates static method

Iterable<PrecedencePredicate> filterPrecedencePredicates(
  1. Iterable<SemanticContext> collection
)

Implementation

static Iterable<PrecedencePredicate> filterPrecedencePredicates(
    Iterable<SemanticContext> collection) {
  return collection.whereType<PrecedencePredicate>();
}