bemanitools/src
icex2 ee8f2a05fe refactor: property_node attribute handling
The previous implementation just went along with how AVS
property models and deals with attributes: attributes are just
another type of node that follow the same rules as standard
xml nodes/elements.

This design already showed several flaws in application as
these nodes always had to be referred to with an appended
‘@‘ on the attribute keys. This was mitigated with an “ext”
function that hides the whole details of “find the attribute node
before reading the attribute” steps.

By adding another property_node implementation with mxml,
the AVS style abstract layer showed incompatibilities with
the “an attribute is a node” approach. mxml doesn’t treat them as a type of node and just addresses them directly using their keys. This is lot simpler and aligns with how handling
attribute is done throughout the code thus far.

Refactor the property_node interface and the current AVS
implementation to also adapt this. Hide the detail that AVS
treats attributes as nodes and also the whole “append @“
to the keys notation.
2024-08-15 11:34:32 +02:00
..
api feat: Add missing macro to check for errors 2024-08-15 11:34:31 +02:00
imports feat: bemanitools 6 initial refactoring drop, alpha 1 2024-08-15 11:34:31 +02:00
main refactor: property_node attribute handling 2024-08-15 11:34:32 +02:00
sdk feat: bemanitools 6 initial refactoring drop, alpha 1 2024-08-15 11:34:31 +02:00
test feat: bemanitools 6 initial refactoring drop, alpha 1 2024-08-15 11:34:31 +02:00