Match
(vl-parse-real-declaration atts &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Grammar:
real_declaration ::= 'real' list_of_variable_identifiers ';'
Function:
(defun vl-parse-real-declaration-fn (atts tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (declare (xargs :guard (vl-atts-p atts))) (let ((__function__ 'vl-parse-real-declaration)) (declare (ignorable __function__)) (seq tokstream (kwd := (vl-match-token :vl-kwd-real)) (temps := (vl-parse-list-of-variable-identifiers)) (:= (vl-match-token :vl-semi)) (return (vl-build-vardecls :temps temps :constp nil :varp nil :lifetime nil :type *vl-plain-old-real-type* :atts atts :loc (vl-token->loc kwd))))))
Theorem:
(defthm vl-parse-real-declaration-fails-gracefully (implies (mv-nth 0 (vl-parse-real-declaration atts)) (not (mv-nth 1 (vl-parse-real-declaration atts)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-real-declaration (iff (vl-warning-p (mv-nth 0 (vl-parse-real-declaration atts))) (mv-nth 0 (vl-parse-real-declaration atts))))
Theorem:
(defthm vl-parse-real-declaration-result (implies (and (force (vl-atts-p atts))) (vl-vardecllist-p (mv-nth 1 (vl-parse-real-declaration atts)))))
Theorem:
(defthm vl-parse-real-declaration-true-listp (true-listp (mv-nth 1 (vl-parse-real-declaration atts))) :rule-classes :type-prescription)
Theorem:
(defthm vl-parse-real-declaration-count-strong (and (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-real-declaration atts))) (vl-tokstream-measure)) (implies (not (mv-nth 0 (vl-parse-real-declaration atts))) (< (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-real-declaration atts))) (vl-tokstream-measure)))) :rule-classes ((:rewrite) (:linear)))