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