Function: icalendar-ast-node-children-of

icalendar-ast-node-children-of is a byte-compiled function defined in icalendar-ast.el.gz.

Signature

(icalendar-ast-node-children-of TYPE NODE)

Documentation

Return a list of all the children of NODE of type TYPE.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-ast.el.gz
(defun ical:ast-node-children-of (type node)
  "Return a list of all the children of NODE of type TYPE."
  (let (tchildren)
    (dolist (c (ical:ast-node-children node))
      (when (eq type (ical:ast-node-type c))
        (push c tchildren)))
    (nreverse tchildren)))