Function: cider-xref-tree--type-protocol-nodes
cider-xref-tree--type-protocol-nodes is a byte-compiled function
defined in cider-xref-tree.el.
Signature
(cider-xref-tree--type-protocol-nodes SYMBOL)
Documentation
Return tree nodes for the protocols implemented by the type SYMBOL.
Uses the cider/type-protocols op when available (so each jumps straight to its
source), else the client-side tooling eval.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--type-protocol-nodes (symbol)
"Return tree nodes for the protocols implemented by the type SYMBOL.
Uses the `cider/type-protocols' op when available (so each jumps straight to its
source), else the client-side tooling eval."
(if (cider-nrepl-op-supported-p "cider/type-protocols")
(mapcar #'cider-xref-tree--impl-node
(cider-sync-request:type-protocols (cider-current-ns) symbol))
(mapcar #'cider-xref-tree--name-node
(cider-xref-tree--protocol-names
cider-xref-tree--type-protocols-code symbol))))