(vls-get-summary origname data) → ans
Function:
(defun vls-get-summary (origname data) (declare (xargs :guard (and (stringp origname) (vls-data-p data)))) (let ((__function__ 'vls-get-summary)) (declare (ignorable __function__)) (b* (((vls-data data)) (desc (or (cdr (hons-assoc-equal origname data.orig-descalist)) (vl-find-description-insensitive origname data.orig-descalist))) ((unless desc) (vls-success :json (bridge::json-encode "NIL")))) (vls-success :json (bridge::json-encode (vl-description-summary desc))))))
Theorem:
(defthm stringp-of-vls-get-summary (b* ((ans (vls-get-summary origname data))) (stringp ans)) :rule-classes :type-prescription)