class SyntaxTree::RescueEx


end
rescue Exception => exception
begin
RescueEx represents the list of exceptions being rescued in a rescue clause.

def ===(other)

def ===(other)
  other.is_a?(RescueEx) && exceptions === other.exceptions &&
    variable === other.variable
end

def accept(visitor)

def accept(visitor)
  visitor.visit_rescue_ex(self)
end

def child_nodes

def child_nodes
  [*exceptions, variable]
end

def copy(exceptions: nil, variable: nil, location: nil)

def copy(exceptions: nil, variable: nil, location: nil)
  node =
    RescueEx.new(
      exceptions: exceptions || self.exceptions,
      variable: variable || self.variable,
      location: location || self.location
    )
  node.comments.concat(comments.map(&:copy))
  node
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  {
    exceptions: exceptions,
    variable: variable,
    location: location,
    comments: comments
  }
end

def format(q)

def format(q)
  q.group do
    if exceptions
      q.text(" ")
      q.format(exceptions)
    end
    if variable
      q.text(" => ")
      q.format(variable)
    end
  end
end

def initialize(exceptions:, variable:, location:)

def initialize(exceptions:, variable:, location:)
  @exceptions = exceptions
  @variable = variable
  @location = location
  @comments = []
end