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