class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler

def compile_and_advance(term)

def compile_and_advance(term)
  case @cur_index
  when :variadic_mode
    "#{term} && #{compile_loop_advance}"
  when :seq_head
    # @in_sync = false # already the case
    @cur_index = 0
    term
  else
    @in_sync = false
    @cur_index += 1
    term
  end
end