class Prism::IndexTargetNode

def copy(**params)

def copy: (**params) -> IndexTargetNode
def copy(**params)
  IndexTargetNode.new(
    params.fetch(:flags) { flags },
    params.fetch(:receiver) { receiver },
    params.fetch(:opening_loc) { opening_loc },
    params.fetch(:arguments) { arguments },
    params.fetch(:closing_loc) { closing_loc },
    params.fetch(:block) { block },
    params.fetch(:location) { location },
  )
end