aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/_Translate.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-21 14:35:30 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 12:26:59 +0200
commit19ba3d3e37b02e870ed6c6e283c267d904cafac8 (patch)
treec654b7b1537d72b33c1d6bc79e0d87c5a83a687a /pyGHDL/dom/_Translate.py
parentf0796bfab0032e6e7f9c8f52b789bab06ab7e4df (diff)
downloadghdl-19ba3d3e37b02e870ed6c6e283c267d904cafac8.tar.gz
ghdl-19ba3d3e37b02e870ed6c6e283c267d904cafac8.tar.bz2
ghdl-19ba3d3e37b02e870ed6c6e283c267d904cafac8.zip
Asked black for his opinion.
Diffstat (limited to 'pyGHDL/dom/_Translate.py')
-rw-r--r--pyGHDL/dom/_Translate.py37
1 files changed, 31 insertions, 6 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py
index eed6a226b..af6e5420f 100644
--- a/pyGHDL/dom/_Translate.py
+++ b/pyGHDL/dom/_Translate.py
@@ -44,9 +44,15 @@ from pyGHDL.dom.Range import Range, RangeExpression
from pyGHDL.dom.Symbol import (
SimpleObjectOrFunctionCallSymbol,
SimpleSubTypeSymbol,
- ConstrainedSubTypeSymbol, IndexedObjectOrFunctionCallSymbol,
+ ConstrainedSubTypeSymbol,
+ IndexedObjectOrFunctionCallSymbol,
+)
+from pyGHDL.dom.Literal import (
+ IntegerLiteral,
+ CharacterLiteral,
+ FloatingPointLiteral,
+ StringLiteral,
)
-from pyGHDL.dom.Literal import IntegerLiteral, CharacterLiteral, FloatingPointLiteral, StringLiteral
from pyGHDL.dom.Expression import (
SubtractionExpression,
AdditionExpression,
@@ -56,10 +62,29 @@ from pyGHDL.dom.Expression import (
ExponentiationExpression,
Aggregate,
NegationExpression,
- ParenthesisExpression, ConcatenationExpression, QualifiedExpression, ModuloExpression, RemainderExpression, AndExpression, NandExpression, OrExpression,
- NorExpression, XorExpression, XnorExpression, EqualExpression, UnequalExpression, LessThanExpression, GreaterThanExpression, GreaterEqualExpression,
- LessEqualExpression, ShiftLeftLogicExpression, ShiftRightLogicExpression, ShiftLeftArithmeticExpression, ShiftRightArithmeticExpression,
- RotateLeftExpression, RotateRightExpression,
+ ParenthesisExpression,
+ ConcatenationExpression,
+ QualifiedExpression,
+ ModuloExpression,
+ RemainderExpression,
+ AndExpression,
+ NandExpression,
+ OrExpression,
+ NorExpression,
+ XorExpression,
+ XnorExpression,
+ EqualExpression,
+ UnequalExpression,
+ LessThanExpression,
+ GreaterThanExpression,
+ GreaterEqualExpression,
+ LessEqualExpression,
+ ShiftLeftLogicExpression,
+ ShiftRightLogicExpression,
+ ShiftLeftArithmeticExpression,
+ ShiftRightArithmeticExpression,
+ RotateLeftExpression,
+ RotateRightExpression,
)
__all__ = []