class BooleanExprVarCollector implements BooleanExprVisitor<Set<CommunityVar>, Configuration> {

  @Override
  public Set<CommunityVar> visitMatchCommunitySet(
      MatchCommunitySet matchCommunitySet, Configuration arg) {
    return CommunityVarCollector.collectCommunityVars(arg, matchCommunitySet.getExpr());
  }

}