(vl-parse-list-of-named-port-connections &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-list-of-named-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-named-port-connections)) (declare (ignorable __function__)) (seq tokstream (when (eq (vl-loadconfig->edition config) :verilog-2005) (args := (vl-parse-list-of-named-port-connections-2005)) (return (make-vl-arguments-named :args args :starp nil))) ((args . saw-dot-star) := (vl-parse-list-of-named-port-connections-2012)) (return (make-vl-arguments-named :args args :starp (if saw-dot-star t nil))))))
Theorem:
(defthm vl-parse-list-of-named-port-connections-fails-gracefully (implies (mv-nth 0 (vl-parse-list-of-named-port-connections)) (not (mv-nth 1 (vl-parse-list-of-named-port-connections)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-list-of-named-port-connections (iff (vl-warning-p (mv-nth 0 (vl-parse-list-of-named-port-connections))) (mv-nth 0 (vl-parse-list-of-named-port-connections))))
Theorem:
(defthm vl-parse-list-of-named-port-connections-result (implies (and t) (equal (vl-arguments-p (mv-nth 1 (vl-parse-list-of-named-port-connections))) (not (mv-nth 0 (vl-parse-list-of-named-port-connections))))))
Theorem:
(defthm vl-parse-list-of-named-port-connections-count-strong (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-list-of-named-port-connections))) (vl-tokstream-measure)) (implies (not (mv-nth 0 (vl-parse-list-of-named-port-connections))) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-list-of-named-port-connections))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))