class CommunityMatchExprVarCollector implements CommunityMatchExprVisitor<Set<CommunityVar>, Configuration> {

  @Override
  public Set<CommunityVar> visitStandardCommunityLowMatch(
      StandardCommunityLowMatch standardCommunityLowMatch, Configuration arg) {
    int low = intMatchExprToInt(standardCommunityLowMatch.getExpr());
    return ImmutableSet.of(CommunityVar.from(":" + low + "$"));
  }

}