class SyntaxTree::Index::ISeqBackend

def find_attr_arguments(insns, index)

def find_attr_arguments(insns, index)
  orig_argc = insns[index][1][:orig_argc]
  names = []
  current = index - 1
  while current >= 0 && names.length < orig_argc
    if insns[current].is_a?(Array) && insns[current][0] == :putobject
      names.unshift(insns[current][1])
    end
    current -= 1
  end
  names if insns[current] == [:putself] && names.length == orig_argc
end