Get the warnings field from a vl-parsestate.
(vl-parsestate->warnings x) → warnings
This is an ordinary field accessor created by defprod.
Function:
(defun vl-parsestate->warnings$inline (x) (declare (xargs :guard (vl-parsestate-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-parsestate->warnings)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-warninglist-fix (cdr x))) :exec (cdr x))))
Theorem:
(defthm vl-warninglist-p-of-vl-parsestate->warnings (b* ((warnings (vl-parsestate->warnings$inline x))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-parsestate->warnings$inline-of-vl-parsestate-fix-x (equal (vl-parsestate->warnings$inline (vl-parsestate-fix x)) (vl-parsestate->warnings$inline x)))
Theorem:
(defthm vl-parsestate->warnings$inline-vl-parsestate-equiv-congruence-on-x (implies (vl-parsestate-equiv x x-equiv) (equal (vl-parsestate->warnings$inline x) (vl-parsestate->warnings$inline x-equiv))) :rule-classes :congruence)