Function: hierarchy--make--cmacro
hierarchy--make--cmacro is a function defined in hierarchy.el.gz.
Signature
(hierarchy--make--cmacro CL-WHOLE &cl-quote &key ROOTS PARENTS CHILDREN DELAYING-PARENTS SEEN-ITEMS)
Documentation
compiler-macro for hierarchy--make.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/hierarchy.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
((let*
((roots
(car
(cdr (or (plist-member --cl-rest-- ':roots) '(nil (list))))))
(parents
(car
(cdr
(or (plist-member --cl-rest-- ':parents)
'(nil (make-hash-table :test 'equal))))))
(children
(car
(cdr
(or (plist-member --cl-rest-- ':children)
'(nil (make-hash-table :test 'equal))))))
(delaying-parents
(car
(cdr
(or (plist-member --cl-rest-- ':delaying-parents)
'(nil (make-hash-table :test 'equal))))))
(seen-items
(car
(cdr
(or (plist-member --cl-rest-- ':seen-items)
'(nil (make-hash-table :test 'equal)))))))
(progn
(let ((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq (car --cl-keys--)
'(:roots :parents :children :delaying-parents
:seen-items :allow-other-keys))
(unless (cdr --cl-keys--)
(error "Missing argument for %s" (car --cl-keys--)))
(setq --cl-keys-- (cdr (cdr --cl-keys--))))
((car (cdr (memq ':allow-other-keys --cl-rest--)))
(setq --cl-keys-- nil))
(t
(error
"Keyword argument %S not one of (:roots :parents :children :delaying-parents :seen-items)"
(car --cl-keys--))))))
(cl-block hierarchy--make--cmacro
(cl--defsubst-expand
'(roots parents children delaying-parents seen-items)
'(cl-block hierarchy--make
(record 'hierarchy roots parents children
delaying-parents seen-items))
nil cl-whole nil roots parents children delaying-parents
seen-items)))))
(cl-struct-hierarchy-tags) nil
"compiler-macro for `hierarchy--make'.\n\n(fn CL-WHOLE &cl-quote &key ROOTS PARENTS CHILDREN DELAYING-PARENTS SEEN-ITEMS)"]