aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/__init__.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-26 10:02:16 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-07-01 06:39:46 +0200
commit2492b5595c7a61e29096a217e46f9dfe2e0fd6ac (patch)
tree57d296d765b1b66ea5ce4e63d369c9e4ee6009d3 /pyGHDL/dom/__init__.py
parent2b25719bf3a5880f428b5a58b17208b8e71eba8a (diff)
downloadghdl-2492b5595c7a61e29096a217e46f9dfe2e0fd6ac.tar.gz
ghdl-2492b5595c7a61e29096a217e46f9dfe2e0fd6ac.tar.bz2
ghdl-2492b5595c7a61e29096a217e46f9dfe2e0fd6ac.zip
WIP: Handle more generic interface kinds.
(cherry picked from commit 6b5606852371bdd8bdc9c8a3dcd38ef8e7eecbc9)
Diffstat (limited to 'pyGHDL/dom/__init__.py')
-rw-r--r--pyGHDL/dom/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyGHDL/dom/__init__.py b/pyGHDL/dom/__init__.py
index d3dc506f5..143fab1ff 100644
--- a/pyGHDL/dom/__init__.py
+++ b/pyGHDL/dom/__init__.py
@@ -32,13 +32,12 @@
# ============================================================================
from pathlib import Path
-from pyGHDL import GHDLBaseException
-from pyGHDL.libghdl import files_map, name_table
-
-from pyGHDL.libghdl.vhdl import nodes
from pydecor import export
+from pyGHDL import GHDLBaseException
+from pyGHDL.libghdl import files_map, name_table
from pyGHDL.libghdl._types import Iir
+from pyGHDL.libghdl.vhdl import nodes
__all__ = []
@@ -46,6 +45,7 @@ __all__ = []
@export
class Position:
"""Represents the source code position of a IIR node in a source file."""
+
_filename: Path
_line: int
_column: int