Skip to content

Commit

Permalink
Added Property Attribute to AttributeSpecification.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jun 25, 2021
1 parent 09add86 commit 48af71c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyVHDLModel/VHDLModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1763,6 +1763,9 @@ class AttributeSpecification(ModelEntity):
def __init__(self, attribute: Name):
self._attribute = attribute

@property
def Attribute(self) -> Attribute:
return self._attribute

@export
class InterfaceItem:
Expand Down Expand Up @@ -1906,6 +1909,7 @@ class UseClause(Reference):

def __init__(self, name: Name):
super().__init__()
self._item = str(name)

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

0 comments on commit 48af71c

Please sign in to comment.