class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler
def handle_prev
def handle_prev @prev_index = @cur_index @prev_index_used = false code = yield if @prev_index_used @prev_index_used = false code = "(#{@prev_index_var} = #{@cur_index_var}; true) && #{code}" end code end