diff options
Diffstat (limited to 'pyGHDL/dom/Symbol.py')
-rw-r--r-- | pyGHDL/dom/Symbol.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pyGHDL/dom/Symbol.py b/pyGHDL/dom/Symbol.py index c7b681595..e722d2c0a 100644 --- a/pyGHDL/dom/Symbol.py +++ b/pyGHDL/dom/Symbol.py @@ -38,6 +38,7 @@ from pyGHDL.dom._Utils import NodeToName from pyVHDLModel.VHDLModel import ( SimpleSubTypeSymbol as VHDLModel_SimpleSubTypeSymbol, ConstrainedSubTypeSymbol as VHDLModel_ConstrainedSubTypeSymbol, + EnumerationLiteralSymbol as VHDLModel_EnumerationLiteralSymbol, SimpleObjectSymbol as VHDLModel_SimpleObjectSymbol, Constraint, ) @@ -46,6 +47,12 @@ __all__ = [] @export +class EnumerationLiteralSymbol(VHDLModel_EnumerationLiteralSymbol): + def __init__(self, literalName: str): + super().__init__(symbolName=literalName) + + +@export class SimpleSubTypeSymbol(VHDLModel_SimpleSubTypeSymbol): def __init__(self, subTypeName: str): super().__init__(subTypeName=subTypeName) |