code: def parse_doc(s):
      
      if not s:
          return
      doc = DocObject()
      tag = None
      s = s[3:-2]  # remove '/**' and '*/'
      for line in s.splitlines():
          line = line.lstrip(' *')  # strip a ' ' and '*' from start
          if not line:
              tag = None  # on empty line reset the tag information
          elif line[0] == '@':
              line = line[1:]
              res = line.split(maxsplit=1)
              if len(res) == 0:
                  continue
              tag = res[0]
              if len(res) == 1:
                  doc.add_tag(tag, True)
              elif len(res) == 2:
                  value = res[1]
                  doc.add_tag(tag, value)
          elif tag:  # append to previous matched tag
              doc.add_tag(tag, line)
          else: # append any loose lines to description
              doc.add_tag('description', line)
      return doc
docs: parse a comment in the format of JavaDoc and returns an object, where each JavaDoc tag
          is a property of the object.