Raw constructor for vl-inttoken-p structures.
Syntax:
(vl-inttoken etext width signedp value bits wasunsized)
This is the lowest-level constructor for vl-inttoken-p structures. It simply conses together a structure with the specified fields.
Note: It's generally better to use macros like make-vl-inttoken or change-vl-inttoken instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.
The vl-inttoken-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-vl-inttoken instead.
This is an ordinary constructor function introduced by defaggregate.
Function:
(defun vl-inttoken (etext width signedp value bits wasunsized) (declare (xargs :guard (and (and (vl-echarlist-p etext) (consp etext) (true-listp etext)) (posp width) (booleanp signedp) (maybe-natp value) (vl-bitlist-p bits) (booleanp wasunsized) (vl-inttoken-constraint-p width value bits)))) (cons :vl-inttoken (cons (cons etext (cons width signedp)) (cons value (cons bits wasunsized)))))