(vl-parse-list-of-ordered-port-connections &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-list-of-ordered-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-ordered-port-connections)) (declare (ignorable __function__)) (seq tokstream (atts := (vl-parse-0+-attribute-instances)) (when (vl-is-token? :vl-comma) (:= (vl-match)) (rest := (vl-parse-list-of-ordered-port-connections)) (return (cons (make-vl-plainarg :expr nil :atts atts) rest))) (when (vl-is-token? :vl-rparen) (return (list (make-vl-plainarg :expr nil :atts atts)))) (expr := (vl-parse-expression)) (when (vl-is-token? :vl-comma) (:= (vl-match)) (rest := (vl-parse-list-of-ordered-port-connections))) (return (cons (make-vl-plainarg :expr expr :atts atts) rest)))))
Theorem:
(defthm vl-parse-list-of-ordered-port-connections-fails-gracefully (implies (mv-nth 0 (vl-parse-list-of-ordered-port-connections)) (not (mv-nth 1 (vl-parse-list-of-ordered-port-connections)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-list-of-ordered-port-connections (iff (vl-warning-p (mv-nth 0 (vl-parse-list-of-ordered-port-connections))) (mv-nth 0 (vl-parse-list-of-ordered-port-connections))))
Theorem:
(defthm vl-parse-list-of-ordered-port-connections-result (implies (and t) (vl-plainarglist-p (mv-nth 1 (vl-parse-list-of-ordered-port-connections)))))
Theorem:
(defthm vl-parse-list-of-ordered-port-connections-true-listp (true-listp (mv-nth 1 (vl-parse-list-of-ordered-port-connections))) :rule-classes :type-prescription)
Theorem:
(defthm vl-parse-list-of-ordered-port-connections-count-weak (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-list-of-ordered-port-connections))) (vl-tokstream-measure)) :rule-classes ((:rewrite) (:linear)))