Pretty-print a function declarator.
(pprint-fun-declor declor) → part
If the parameter list is empty,
we pretty-print
Function:
(defun pprint-fun-declor (declor) (declare (xargs :guard (fun-declorp declor))) (let ((__function__ 'pprint-fun-declor)) (declare (ignorable __function__)) (fun-declor-case declor :base (msg "~@0(~@1)" (pprint-ident declor.name) (if (consp declor.params) (pprint-comma-sep (pprint-param-declon-list declor.params)) "void")) :pointer (msg "*~@0" (pprint-fun-declor declor.decl)))))
Theorem:
(defthm msgp-of-pprint-fun-declor (b* ((part (pprint-fun-declor declor))) (msgp part)) :rule-classes :rewrite)
Theorem:
(defthm pprint-fun-declor-of-fun-declor-fix-declor (equal (pprint-fun-declor (fun-declor-fix declor)) (pprint-fun-declor declor)))
Theorem:
(defthm pprint-fun-declor-fun-declor-equiv-congruence-on-declor (implies (fun-declor-equiv declor declor-equiv) (equal (pprint-fun-declor declor) (pprint-fun-declor declor-equiv))) :rule-classes :congruence)