parameters: (self, message)
return_statement: return self._next_key - 1
docstring: Add message and return assigned key.
docstring_summary: Add message and return assigned key.
docstring_tokens: Add message and return assigned key .
function: def add(self, message):
          """Add message and return assigned key."""
          self._lookup()
          self._toc[self._next_key] = self._append_message(message)
          self._next_key += 1
          self._pending = True
          return self._next_key - 1
function_tokens: def add ( self , message ) : self . _lookup ( ) self . _toc [ self . _next_key ] = self . _append_message ( message ) self . _next_key += 1 self . _pending = True return self . _next_key - 1