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 e722d2c0a..ffe45f89b 100644 --- a/pyGHDL/dom/Symbol.py +++ b/pyGHDL/dom/Symbol.py @@ -36,6 +36,7 @@ from typing import List from pyGHDL.dom._Utils import NodeToName from pyVHDLModel.VHDLModel import ( + EntitySymbol as VHDLModel_EntitySymbol, SimpleSubTypeSymbol as VHDLModel_SimpleSubTypeSymbol, ConstrainedSubTypeSymbol as VHDLModel_ConstrainedSubTypeSymbol, EnumerationLiteralSymbol as VHDLModel_EnumerationLiteralSymbol, @@ -47,6 +48,12 @@ __all__ = [] @export +class EntitySymbol(VHDLModel_EntitySymbol): + def __init__(self, entityName: str): + super().__init__(entityName) + + +@export class EnumerationLiteralSymbol(VHDLModel_EnumerationLiteralSymbol): def __init__(self, literalName: str): super().__init__(symbolName=literalName) |