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