You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: to_tt_only.rb
    path of file: ./repos/truffleruby/lib/mri/rdoc/markup
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
##
# Extr
    
  def accept_list_item_start list_item
    case @list_type.last
    when :NOTE, :LABEL then
      Array(list_item.label).map do |label|
        tt_sections label
      end.flatten
    end
  end