(vl-parse-foreach-statement-array-part &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-foreach-statement-array-part-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-parse-foreach-statement-array-part)) (declare (ignorable __function__)) (seq tokstream (scopes := (vl-parse-0+-scope-prefixes)) (hid := (vl-parse-hierarchical-identifier nil)) (return (vl-tack-scopes-onto-hid scopes hid)))))
Theorem:
(defthm vl-parse-foreach-statement-array-part-fails-gracefully (implies (mv-nth 0 (vl-parse-foreach-statement-array-part)) (not (mv-nth 1 (vl-parse-foreach-statement-array-part)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-foreach-statement-array-part (iff (vl-warning-p (mv-nth 0 (vl-parse-foreach-statement-array-part))) (mv-nth 0 (vl-parse-foreach-statement-array-part))))
Theorem:
(defthm vl-parse-foreach-statement-array-part-result (implies (and t) (equal (vl-scopeexpr-p (mv-nth 1 (vl-parse-foreach-statement-array-part))) (not (mv-nth 0 (vl-parse-foreach-statement-array-part))))))
Theorem:
(defthm vl-parse-foreach-statement-array-part-count-strong (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-foreach-statement-array-part))) (vl-tokstream-measure)) (implies (not (mv-nth 0 (vl-parse-foreach-statement-array-part))) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-foreach-statement-array-part))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))