class RuboCop::AST::NodePattern::Node::Capture

def in_sequence_head

def in_sequence_head
  wildcard, original_child = child.in_sequence_head
  return unless original_child
  [wildcard, self] # ($...) => (_ $...)
end