Skip to content

Commit 48af71c

Browse files
committed
Added Property Attribute to AttributeSpecification.
1 parent 09add86 commit 48af71c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyVHDLModel/VHDLModel.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,6 +1763,9 @@ class AttributeSpecification(ModelEntity):
17631763
def __init__(self, attribute: Name):
17641764
self._attribute = attribute
17651765

1766+
@property
1767+
def Attribute(self) -> Attribute:
1768+
return self._attribute
17661769

17671770
@export
17681771
class InterfaceItem:
@@ -1906,6 +1909,7 @@ class UseClause(Reference):
19061909

19071910
def __init__(self, name: Name):
19081911
super().__init__()
1912+
self._item = str(name)
19091913

19101914
@property
19111915
def Library(self) -> Union[None, LibraryOrSymbol]:

0 commit comments

Comments
 (0)