class LongMatchExprEvaluator implements LongMatchExprVisitor<Boolean, LongExpr> {

  @Override
  public @Nonnull Boolean visitLongMatchAll(LongMatchAll longMatchAll, LongExpr arg) {
    return longMatchAll.getExprs().stream().allMatch(expr -> expr.accept(this, arg));
  }

}