Recognizer for vl-paramdecl structures.
(vl-paramdecl-p x) → *
Function:
(defun vl-paramdecl-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-paramdecl-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-paramdecl) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-car (cdr x))) (std::prod-consp (std::prod-cdr (std::prod-car (cdr x)))) (std::prod-consp (std::prod-cdr (cdr x))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (b* ((name (std::prod-car (std::prod-car (cdr x)))) (type (std::prod-car (std::prod-cdr (std::prod-car (cdr x))))) (loc (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x))))) (localp (std::prod-car (std::prod-cdr (cdr x)))) (overriddenp (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (atts (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (and (stringp name) (vl-paramtype-p type) (vl-location-p loc) (booleanp localp) (booleanp overriddenp) (vl-atts-p atts))))))
Theorem:
(defthm consp-when-vl-paramdecl-p (implies (vl-paramdecl-p x) (consp x)) :rule-classes :compound-recognizer)