class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler
def compile_child_nb_guard(arity_range)
def compile_child_nb_guard(arity_range) case arity_range.max when Float::INFINITY "#{compile_remaining} >= #{arity_range.begin}" when arity_range.begin "#{compile_remaining} == #{arity_range.begin}" else "(#{arity_range.begin}..#{arity_range.max}).cover?(#{compile_remaining})" end end