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