parameters: (self, string, desc)
docstring: Parses a given string and adds it to the output as a translatable chunk
      with a given description.
  
      Args:
        string: The message string to parse.
        desc: The description of the message (for the translators).
docstring_summary: Parses a given string and adds it to the output as a translatable chunk
      with a given description.
docstring_tokens: Parses a given string and adds it to the output as a translatable chunk with a given description .
function: def _ParseMessage(self, string, desc):
      '''Parses a given string and adds it to the output as a translatable chunk
      with a given description.
  
      Args:
        string: The message string to parse.
        desc: The description of the message (for the translators).
      '''
      msg = tclib.Message(description=desc)
      xml = '<msg>' + string + '</msg>'
      try:
        node = minidom.parseString(xml).childNodes[0]
      except ExpatError:
        reason = '''Input isn't valid XML (has < & > been escaped?): ''' + string
        six.reraise(Exception, reason, sys.exc_info()[2])
  
      for child in node.childNodes:
        if child.nodeType == minidom.Node.TEXT_NODE:
          msg.AppendText(child.data)
        elif child.nodeType == minidom.Node.ELEMENT_NODE:
          if child.tagName == 'ph':
            self._ParsePlaceholder(child, msg)
          else:
            raise Exception("Not implemented.")
        else:
          raise Exception("Not implemented.")
      self.skeleton_.append(self.uberclique.MakeClique(msg))
function_tokens: def _ParseMessage ( self , string , desc ) : msg = tclib . Message ( description = desc ) xml = '<msg>' + string + '</msg>' try : node = minidom . parseString ( xml ) . childNodes [ 0 ] except ExpatError : reason = '''Input isn't valid XML (has < & > been escaped?): ''' + string six . reraise ( Exception , reason , sys . exc_info ( ) [ 2 ] ) for child in node . childNodes : if child . nodeType == minidom . Node . TEXT_NODE : msg . AppendText ( child . data ) elif child . nodeType == minidom . Node . ELEMENT_NODE : if child . tagName == 'ph' : self . _ParsePlaceholder ( child , msg ) else : raise Exception ( "Not implemented." ) else : raise Exception ( "Not implemented." ) self . skeleton_ . append ( self . uberclique . MakeClique ( msg ) )