parameters: (self, usertype, kind)
return_statement: return {usertype.name: {'fields': fields, 'kind': kind, 'size': usertype.size}}
docstring: Produces a single usertype
docstring_summary: Produces a single usertype
docstring_tokens: Produces a single usertype
function: def _format_usertype(self, usertype, kind) -> Dict:
          """Produces a single usertype"""
          fields = {}  # type: Dict[str, Dict[str, Any]]
          [fields.update(self._format_field(s)) for s in usertype.fieldlist.substructs]
          return {usertype.name: {'fields': fields, 'kind': kind, 'size': usertype.size}}
function_tokens: def _format_usertype ( self , usertype , kind ) -> Dict : fields = { } # type: Dict[str, Dict[str, Any]] [ fields . update ( self . _format_field ( s ) ) for s in usertype . fieldlist . substructs ] return { usertype . name : { 'fields' : fields , 'kind' : kind , 'size' : usertype . size } }