https://github.com/AeneasVerif/charon/pull/237 introduced a new attribute and reused ItemMeta in fields and variants. This Pr splits off ItemMeta so that fields and variants can have attribute information and items can have item-specific information in ItemMeta. I then move some shared item fields to ItemMeta. This also parses attributes into a high-level representation.
cc @sonmarcho @msprotz This changes where we store the name of an item: decl.name has to be replaced with decl.item_meta.name now. (I'll do the necessary changes in Aeneas and Eurydice of course).
https://github.com/AeneasVerif/charon/pull/237 introduced a new attribute and reused
ItemMeta
in fields and variants. This Pr splits offItemMeta
so that fields and variants can have attribute information and items can have item-specific information inItemMeta
. I then move some shared item fields toItemMeta
. This also parses attributes into a high-level representation.