Function: cl--generic-method-specializers

cl--generic-method-specializers is a byte-compiled function defined in cl-generic.el.gz.

Signature

(cl--generic-method-specializers cl--generic-method-specializers X)

Documentation

Access slot "specializers" of cl--generic-method struct X.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-generic.el.gz
(cl-defstruct (cl--generic-method
               (:constructor nil)
               (:constructor cl--generic-make-method
                (specializers qualifiers call-con function))
               (:predicate nil))
 "Type of `cl-generic' method objects.
FUNCTION holds a function containing the actual code of the method.
SPECIALIZERS holds the list of specializers (as long as the number of
mandatory arguments of the method).
QUALIFIERS holds the list of qualifiers.
CALL-CON indicates the calling convention expected by FUNCTION:
- nil: FUNCTION is just a normal function with no extra arguments for
  `call-next-method' or `next-method-p' (which it hence can't use).
- `curried': FUNCTION is a curried function that first takes the
  \"next combined method\" and returns the resulting combined method.
  It can distinguish `next-method-p' by checking if that next method
  is `cl--generic-isnot-nnm-p'.
- t: FUNCTION takes the `call-next-method' function as an extra first
  argument."
  (specializers nil :read-only t :type list)
  (qualifiers   nil :read-only t :type (list-of atom))
  (call-con     nil :read-only t :type symbol)
  (function     nil :read-only t :type function))