class RuboCop::Cop::InternalAffairs::CopDescription

def range(node, comment_line)

def range(node, comment_line)
  source_buffer = node.source_range.source_buffer
  begin_pos = node.source_range.begin_pos
  begin_pos += comment_index(node, comment_line)
  end_pos = begin_pos + comment_body(comment_line).length
  Parser::Source::Range.new(source_buffer, begin_pos, end_pos)
end