Recognizer for vl-parsestate structures.
(vl-parsestate-p x) → *
Function:
(defun vl-parsestate-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-parsestate-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-parsestate) (std::prod-consp (cdr x)) (b* ((usertypes (std::prod-car (cdr x))) (warnings (std::prod-cdr (cdr x)))) (and (vl-usertypes-p usertypes) (vl-warninglist-p warnings))))))
Theorem:
(defthm consp-when-vl-parsestate-p (implies (vl-parsestate-p x) (consp x)) :rule-classes :compound-recognizer)