original_docstring: Parse the list in string
  
          Args:
              string (str): the string to parse
  
          Raises:
              ParseError if any parsing error occurs.
          
docstring: Parse the list in string
  Args:
  string (str): the string to parse
  
  ParseError if any parsing error occurs.
docstring_tokens: Parse the list in string Args : string ( str ) : the string to parse ParseError if any parsing error occurs .
code: def parse(self, string):
          """Parse the list in string
  
          Args:
              string (str): the string to parse
  
          Raises:
              ParseError if any parsing error occurs.
          """
          kpos = 0
          index = 0
          while kpos < len(string) and string[kpos] != "\n":
              split_parts = re.split(self._regexp, string[kpos:], 1)
              if len(split_parts) == 0:
                  break
  
              value_str = split_parts[0]
  
              key, value = self._decoders.decode(index, value_str)
  
              meta = KeyMetadata(
                  kpos=kpos,
                  vpos=kpos,
                  kstring=value_str,
                  vstring=value_str,
              )
              self._keyval.append(KeyValue(key, value, meta))
  
              kpos += len(value_str) + 1
              index += 1
code_tokens: def parse ( self , string ) : kpos = 0 index = 0 while kpos < len ( string ) and string [ kpos ] != "\n" : split_parts = re . split ( self . _regexp , string [ kpos : ] , 1 ) if len ( split_parts ) == 0 : break value_str = split_parts [ 0 ] key , value = self . _decoders . decode ( index , value_str ) meta = KeyMetadata ( kpos = kpos , vpos = kpos , kstring = value_str , vstring = value_str , ) self . _keyval . append ( KeyValue ( key , value , meta ) ) kpos += len ( value_str ) + 1 index += 1
short_docstring: Parse the list in string
  Args:
  string (str): the string to parse
short_docstring_tokens: Parse the list in string Args : string ( str ) : the string to parse
comment: """Parse the list in string
  
          Args:
              string (str): the string to parse
  
          Raises:
              ParseError if any parsing error occurs.
          """