Raw constructor for vl-vardeclassign-p structures.
Syntax:
(vl-vardeclassign id dims rhs)
This is the lowest-level constructor for vl-vardeclassign-p structures. It simply conses together a structure with the specified fields.
Note: It's generally better to use macros like make-vl-vardeclassign or change-vl-vardeclassign instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.
The vl-vardeclassign-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-vl-vardeclassign instead.
This is an ordinary constructor function introduced by defaggregate.
Function:
(defun vl-vardeclassign (id dims rhs) (declare (xargs :guard (and (stringp id) (vl-dimensionlist-p dims) (vl-maybe-rhs-p rhs)))) (cons id (cons dims rhs)))