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