code: def enum_type(self):
          
          if not hasattr(self, '_enum_type'):
              assert self.kind == CursorKind.ENUM_DECL
              self._enum_type = conf.lib.clang_getEnumDeclIntegerType(self)
  
          return self._enum_type
docs: Return the integer type of an enum declaration.
  
          Returns a Type corresponding to an integer. If the cursor is not for an
          enum, this raises.