code: def ENUM_DECL(self, cursor):
          
          name = self.get_unique_name(cursor)
          if self.is_registered(name):
              return self.get_registered(name)
          align = cursor.type.get_align()
          size = cursor.type.get_size()
          obj = self.register(name, typedesc.Enumeration(name, size, align))
          self.set_location(obj, cursor)
          self.set_comment(obj, cursor)
          # parse all children
          for child in cursor.get_children():
              self.parse_cursor(child)  # FIXME, where is the starElement
          return obj
docs: Gets the enumeration declaration.