Basic constructor macro for block-item-decl structures.
(make-block-item-decl [:decl <decl>]
[:info <info>])
This is the usual way to construct block-item-decl structures. It simply conses together a structure with the specified fields.
This macro generates a new block-item-decl structure from scratch. See also change-block-item-decl, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-block-item-decl (&rest args) (std::make-aggregate 'block-item-decl args '((:decl) (:info)) 'make-block-item-decl nil))
Function:
(defun block-item-decl (decl info) (declare (xargs :guard (and (declp decl) (acl2::any-p info)))) (declare (xargs :guard t)) (b* ((decl (mbe :logic (decl-fix decl) :exec decl)) (info (mbe :logic (identity info) :exec info))) (cons :decl (cons decl info))))