findAllMatchingRules method

List<JxRuleContract> findAllMatchingRules(
  1. JxClassToken token
)

Retourne toutes les règles correspondant au token.

Implementation

List<JxRuleContract> findAllMatchingRules(JxClassToken token) {
  return _rules.where((rule) => rule.matches(token)).toList();
}