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