Function: cider-resolve-ns-symbols

cider-resolve-ns-symbols is a byte-compiled function defined in cider-resolve.el.

Signature

(cider-resolve-ns-symbols NS)

Documentation

Return a plist of all valid symbols in NS.

Each entry's value is the metadata of the var that the symbol refers to. NS can be the namespace name, or a dict of the namespace itself.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-resolve.el
(defun cider-resolve-ns-symbols (ns)
  "Return a plist of all valid symbols in NS.
Each entry's value is the metadata of the var that the symbol refers to.
NS can be the namespace name, or a dict of the namespace itself."
  (when-let* ((dict (if (stringp ns)
                        (cider-resolve--get-in ns)
                      ns)))
    (nrepl-dbind-response dict (interns _refers aliases)
      (append (cdr interns)
              (nrepl-dict-flat-map (lambda (alias namespace)
                                     (nrepl-dict-flat-map (lambda (sym meta)
                                                            (list (concat alias "/" sym) meta))
                                                          (cider-resolve--get-in namespace "interns")))
                                   aliases)))))