(vl-parse-combinational-body &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-combinational-body-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-parse-combinational-body)) (declare (ignorable __function__)) (seq tokstream (:= (vl-match-token :vl-kwd-table)) (ans := (vl-parse-combinational-entries-until-endtable)) (:= (vl-match-token :vl-kwd-endtable)) (return ans))))
Theorem:
(defthm vl-parse-combinational-body-fails-gracefully (implies (mv-nth 0 (vl-parse-combinational-body)) (not (mv-nth 1 (vl-parse-combinational-body)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-combinational-body (iff (vl-warning-p (mv-nth 0 (vl-parse-combinational-body))) (mv-nth 0 (vl-parse-combinational-body))))
Theorem:
(defthm vl-parse-combinational-body-result (implies (and t) (vl-udptable-p (mv-nth 1 (vl-parse-combinational-body)))))
Theorem:
(defthm vl-parse-combinational-body-count-strong (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-combinational-body))) (vl-tokstream-measure)) (implies (not (mv-nth 0 (vl-parse-combinational-body))) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-combinational-body))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))