class RuboCop::AST::ProcessedSource

def each_comment_in_lines(line_range)

Enumerates on the comments contained with the given `line_range`
def each_comment_in_lines(line_range)
  return to_enum(:each_comment_in_lines, line_range) unless block_given?
  line_range.each do |line|
    if (comment = comment_index[line])
      yield comment
    end
  end
end