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