code: def get_fields(self):
          
  
          def visitor(field, children):
              assert field != conf.lib.clang_getNullCursor()
  
              # Create reference to TU so it isn't GC'd before Cursor.
              field._tu = self._tu
              fields.append(field)
              return 1 # continue
          fields = []
          conf.lib.clang_Type_visitFields(self,
                              callbacks['fields_visit'](visitor), fields)
          return iter(fields)
docs: Return an iterator for accessing the fields of this type.