Function: combobulate-linear-siblings
combobulate-linear-siblings is a natively compiled function defined in
combobulate-navigation.el.
Signature
(combobulate-linear-siblings NODE &optional ANONYMOUS)
Documentation
Return all linear siblings of NODE.
Linear siblings are nodes that are at the same level in the syntax tree.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-navigation.el
(defun combobulate-linear-siblings (node &optional anonymous)
"Return all linear siblings of NODE.
Linear siblings are nodes that are at the same level in the
syntax tree."
(let ((siblings '()))
(cl-do ((prev (combobulate-node-prev-sibling node anonymous)
(combobulate-node-prev-sibling prev anonymous)))
((null prev))
(push prev siblings))
(setq siblings (nreverse siblings))
(push node siblings)
(cl-do ((next (combobulate-node-next-sibling node anonymous)
(combobulate-node-next-sibling next anonymous)))
((null next))
(push next siblings))
(nreverse siblings)))