class YARP::RescueModifierNode
^^^^^^^^^^^^^^
foo rescue nil
Represents an expression modified with a rescue.
def accept(visitor)
def accept(visitor) visitor.visit_rescue_modifier_node(self) end
def child_nodes
def child_nodes [expression, rescue_expression] end
def deconstruct_keys(keys)
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, keyword_loc, rescue_expression, location) @expression = expression @keyword_loc = keyword_loc @rescue_expression = rescue_expression @location = location end
def keyword
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