Function: cl--generic-method-qualifiers

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

Signature

(cl--generic-method-qualifiers CL-X)

Documentation

Access slot "qualifiers" of cl--generic-method struct CL-X.

Aliases

cl-method-qualifiers

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))
  (specializers nil :read-only t :type list)
  (qualifiers   nil :read-only t :type (list-of atom))
  ;; 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 return 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 its first (extra)
  ;;      argument.
  (call-con     nil :read-only t :type symbol)
  (function     nil :read-only t :type function))