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