(self)
Consumes a string value.

    Returns:
      The string parsed.

    Raises:
      ParseError: If a string value couldn't be consumed.
Consumes a string value.
Consumes a string value .
def ConsumeString(self):
    """Consumes a string value.

    Returns:
      The string parsed.

    Raises:
      ParseError: If a string value couldn't be consumed.
    """
    the_bytes = self.ConsumeByteString()
    try:
      return six.text_type(the_bytes, 'utf-8')
    except UnicodeDecodeError as e:
      raise self._StringParseError(e)
def ConsumeString ( self ) : the_bytes = self . ConsumeByteString ( ) try : return six . text_type ( the_bytes , 'utf-8' ) except UnicodeDecodeError as e : raise self . _StringParseError ( e )