def process_code(code)
      return {
        :tagname => code[:tagname],
        # An auto-detected name might be "MyClass.prototype.myMethod" -
        # for member name we only want the last "myMethod" part.
        :name => code[:name] ? code[:name].split(/\./).last : nil,

        :autodetected => code[:autodetected],
        :inheritdoc => code[:inheritdoc],
        :static => code[:static],
        :private => code[:private],
        :inheritable => code[:inheritable],
        :linenr => code[:linenr],
      }
    end
def process_code(code)
      return {
        :tagname => code[:tagname],
        # An auto-detected name might be "MyClass.prototype.myMethod" -
        # for member name we only want the last "myMethod" part.
        :name => code[:name] ? code[:name].split(/\./).last : nil,

        :autodetected => code[:autodetected],
        :inheritdoc => code[:inheritdoc],
        :static => code[:static],
        :private => code[:private],
        :inheritable => code[:inheritable],
        :linenr => code[:linenr],
      }
    end
Extracts the fields auto-detected from code that are relevant to
 the member type and returns a hash with them.

 The implementation here extracts fields applicable to all member
 types.  When additional member-specific fields are to be
 extracted, override this method, but be sure to call the
 superclass method too.

 For example inside Method tag we might additionally want to
 extract :type and :default:

     def process_code(code)
       h = super(code)
       h[:type] = code[:type]
       h[:default] = code[:default]
       h
     end