parameters: (self, fragment)
docstring: Add a fragment to the message
docstring_summary: Add a fragment to the message
docstring_tokens: Add a fragment to the message
function: def add_fragment(self, fragment):
          """ Add a fragment to the message
          """
          ids = self._extract_ids(fragment)
          if (((not self._mess_schema) and (ids[0] == 1)) or not self._message_id):
              self._init_from_fragment(fragment)
          if ids[2] != self._message_id:
              raise ValueError("The message ID is not the same as previous fragments")
          if ids[1] != self._fragment_count:
              raise ValueError("The number of fragments is not the same as previous fragments")
          self._fragments[int(ids[0])] = fragment
function_tokens: def add_fragment ( self , fragment ) : ids = self . _extract_ids ( fragment ) if ( ( ( not self . _mess_schema ) and ( ids [ 0 ] == 1 ) ) or not self . _message_id ) : self . _init_from_fragment ( fragment ) if ids [ 2 ] != self . _message_id : raise ValueError ( "The message ID is not the same as previous fragments" ) if ids [ 1 ] != self . _fragment_count : raise ValueError ( "The number of fragments is not the same as previous fragments" ) self . _fragments [ int ( ids [ 0 ] ) ] = fragment