(vl-parse-list-of-port-connections &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-list-of-port-connections-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-parse-list-of-port-connections)) (declare (ignorable __function__)) (b* ((backup (vl-tokstream-save)) ((mv erp val tokstream) (seq tokstream (args := (vl-parse-list-of-ordered-port-connections)) (return (make-vl-arguments-plain :args args)))) ((unless erp) (mv erp val tokstream)) (tokstream (vl-tokstream-restore backup))) (vl-parse-list-of-named-port-connections))))
Theorem:
(defthm vl-parse-list-of-port-connections-fails-gracefully (implies (mv-nth 0 (vl-parse-list-of-port-connections)) (not (mv-nth 1 (vl-parse-list-of-port-connections)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-list-of-port-connections (iff (vl-warning-p (mv-nth 0 (vl-parse-list-of-port-connections))) (mv-nth 0 (vl-parse-list-of-port-connections))))
Theorem:
(defthm vl-parse-list-of-port-connections-result (implies (and t) (equal (vl-arguments-p (mv-nth 1 (vl-parse-list-of-port-connections))) (not (mv-nth 0 (vl-parse-list-of-port-connections))))))
Theorem:
(defthm vl-parse-list-of-port-connections-count-weak (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-list-of-port-connections))) (vl-tokstream-measure)) :rule-classes ((:rewrite) (:linear)))