vendor/bundle/ruby/3.0.0/gems/rubocop-ast-1.16.0/lib/rubocop/ast/node.rb
def left_sibling
        i = sibling_index
        return if i.nil? || i.zero?

        parent.children[i - 1].freeze
      end
# Use is discouraged, this is a potentially slow method and can lead
# to even slower algorithms
# @return [Node, nil] the left (aka previous) sibling
Use is discouraged, this is a potentially slow method and can lead
to even slower algorithms
Use is discouraged this is a potentially slow method and can lead to even slower algorithms
def left_sibling
        i = sibling_index
        return if i.nil? || i.zero?
        parent.children[i - 1].freeze
      end
def left_sibling i = sibling_index return if i . nil? || i . zero? parent . children [ i - 1 ] . freeze end
Use is discouraged, this is a potentially slow method and can lead
to even slower algorithms
Use is discouraged this is a potentially slow method and can lead to even slower algorithms
the left (aka previous) sibling
the left ( aka previous ) sibling
Node, nil