Function: cl-derived-type-class-name

cl-derived-type-class-name is a byte-compiled function defined in cl-preloaded.el.gz.

Signature

(cl-derived-type-class-name cl-derived-type-class-name X)

Documentation

Access slot "name" of cl-derived-type-class struct X.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-preloaded.el.gz
;;;; Support for `cl-deftype'.

;; FIXME: The `cl-deftype-handler' property should arguably be turned
;; into a field of this struct (but it has performance and
;; compatibility implications, so let's not make that change for now).
(cl-defstruct
    (cl-derived-type-class
     (:include cl--class)
     (:noinline t)
     (:constructor nil)
     (:constructor cl--derived-type-class-make
                   (name
                    docstring
                    parent-types
                    &aux (parents
                          (mapcar
                           (lambda (type)
                             (or (cl--find-class type)
                                 (error "Unknown type: %S" type)))
                           parent-types))))
     (:copier nil))
  "Type descriptors for derived types, i.e. defined by `cl-deftype'.")