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