Function: cider-tree-view-node-on-visit

cider-tree-view-node-on-visit is a byte-compiled function defined in cider-tree-view.el.

Signature

(cider-tree-view-node-on-visit cider-tree-view-node-on-visit X)

Documentation

Access slot "on-visit" of cider-tree-view-node struct X.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-tree-view.el
(cl-defstruct (cider-tree-view-node (:constructor cider-tree-view-node-create)
                                    (:copier nil))
  "A single node in a `cider-tree-view' buffer.
LABEL is the (already fontified) string shown for the node.  ON-VISIT, when
non-nil, is a function of no arguments run as the node's primary action.
CHILDREN-FN, when non-nil, is a function of no arguments returning a list of
child `cider-tree-view-node's; its presence is what makes a node expandable.
VALUE is an arbitrary payload a consumer can attach and read back via
`cider-tree-view-node-at-point' (e.g. to act on the thing the node names).
The remaining slots are display state managed by this module."
  label
  on-visit
  children-fn
  value
  (expanded nil)
  (children 'unloaded))