Modifying constructor for vl-vardecl structures.
(change-vl-vardecl x
[:name <name>]
[:type <type>]
[:nettype <nettype>]
[:constp <constp>]
[:varp <varp>]
[:lifetime <lifetime>]
[:initval <initval>]
[:vectoredp <vectoredp>]
[:scalaredp <scalaredp>]
[:delay <delay>]
[:cstrength <cstrength>]
[:atts <atts>]
[:loc <loc>])
This is an often useful alternative to make-vl-vardecl.
We construct a new vl-vardecl structure that is a copy of
This is an ordinary
Macro:
(defmacro change-vl-vardecl (x &rest args) (std::change-aggregate 'vl-vardecl x args '((:name . vl-vardecl->name) (:type . vl-vardecl->type) (:nettype . vl-vardecl->nettype) (:constp . vl-vardecl->constp) (:varp . vl-vardecl->varp) (:lifetime . vl-vardecl->lifetime) (:initval . vl-vardecl->initval) (:vectoredp . vl-vardecl->vectoredp) (:scalaredp . vl-vardecl->scalaredp) (:delay . vl-vardecl->delay) (:cstrength . vl-vardecl->cstrength) (:atts . vl-vardecl->atts) (:loc . vl-vardecl->loc)) 'change-vl-vardecl 'remake-vl-vardecl))