vendor/bundle/ruby/3.0.0/gems/rubocop-ast-1.16.0/lib/rubocop/ast/node.rb
def right_sibling
        return unless parent

        parent.children[sibling_index + 1].freeze
      end
# Use is discouraged, this is a potentially slow method and can lead
# to even slower algorithms
# @return [Node, nil] the right (aka next) 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 right_sibling
        return unless parent
        parent.children[sibling_index + 1].freeze
      end
def right_sibling return unless parent parent . children [ sibling_index + 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 right (aka next) sibling
the right ( aka next ) sibling
Node, nil