def expand_code(docset)
      results = []

      if docset[:code]
        (docset[:code][:members] || []).each do |m|
          results << code_to_docset(m) unless @constructor_found && JsDuck::Class.constructor?(m)
        end
      end

      results
    end
def expand_code(docset)
      results = []

      if docset[:code]
        (docset[:code][:members] || []).each do |m|
          results << code_to_docset(m) unless @constructor_found && JsDuck::Class.constructor?(m)
        end
      end

      results
    end
Turns auto-detected class members into docsets in their own
 right.