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