(vl-parse-module-parameter-port-list-aux-2005 &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-module-parameter-port-list-aux-2005-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-aux-2005)) (declare (ignorable __function__)) (seq tokstream (first := (vl-parse-param-or-localparam-declaration nil '(:vl-kwd-parameter))) (when (vl-is-token? :vl-comma) (:= (vl-match)) (rest := (vl-parse-module-parameter-port-list-aux-2005))) (return (append first rest)))))
Theorem:
(defthm vl-parse-module-parameter-port-list-aux-2005-fails-gracefully (implies (mv-nth 0 (vl-parse-module-parameter-port-list-aux-2005)) (not (mv-nth 1 (vl-parse-module-parameter-port-list-aux-2005)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-module-parameter-port-list-aux-2005 (iff (vl-warning-p (mv-nth 0 (vl-parse-module-parameter-port-list-aux-2005))) (mv-nth 0 (vl-parse-module-parameter-port-list-aux-2005))))
Theorem:
(defthm vl-parse-module-parameter-port-list-aux-2005-result (implies (and t) (vl-paramdecllist-p (mv-nth 1 (vl-parse-module-parameter-port-list-aux-2005)))))
Theorem:
(defthm vl-parse-module-parameter-port-list-aux-2005-true-listp (true-listp (mv-nth 1 (vl-parse-module-parameter-port-list-aux-2005))) :rule-classes :type-prescription)
Theorem:
(defthm vl-parse-module-parameter-port-list-aux-2005-count-strong (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-module-parameter-port-list-aux-2005))) (vl-tokstream-measure)) (implies (not (mv-nth 0 (vl-parse-module-parameter-port-list-aux-2005))) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-module-parameter-port-list-aux-2005))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))