Function: cider-xref-tree--protocol-names
cider-xref-tree--protocol-names is a byte-compiled function defined in
cider-xref-tree.el.
Signature
(cider-xref-tree--protocol-names CODE ARG)
Documentation
Evaluate CODE with ARG spliced in and return its list of protocol names.
CODE must yield a vector of qualified-name strings; returns nil on failure.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--protocol-names (code arg)
"Evaluate CODE with ARG spliced in and return its list of protocol names.
CODE must yield a vector of qualified-name strings; returns nil on failure."
(when-let* ((result (cider-sync-tooling-eval
(format code arg) (cider-current-ns)))
(value (nrepl-dict-get result "value"))
(vec (ignore-errors (parseedn-read-str value))))
(when (vectorp vec)
(append vec nil))))