Function: cider-xref-tree--children

cider-xref-tree--children is a byte-compiled function defined in cider-xref-tree.el.

Signature

(cider-xref-tree--children VAR OP NS ANCESTORS)

Documentation

Build child nodes of VAR by calling OP in namespace NS.

OP is cider-sync-request:fn-refs (callers) or cider-sync-request:fn-deps
(callees). Every name OP returns is already namespace-qualified, so NS only
disambiguates the (qualified) root and is threaded through unchanged; ANCESTORS is the path so far, used by cider-xref-tree--node for cycle detection.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--children (var op ns ancestors)
  "Build child nodes of VAR by calling OP in namespace NS.
OP is `cider-sync-request:fn-refs' (callers) or `cider-sync-request:fn-deps'
\(callees).  Every name OP returns is already namespace-qualified, so NS only
disambiguates the (qualified) root and is threaded through unchanged; ANCESTORS
is the path so far, used by `cider-xref-tree--node' for cycle detection."
  (mapcar (lambda (dict)
            (cider-xref-tree--node (nrepl-dict-get dict "name") op ns ancestors))
          (funcall op ns var)))