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