(vl-parse-function-statements-aux &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-function-statements-aux-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-parse-function-statements-aux)) (declare (ignorable __function__)) (seq tokstream (when (vl-is-some-token? '(:vl-kwd-endfunction :vl-kwd-endtask)) (return nil)) (stmt1 := (vl-parse-statement-or-null)) (rest := (vl-parse-function-statements-aux)) (return (cons stmt1 rest)))))
Theorem:
(defthm vl-parse-function-statements-aux-fails-gracefully (implies (mv-nth 0 (vl-parse-function-statements-aux)) (not (mv-nth 1 (vl-parse-function-statements-aux)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-function-statements-aux (iff (vl-warning-p (mv-nth 0 (vl-parse-function-statements-aux))) (mv-nth 0 (vl-parse-function-statements-aux))))
Theorem:
(defthm vl-parse-function-statements-aux-result (implies (and t) (vl-stmtlist-p (mv-nth 1 (vl-parse-function-statements-aux)))))
Theorem:
(defthm vl-parse-function-statements-aux-true-listp (true-listp (mv-nth 1 (vl-parse-function-statements-aux))) :rule-classes :type-prescription)
Theorem:
(defthm vl-parse-function-statements-aux-count-strong-on-value (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-function-statements-aux))) (vl-tokstream-measure)) (implies (mv-nth 1 (vl-parse-function-statements-aux)) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-function-statements-aux))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))