code: def declalltypes(self):
          
          for f in self.body:
              if (hasattr(f, '_ctype')
                      and f._ctype._storage == Storages.TYPEDEF):
                  yield f
docs: generator on all declaration of type