Add support for namespaced attributes in DynamicAttributes
Compare changes
Files
33@@ -73,15 +73,26 @@ class test_operator_binding(unittest.TestCase):
@@ -89,6 +100,23 @@ class test_operator_binding(unittest.TestCase):
Add support for namespaced attributes in DynamicAttribute
with a recursive approach (a DynamicAttribute
can have an attribute of type DynamicAttribute
). Usage example (both syntaxes are correct):
attrs.get_attr("mem.data.b")
attrs.get_attr("mem").get_attr("data").get_attr("b")
This is a preliminary work in order to introduce a general mechanism for specifiyng backend and export attributes.
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent