class YARP::RescueModifierNode

^^^^^^^^^^^^^^
foo rescue nil
Represents an expression modified with a rescue.

def accept(visitor)

def accept: (visitor: Visitor) -> void
def accept(visitor)
  visitor.visit_rescue_modifier_node(self)
end

def child_nodes

def child_nodes: () -> Array[nil | Node]
def child_nodes
  [expression, rescue_expression]
end

def deconstruct_keys(keys)

def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location]
def deconstruct_keys(keys)
  { expression: expression, keyword_loc: keyword_loc, rescue_expression: rescue_expression, location: location }
end

def initialize(expression, keyword_loc, rescue_expression, location)

def initialize: (expression: Node, keyword_loc: Location, rescue_expression: Node, location: Location) -> void
def initialize(expression, keyword_loc, rescue_expression, location)
  @expression = expression
  @keyword_loc = keyword_loc
  @rescue_expression = rescue_expression
  @location = location
end

def keyword

def keyword: () -> String
def keyword
  keyword_loc.slice
end

def set_newline_flag(newline_marked)

def set_newline_flag(newline_marked)
  expression.set_newline_flag(newline_marked)
end