Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-05-07 Thread Cary Coutant via Dwarf-discuss
> > It will support the following new attributes > * DW_AT_Default_Property flag >Specify this is a default property > * DW_TAG_Property_Setter > * DW_TAG_Property_Reader > * DW_TAG_Property_Default > * DW_TAG_Property_Stored > > ### `DW_TAG_Property_[Setter|Getter|...]` Should these all be

[Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-05-07 Thread Martin via Dwarf-discuss
# Proposal to implement "properties" (based on Pascal) ## Background Pascal has a property construct, that allows a "variable like" identifier, which can either point to a field (member variable) or a getter/setter function. ``` TFoo = class FField: integer; function GetProp: