class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler
def visit_repetition
def visit_repetition within_loop do child_captures = node.child.nb_captures child_code = compile(node.child) next compile_loop(child_code) if child_captures.zero? compile_captured_repetition(child_code, child_captures) end end