Function: majutsu-template--lookup-method-dispatch

majutsu-template--lookup-method-dispatch is a natively compiled function defined in majutsu-template.el.

Signature

(majutsu-template--lookup-method-dispatch RECEIVER-TYPE NAME)

Documentation

Return (SEMANTIC-TYPE . META) for method NAME on RECEIVER-TYPE.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--lookup-method-dispatch (receiver-type name)
  "Return `(SEMANTIC-TYPE . META)' for method NAME on RECEIVER-TYPE."
  (cl-loop for (semantic-type . dispatch-kind)
           in (majutsu-template--method-dispatch-candidates receiver-type)
           for meta = (gethash (cons dispatch-kind name)
                               majutsu-template--method-registry)
           when meta
           return (cons semantic-type meta)))