parameters: (self)
return_statement: return dict((s, getattr(self, s)) for s in self.__slots__)
docstring: @return: dictionary representation of context, which is
          useful for producing error messages
          @rtype: dict
function: def as_dictionary(self):
          """
          @return: dictionary representation of context, which is
          useful for producing error messages
          @rtype: dict
          """
          return dict((s, getattr(self, s)) for s in self.__slots__)
function_tokens: def as_dictionary ( self ) : return dict ( ( s , getattr ( self , s ) ) for s in self . __slots__ )