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

def compile_index(cur = @cur_index)

def compile_index(cur = @cur_index)
  return cur if cur >= 0
  "#{@seq_var}.children.size - #{-(cur + DELTA)}"
end