(self, usertype, kind)
return {usertype.name: {'fields': fields, 'kind': kind, 'size': usertype.size}}
Produces a single usertype
Produces a single usertype
Produces a single usertype
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}}
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 } }