class CommunitySetExprEvaluator implements CommunitySetExprVisitor<CommunitySet, CommunityContext> {

  @Override
  public CommunitySet visitCommunityExprsSet(
      CommunityExprsSet communityExprsSet, CommunityContext arg) {
    return CommunitySet.of(
        communityExprsSet.getExprs().stream()
            .map(expr -> expr.accept(CommunityExprEvaluator.instance(), arg))
            .collect(ImmutableSet.toImmutableSet()));
  }

  private  CommunitySetExprEvaluator();

}