class CommunityMatchExprEvaluator implements CommunityMatchExprVisitor<Boolean, Community> {

  @Override
  public Boolean visitExtendedCommunityLocalAdministratorMatch(
      ExtendedCommunityLocalAdministratorMatch extendedCommunityLocalAdministratorMatch,
      Community arg) {
    if (!(arg instanceof ExtendedCommunity)) {
      return false;
    }
    return extendedCommunityLocalAdministratorMatch
        .getExpr()
        .accept(
            IntMatchExprEvaluator.instance(),
            new LiteralInt((int) ((ExtendedCommunity) arg).getLocalAdministrator()));
  }

  public  CommunityMatchExprEvaluator(CommunityContext ctx);

}