(vl-parse-module-parameter-port-list &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-module-parameter-port-list-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-parse-module-parameter-port-list)) (declare (ignorable __function__)) (seq tokstream (when (eq (vl-loadconfig->edition config) :verilog-2005) (ans := (vl-parse-module-parameter-port-list-2005)) (return ans)) (ans := (vl-parse-module-parameter-port-list-2012)) (return ans))))
Theorem:
(defthm vl-parse-module-parameter-port-list-fails-gracefully (implies (mv-nth 0 (vl-parse-module-parameter-port-list)) (not (mv-nth 1 (vl-parse-module-parameter-port-list)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-module-parameter-port-list (iff (vl-warning-p (mv-nth 0 (vl-parse-module-parameter-port-list))) (mv-nth 0 (vl-parse-module-parameter-port-list))))
Theorem:
(defthm vl-parse-module-parameter-port-list-result (implies (and t) (vl-paramdecllist-p (mv-nth 1 (vl-parse-module-parameter-port-list)))))
Theorem:
(defthm vl-parse-module-parameter-port-list-true-listp (true-listp (mv-nth 1 (vl-parse-module-parameter-port-list))) :rule-classes :type-prescription)
Theorem:
(defthm vl-parse-module-parameter-port-list-count-strong (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-module-parameter-port-list))) (vl-tokstream-measure)) (implies (not (mv-nth 0 (vl-parse-module-parameter-port-list))) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-module-parameter-port-list))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))