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