Build a block consisting of a single final local variable declaration statement.
(jblock-locvar-final type name init?) → block
Function:
(defun jblock-locvar-final (type name init?) (declare (xargs :guard (and (jtypep type) (stringp name) (maybe-jexprp init?)))) (let ((__function__ 'jblock-locvar-final)) (declare (ignorable __function__)) (list (jstatem-locvar (make-jlocvar :final? t :type type :name name :init? init?)))))
Theorem:
(defthm jblockp-of-jblock-locvar-final (b* ((block (jblock-locvar-final type name init?))) (jblockp block)) :rule-classes :rewrite)