Function: cider-xref-tree--implements-eval-plan
cider-xref-tree--implements-eval-plan is a byte-compiled function
defined in cider-xref-tree.el.
Signature
(cider-xref-tree--implements-eval-plan VAR)
Documentation
Build an implementations plan for VAR via the client-side tooling eval.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--implements-eval-plan (var)
"Build an implementations plan for VAR via the client-side tooling eval."
(let ((result (cider-xref-tree--implements var)))
(pcase (car result)
('nil (list :kind nil))
("protocol"
(list :kind "protocol"
:title (format "Implementations of %s" var)
:empty-noun "extenders"
:empty-hint (concat " (inline defrecord/deftype impls need"
" cider-nrepl's who-implements op)")
:nodes (mapcar #'cider-xref-tree--name-node (cdr result))))
("multimethod"
(list :kind "multimethod"
:title (format "Methods of %s" var)
:empty-noun "dispatch values"
:nodes (cider-xref-tree--multimethod-nodes var (cdr result))))
(_ (list :kind "other")))))