parameters: (self)
return_statement: return {flagname: getattr(self, flagname)
                  for flagname in self._flags.values()}
docstring: Returns a key-value dict for all flags.
docstring_summary: Returns a key-value dict for all flags.
docstring_tokens: Returns a key - value dict for all flags .
function: def as_dict(self):
          """
          Returns a key-value dict for all flags.
          """
          return {flagname: getattr(self, flagname)
                  for flagname in self._flags.values()}
function_tokens: def as_dict ( self ) : return { flagname : getattr ( self , flagname ) for flagname in self . _flags . values ( ) }