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