Function: combobulate-procedure-start-matches

combobulate-procedure-start-matches is a natively compiled function defined in combobulate-procedure.el.

Signature

(combobulate-procedure-start-matches PT-OR-NODE &optional PROCEDURES)

Documentation

Return nodes that match a procedure at PT-OR-NODE.

If PROCEDURES is not given, use combobulate-default-procedures instead.

Unlike combobulate-procedure-start, this function returns the the struct entry matched-nodes of the matching procedure, if it exists, and nil if not.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-procedure.el
(defun combobulate-procedure-start-matches (pt-or-node &optional procedures)
  "Return nodes that match a procedure at PT-OR-NODE.

If PROCEDURES is not given, use `combobulate-default-procedures'
instead.

Unlike `combobulate-procedure-start', this function returns the
the struct entry `matched-nodes' of the matching procedure, if it
exists, and nil if not."
  (when-let (procedure (car-safe (combobulate-procedure-start pt-or-node procedures)))
    (cl-assert (combobulate-procedure-result-p procedure) t
               "Expected a `combobulate-procedure-result' object, but got `%s'"
               procedure)
    (combobulate-procedure-result-matched-nodes procedure)))