diff --git a/.btd.yml b/.btd.yml
new file mode 100644
index 000000000..296c029b5
--- /dev/null
+++ b/.btd.yml
@@ -0,0 +1,9 @@
+input: doc
+output: _build
+requirements: requirements.txt
+target: gh-pages
+formats: [ html ]
+images:
+ base: btdi/sphinx:pytooling
+ latex: btdi/latex
+theme: https://codeload.GitHub.com/buildthedocs/sphinx.theme/tar.gz/v1
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..0896e81db
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,15 @@
+version: 2
+updates:
+- package-ecosystem: pip
+ directory: "/"
+ target-branch: dev
+ commit-message:
+ prefix: "[Dependabot]"
+ labels:
+ - Dependencies
+ assignees:
+ - Paebbels
+ reviewers:
+ - Paebbels
+ schedule:
+ interval: daily
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 000000000..7a345ae6c
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,8 @@
+# New Features
+* tbd
+
+# Changes
+* tbd
+
+# Bug Fixes
+* tbd
diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml
index 85049cc75..1117b14d4 100644
--- a/.github/workflows/Pipeline.yml
+++ b/.github/workflows/Pipeline.yml
@@ -1,322 +1,129 @@
-name: Unit Testing, Coverage Collection, Package, Release and Publish
+name: Pipeline
-on: [ push ]
+on:
+ push:
+ workflow_dispatch:
-jobs:
- UnitTesting:
- name: Unit Tests
- runs-on: ubuntu-latest
-
- strategy:
- fail-fast: false
- matrix:
- python-version: [ 3.8, 3.9 ]
-
- env:
- PYTHON: ${{ matrix.python-version }}
- outputs:
- python: ${{ env.PYTHON }}
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- - name: Setup Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python-version }}
-
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r tests/requirements.txt
-
- - name: Run unit tests
- run: |
- python -m pytest -rA tests/unit
-
- IssueTesting:
- name: Issue Tests
- runs-on: ubuntu-latest
+defaults:
+ run:
+ shell: bash
- continue-on-error: true
- strategy:
- fail-fast: false
- matrix:
- python-version: [ 3.8, 3.9 ]
-
- env:
- PYTHON: ${{ matrix.python-version }}
- outputs:
- python: ${{ env.PYTHON }}
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- - name: Setup Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python-version }}
+jobs:
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r tests/requirements.txt
+ Params:
+ uses: pyTooling/Actions/.github/workflows/Parameters.yml@r0
+ with:
+ name: pyVHDLParser
+ python_version_list: "3.8 3.9 3.10"
- - name: Run unit tests
- run: |
- python -m pytest -rA tests/issue
+ UnitTesting:
+ uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r0
+ needs:
+ - Params
+ with:
+ jobs: ${{ needs.Params.outputs.python_jobs }}
+ artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}
Coverage:
- name: Collect Coverage Data
- runs-on: ubuntu-latest
-
- env:
- PYTHON: 3.9
- outputs:
- python: ${{ env.PYTHON }}
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- - name: Setup Python ${{ env.PYTHON }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ env.PYTHON }}
-
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r tests/requirements.txt
-
- - name: Collect coverage
- if: ${{ always() }}
- run: |
- python -m pytest -rA --cov=.. --cov-config=tests/.coveragerc tests/unit
-
- - name: Convert to cobertura format
- if: ${{ always() }}
- run: |
- coverage xml
-
- - name: Publish coverage at CodeCov
- if: ${{ always() }}
- uses: codecov/codecov-action@v1
- with:
- file: ./coverage.xml
- flags: unittests
- env_vars: PYTHON
-
- - name: Publish coverage at Codacy
- if: ${{ always() }}
- uses: codacy/codacy-coverage-reporter-action@master
- with:
- project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
- coverage-reports: ./coverage.xml
-
- Release:
- name: Release Page on GitHub
- runs-on: ubuntu-latest
-
- if: startsWith(github.ref, 'refs/tags')
+ uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r0
+ needs:
+ - Params
+ with:
+ python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
+ artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
+ secrets:
+ codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
+
+ StaticTypeCheck:
+ uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r0
+ needs:
+ - Params
+ with:
+ python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
+ commands: |
+ mypy --html-report htmlmypy -p pyVHDLParser
+ report: 'htmlmypy'
+ artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
+
+ PublishTestResults:
+ uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r0
needs:
- UnitTesting
- - IssueTesting
- - Coverage
-
- env:
- PYTHON: ${{ needs.Coverage.outputs.python }}
- outputs:
- python: ${{ env.PYTHON }}
- tag: ${{ steps.getVariables.outputs.gitTag }}
- version: ${{ steps.getVariables.outputs.version }}
- datetime: ${{ steps.getVariables.outputs.datetime }}
- upload_url: ${{ steps.createReleasePage.outputs.upload_url }}
-
- steps:
- - name: Extract Git tag from GITHUB_REF
- id: getVariables
- run: |
- GIT_TAG=${GITHUB_REF#refs/*/}
- RELEASE_VERSION=${GIT_TAG#v}
- RELEASE_DATETIME="$(date --utc '+%d.%m.%Y - %H:%M:%S')"
- # write to step outputs
- echo ::set-output name=gitTag::${GIT_TAG}
- echo ::set-output name=version::${RELEASE_VERSION}
- echo ::set-output name=datetime::${RELEASE_DATETIME}
-
- - name: Create Release Page
- id: createReleasePage
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: ${{ steps.getVariables.outputs.gitTag }}
- release_name: ${{ steps.getVariables.outputs.gitTag }}
- body: |
- **Automated Release created on: ${{ steps.getVariables.outputs.datetime }}**
-
- # New Features
- * tbd
-
- # Changes
- * tbd
-
- # Bug Fixes
- * tbd
- draft: false
- prerelease: false
Package:
- name: Package in Wheel Format
- runs-on: ubuntu-latest
-
- if: startsWith(github.ref, 'refs/tags')
+ uses: pyTooling/Actions/.github/workflows/Package.yml@r0
needs:
+ - Params
- Coverage
+ with:
+ python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
+ artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}
- env:
- PYTHON: ${{ needs.Coverage.outputs.python }}
- ARTIFACT: pyVHDLParser-wheel
- outputs:
- python: ${{ env.PYTHON }}
- artifact: ${{ env.ARTIFACT }}
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- - name: Setup Python ${{ env.PYTHON }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ env.PYTHON }}
-
- - name: Install dependencies for packaging and release
- run: |
- python -m pip install --upgrade pip
- pip install wheel
-
- - name: Build Python package (source distribution)
- run: |
- python setup.py sdist
-
- - name: Build Python package (binary distribution - wheel)
- run: |
- python setup.py bdist_wheel
-
- - name: Upload 'pyVHDLParser' artifact
- uses: actions/upload-artifact@v2
- with:
- name: ${{ env.ARTIFACT }}
- path: dist/
- if-no-files-found: error
- retention-days: 1
-
- PublishOnPyPI:
- name: Publish to PyPI
- runs-on: ubuntu-latest
-
+ Release:
+ uses: pyTooling/Actions/.github/workflows/Release.yml@r0
if: startsWith(github.ref, 'refs/tags')
needs:
+ - UnitTesting
+ - Coverage
+ - StaticTypeCheck
- Package
- env:
- PYTHON: ${{ needs.Package.outputs.python }}
- ARTIFACT: ${{ needs.Package.outputs.artifact }}
- outputs:
- python: ${{ env.PYTHON }}
- artifact: ${{ env.ARTIFACT }}
-
- steps:
- - name: Download artifacts '${{ env.ARTIFACT }}' from 'Package' job
- uses: actions/download-artifact@v2
- with:
- name: ${{ env.ARTIFACT }}
- path: dist/
-
- - name: Setup Python ${{ env.PYTHON }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ env.PYTHON }}
-
- - name: Install dependencies for packaging and release
- run: |
- python -m pip install --upgrade pip
- pip install wheel twine
-
- - name: Release Python package to PyPI
- env:
- TWINE_USERNAME: __token__
- TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
- run: |
- twine upload dist/*
-
- PublishOnGitHub:
- name: Publish to GitHub
- runs-on: ubuntu-latest
-
+ PublishOnPyPI:
+ uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r0
if: startsWith(github.ref, 'refs/tags')
needs:
- - Package
+ - Params
- Release
+ - Package
+ with:
+ python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
+ requirements: -r dist/requirements.txt
+ artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}
+ secrets:
+ PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
+
+# VerifyDocs:
+# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r0
+# needs:
+# - Params
+# with:
+# python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
+
+ BuildTheDocs:
+ uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@r0
+ needs:
+ - Params
+# - VerifyDocs
+ with:
+ artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
- env:
- PYTHON: ${{ needs.Package.outputs.python }}
- ARTIFACT: ${{ needs.Package.outputs.artifact }}
- outputs:
- python: ${{ env.PYTHON }}
- artifact: ${{ env.ARTIFACT }}
-
- steps:
- - name: Download artifacts from 'Package' job
- uses: actions/download-artifact@v2
- with:
- name: ${{ env.ARTIFACT }}
- path: dist/
-
- - name: Upload wheel as Release Asset
- uses: actions/upload-release-asset@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ needs.Release.outputs.upload_url }}
- asset_path: dist/pyVHDLParser-${{ needs.Release.outputs.version }}-py3-none-any.whl
- asset_name: pyVHDLParser-${{ needs.Release.outputs.version }}-py3-none-any.whl
- asset_content_type: application/x-wheel+zip
+ PublishToGitHubPages:
+ uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r0
+ needs:
+ - Params
+ - BuildTheDocs
+ - Coverage
+ - StaticTypeCheck
+ with:
+ doc: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
+ coverage: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
+ typing: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
ArtifactCleanUp:
- name: Artifact Cleanup
- runs-on: ubuntu-latest
-
+ uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r0
needs:
- - Package
- - PublishOnPyPI
- - PublishOnGitHub
-
- env:
- ARTIFACT: ${{ needs.Package.outputs.artifact }}
-
- steps:
- - name: Delete all Artifacts
- uses: geekyeggo/delete-artifact@v1
- with:
- name: |
- ${{ env.ARTIFACT }}
-
-# TriggerNext:
-# name: Trigger next Workflows
-# needs: [ UnitTesting, Coverage ]
-# runs-on: ubuntu-latest
-# env:
-# PYTHON: 3.9
-# steps:
-# - name: Trigger Release Workflow
-# if: startsWith(github.ref, 'refs/tags')
-# uses: peter-evans/repository-dispatch@v1
-# with:
-# token: ${{ secrets.TRIGGER_TOKEN_2 }}
-## repository: vhdl/pyVHDLModel
-# event-type: doRelease
-# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "PYTHON": "${{ env.PYTHON }}"}'
+ - Params
+ - UnitTesting
+ - Coverage
+ - StaticTypeCheck
+ - BuildTheDocs
+ - PublishToGitHubPages
+ with:
+ package: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}
+ remaining: |
+ ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.8
+ ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.9
+ ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.10
+ ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
+ ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
+ ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
diff --git a/.gitignore b/.gitignore
index 4d2d6936c..037c9286f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,19 +2,26 @@
__pycache__/
*.py[cod]
-# Python installation packages
-dist/
-/*.egg-info
-
# Coverage.py
.coverage
.cov
coverage.xml
+# setuptools
+/build/**/*.*
+/dist/**/*.*
+/*.egg-info
+
+# Dependencies
+!requirements.txt
+
# Sphinx
doc/_build/
doc/pyVHDLParser/**/*.*
!doc/pyVHDLParser/index.rst
+# BuildTheDocs
+doc/_theme/**/*.*
+
# IntelliJ project files
/.idea/workspace.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 2a75f480b..bc77e743a 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 4592146d4..b9f1c7d06 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -3,7 +3,7 @@
-
+
diff --git a/.idea/pyVHDLParser.iml b/.idea/pyVHDLParser.iml
index 047a923a7..af76f6ef3 100644
--- a/.idea/pyVHDLParser.iml
+++ b/.idea/pyVHDLParser.iml
@@ -2,13 +2,17 @@
+
+
+
+
-
+
-
+
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index 5751e67a3..7636b5640 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,7 @@
-
+
\ No newline at end of file
diff --git a/.readthedocs.yml b/.readthedocs.yml
deleted file mode 100644
index 013c2d932..000000000
--- a/.readthedocs.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-version: 2
-
-submodules:
- include: []
-
-build:
- image: latest
-
-python:
- version: 3.8
- install:
- - requirements: doc/requirements.txt
-
-sphinx:
- builder: html
- configuration: doc/conf.py
-
-formats: []
-# - htmlzip
-# - pdf
-# - epub
diff --git a/README.md b/README.md
index 46c2f87f8..fa9132703 100644
--- a/README.md
+++ b/README.md
@@ -387,9 +387,9 @@ The example generates:
```
[StartOfDocumentBlock]
[Blocks.CommentBlock '-- Copryright 2016\n' at (line: 1, col: 1) .. (line: 1, col: 19)]
-[Library.LibraryBlock 'library ' at (line: 2, col: 1) .. (line: 2, col: 8)]
-[Library.LibraryNameBlock 'IEEE' at (line: 2, col: 9) .. (line: 2, col: 13)]
-[Library.LibraryEndBlock ';' at (line: 2, col: 13) .. (line: 2, col: 13)]
+[LibraryStatement.LibraryBlock 'library ' at (line: 2, col: 1) .. (line: 2, col: 8)]
+[LibraryStatement.LibraryNameBlock 'IEEE' at (line: 2, col: 9) .. (line: 2, col: 13)]
+[LibraryStatement.LibraryEndBlock ';' at (line: 2, col: 13) .. (line: 2, col: 13)]
[LinebreakBlock at (line: 2, col: 14) .. (line: 2, col: 14)]
[Use.UseBlock 'use ' at (line: 3, col: 1) .. (line: 3, col: 8)]
[Use.UseNameBlock 'IEEE.std_logic_1164.all' at (line: 3, col: 9) .. (line: 3, col: 32)]
diff --git a/doc/BlockStream/BlockGenerator.rst b/doc/BlockStream/BlockGenerator.rst
index 4f2f3c3d5..a7ccaaa66 100644
--- a/doc/BlockStream/BlockGenerator.rst
+++ b/doc/BlockStream/BlockGenerator.rst
@@ -1,4 +1,2 @@
-
-
Block Generator
###############
diff --git a/doc/BlockStream/ControlStructures/Case.rst b/doc/BlockStream/ControlStructures/Case.rst
index c7ec6a20f..b6f93e398 100644
--- a/doc/BlockStream/ControlStructures/Case.rst
+++ b/doc/BlockStream/ControlStructures/Case.rst
@@ -14,7 +14,7 @@ ArrowBlock
WhenExpressionBlock
-------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByCharORClosingRoundBracket`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByCharORClosingRoundBracket`
WhenBlock
---------
@@ -29,7 +29,7 @@ IsBlock
CaseExpressionBlock
-------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
CaseBlock
---------
diff --git a/doc/BlockStream/ControlStructures/Exit.rst b/doc/BlockStream/ControlStructures/Exit.rst
index f0170879f..1539b4000 100644
--- a/doc/BlockStream/ControlStructures/Exit.rst
+++ b/doc/BlockStream/ControlStructures/Exit.rst
@@ -10,7 +10,7 @@ EndBlock
ExitConditionBlock
------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
ExitBlock
diff --git a/doc/BlockStream/ControlStructures/For.rst b/doc/BlockStream/ControlStructures/For.rst
index ec95894b1..74e4d29d7 100644
--- a/doc/BlockStream/ControlStructures/For.rst
+++ b/doc/BlockStream/ControlStructures/For.rst
@@ -17,12 +17,12 @@ LoopBlock
ExpressionBlockEndedByLoopORToORDownto
--------------------------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByKeywordOrToOrDownto`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByKeywordOrToOrDownto`
ExpressionBlockEndedByLoop
--------------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
LoopIterationDirectionBlock
---------------------------
diff --git a/doc/BlockStream/ControlStructures/If.rst b/doc/BlockStream/ControlStructures/If.rst
index 2b093cee9..a11206ea5 100644
--- a/doc/BlockStream/ControlStructures/If.rst
+++ b/doc/BlockStream/ControlStructures/If.rst
@@ -19,7 +19,7 @@ ElseBlock
ExpressionBlockEndedByThen
--------------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
IfConditionBlock
----------------
diff --git a/doc/BlockStream/ControlStructures/Next.rst b/doc/BlockStream/ControlStructures/Next.rst
index 96356230b..a1c861d2f 100644
--- a/doc/BlockStream/ControlStructures/Next.rst
+++ b/doc/BlockStream/ControlStructures/Next.rst
@@ -9,7 +9,7 @@ EndBlock
NextConditionBlock
------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
NextBlock
---------
diff --git a/doc/BlockStream/ControlStructures/Return.rst b/doc/BlockStream/ControlStructures/Return.rst
index ce3f66506..72dd9b04c 100644
--- a/doc/BlockStream/ControlStructures/Return.rst
+++ b/doc/BlockStream/ControlStructures/Return.rst
@@ -9,7 +9,7 @@ EndBlock
ReturnExpressionBlock
---------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
ReturnBlock
-----------
diff --git a/doc/BlockStream/Expressions.rst b/doc/BlockStream/Expressions.rst
index a1df432b1..2b232fa51 100644
--- a/doc/BlockStream/Expressions.rst
+++ b/doc/BlockStream/Expressions.rst
@@ -1,18 +1,18 @@
Expressions
###########
-Expression blocks are base-classes for a specific expression implementation. All
-four expression base-classes are derived from another base-class called :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlock`
+BaseExpression blocks are base-classes for a specific expression implementation. All
+four expression base-classes are derived from another base-class called :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlock`
E.g. :class:`~pyVHDLParser.Blocks.Object.Constant.ConstantDeclarationDefaultExpressionBlock`
-is derived from :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`.
+is derived from :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`.
-Generic Expression Form
-***********************
+Generic BaseExpression Form
+***************************
ExpressionBlock
---------------
-**Condensed definition of class** :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlock`:
+**Condensed definition of class** :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlock`:
.. code-block:: Python
@@ -61,29 +61,29 @@ ExpressionBlock
-Specific Expression Forms
-*************************
+Specific BaseExpression Forms
+*****************************
Expressions can be ended by:
``)`` or a user-defined character
- See :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByCharORClosingRoundBracket`
+ See :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByCharORClosingRoundBracket`
* ``)`` or a user-defined keyword
- See :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
+ See :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByKeywordORClosingRoundBracket`
* ``to`` or ``downto`` keyword
- See :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByKeywordOrToOrDownto`
+ See :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByKeywordOrToOrDownto`
* ``;``
- See :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+ See :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
ExpressionBlockEndedByCharORClosingRoundBracket
-----------------------------------------------
-This block is derived from :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlock`.
+This block is derived from :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlock`.
It implements an expression that is either ended by a closing round bracket
(``)``) or a user-defined character. When this base-class is inherited, the user
needs to overwrite:
@@ -98,7 +98,7 @@ needs to overwrite:
The block that is generated when exiting the block.
-**Condensed definition of class** :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlockEndedByCharORClosingRoundBracket`:
+**Condensed definition of class** :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedByCharORClosingRoundBracket`:
.. code-block:: Python
@@ -122,14 +122,14 @@ needs to overwrite:
ExpressionBlockEndedByKeywordORClosingRoundBracket
--------------------------------------------------
-This block is derived from :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlock`.
+This block is derived from :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlock`.
ExpressionBlockEndedByKeywordOrToOrDownto
-----------------------------------------
-This block is derived from :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlock`.
+This block is derived from :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlock`.
ExpressionBlockEndedBySemicolon
-------------------------------
-This block is derived from :class:`~pyVHDLParser.Blocks.Expression.ExpressionBlock`.
+This block is derived from :class:`~pyVHDLParser.Blocks.BaseExpression.ExpressionBlock`.
diff --git a/doc/BlockStream/Objects/Constant.rst b/doc/BlockStream/Objects/Constant.rst
index 1a5791ffa..419d261af 100644
--- a/doc/BlockStream/Objects/Constant.rst
+++ b/doc/BlockStream/Objects/Constant.rst
@@ -9,7 +9,7 @@ ConstantDeclarationEndMarkerBlock
ConstantDeclarationDefaultExpressionBlock
-----------------------------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
ConstantDeclarationBlock
------------------------
diff --git a/doc/BlockStream/Objects/Signal.rst b/doc/BlockStream/Objects/Signal.rst
index 55d7f85fb..bf99a3fd1 100644
--- a/doc/BlockStream/Objects/Signal.rst
+++ b/doc/BlockStream/Objects/Signal.rst
@@ -9,7 +9,7 @@ SignalDeclarationEndMarkerBlock
SignalDeclarationDefaultExpressionBlock
---------------------------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
SignalDeclarationBlock
----------------------
diff --git a/doc/BlockStream/Objects/Variable.rst b/doc/BlockStream/Objects/Variable.rst
index d291142be..21d986158 100644
--- a/doc/BlockStream/Objects/Variable.rst
+++ b/doc/BlockStream/Objects/Variable.rst
@@ -9,7 +9,7 @@ VariableDeclarationEndMarkerBlock
VariableDeclarationDefaultExpressionBlock
-----------------------------------------
-:class:`pyVHDLParser.Blocks.Expression.ExpressionBlockEndedBySemicolon`
+:class:`pyVHDLParser.Blocks.BaseExpression.ExpressionBlockEndedBySemicolon`
VariableDeclarationBlock
------------------------
diff --git a/doc/BlockStream/References/Library.rst b/doc/BlockStream/References/Library.rst
index a42000415..ca89026a7 100644
--- a/doc/BlockStream/References/Library.rst
+++ b/doc/BlockStream/References/Library.rst
@@ -1,2 +1,2 @@
-Library Statement
-#################
+LibraryStatement Statement
+##########################
diff --git a/doc/BlockStream/References/index.rst b/doc/BlockStream/References/index.rst
index b975ebb98..ef0316745 100644
--- a/doc/BlockStream/References/index.rst
+++ b/doc/BlockStream/References/index.rst
@@ -3,6 +3,6 @@ References
.. toctree::
- Library
+ LibraryStatement
Use
Context
diff --git a/doc/LanguageModel/Miscellaneous.rst b/doc/LanguageModel/Miscellaneous.rst
index d4d2ae16f..92c233631 100644
--- a/doc/LanguageModel/Miscellaneous.rst
+++ b/doc/LanguageModel/Miscellaneous.rst
@@ -37,19 +37,19 @@ a design has the two child nodes: ``Libraries`` and ``Documents``. Each is a
.. _vhdlmodel-library:
-Library
-=======
+LibraryStatement
+================
A library contains multiple *design units*. Each design unit listed in a library
is a *primary* design unit like: ``configuration``, ``entity``, ``package`` or
``context``.
-**Condensed definition of class** :class:`~pyVHDLParser.VHDLModel.Library`:
+**Condensed definition of class** :class:`~pyVHDLParser.VHDLModel.LibraryStatement`:
.. code-block:: Python
@Export
- class Library(ModelEntity):
+ class LibraryStatement(ModelEntity):
_contexts : List = None #: List of all contexts defined in a library.
_configurations : List = None #: List of all configurations defined in a library.
_entities : List = None #: List of all entities defined in a library.
diff --git a/doc/conf.py b/doc/conf.py
index 537e1e364..356696b74 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -42,7 +42,7 @@ def _LatestTagName():
# The full version, including alpha/beta/rc tags
version = "0.6" # The short X.Y version.
-release = "0.6.3" # The full version, including alpha/beta/rc tags.
+release = "0.6.4" # The full version, including alpha/beta/rc tags.
try:
if _IsUnderGitControl:
latestTagName = _LatestTagName()[1:] # remove prefix "v"
@@ -166,9 +166,9 @@ def _LatestTagName():
"sphinx.ext.autodoc",
'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
-# 'sphinx.ext.inheritance_diagram',
+ 'sphinx.ext.inheritance_diagram',
'sphinx.ext.todo',
-# 'sphinx.ext.graphviz',
+ 'sphinx.ext.graphviz',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
@@ -183,8 +183,8 @@ def _LatestTagName():
# BuildTheDocs extensions
'btd.sphinx.autoprogram',
- 'btd.sphinx.graphviz',
- 'btd.sphinx.inheritance_diagram',
+# 'btd.sphinx.graphviz',
+# 'btd.sphinx.inheritance_diagram',
# Other extensions
# 'DocumentMember',
@@ -220,7 +220,7 @@ def _LatestTagName():
extlinks = {
'issue': ('https://github.com/Paebbels/pyVHDLParser/issues/%s', 'issue #'),
'pull': ('https://github.com/Paebbels/pyVHDLParser/pull/%s', 'pull request #'),
- 'src': ('https://github.com/Paebbels/pyVHDLParser/blob/master/pyMetaClasses/%s?ts=2', None),
+ 'src': ('https://github.com/Paebbels/pyVHDLParser/blob/master/pyVHDLParser/%s?ts=2', None),
# 'test': ('https://github.com/Paebbels/pyVHDLParser/blob/master/test/%s?ts=2', None)
}
diff --git a/doc/index.rst b/doc/index.rst
index 4a62639d4..06430e8d2 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -98,10 +98,31 @@ Additional Aims
News
****
+.. only:: html
+
+ Jun. 2021 - Enhancements
+ ========================
+
+.. only:: latex
+
+ .. rubric:: Jun. 2021 - Enhancements
+
+* Added infrastructure to run example code provided in issues as testcase.
+*
+* New Single-File GitHub Action workflow (pipeline).
+* Added Dependabot configuration file.
+* Updated dependencies
+
+ * Sphinx uses now v4.0.2
+ * Removed 2 patched Sphinx extensions → now using original extensions.
+
+* ...
+
+
.. only:: html
Nov. 2020 - Test cases
- =========================
+ ======================
.. only:: latex
@@ -129,7 +150,7 @@ News
.. only:: html
Dec. 2018 - Minor updates
- ==========================
+ =========================
.. only:: latex
diff --git a/doc/requirements.txt b/doc/requirements.txt
index f61b8cd1b..1a4aa13b1 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -1,24 +1,22 @@
-r ../requirements.txt
-# Enforce latest version on ReadTheDocs
-sphinx>=3.3.1
-# Sphinx Themes
-sphinx-rtd-theme>=0.5.0
+# Enforce latest version on ReadTheDocs
+sphinx>=4.3.0
+pyTooling>=1.7.0
# Sphinx Extenstions
+#sphinx.ext.coverage
#sphinxcontrib-actdiag>=0.8.5
+sphinxcontrib-mermaid>=0.7.1
#sphinxcontrib-seqdiag>=0.8.5
-# sphinxcontrib-textstyle>=0.2.1
-# sphinxcontrib-spelling>=2.2.0
+#sphinxcontrib-textstyle>=0.2.1
+#sphinxcontrib-spelling>=2.2.0
autoapi
sphinx_fontawesome>=0.0.6
-sphinx_autodoc_typehints>=1.11.1
+sphinx_autodoc_typehints>=1.12.0
# changelog>=0.3.5
# BuildTheDocs Extensions (mostly patched Sphinx extensions)
-btd.sphinx.autoprogram>=0.1.6.post1
-btd.sphinx.graphviz>=2.3.1.post1
-btd.sphinx.inheritance_diagram>=2.3.1.post1
-
-# Enforce newer version on ReadTheDocs (currently using 2.3.1)
-Pygments>=2.7.2
+btd.sphinx.autoprogram>=0.1.7.post1
+#btd.sphinx.graphviz>=2.3.1.post1
+#btd.sphinx.inheritance_diagram>=2.3.1.post1
diff --git a/pyVHDLParser/Base.py b/pyVHDLParser/Base.py
index ba639dee5..df837ac67 100644
--- a/pyVHDLParser/Base.py
+++ b/pyVHDLParser/Base.py
@@ -1,34 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python module: TODO
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-from pydecor.decorators import export
-
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/Blocks/Assignment/SignalAssignment.py b/pyVHDLParser/Blocks/Assignment/SignalAssignment.py
index 59aacc5a7..1ae45d1f6 100644
--- a/pyVHDLParser/Blocks/Assignment/SignalAssignment.py
+++ b/pyVHDLParser/Blocks/Assignment/SignalAssignment.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class SignalAssignmentBlock(Block):
diff --git a/pyVHDLParser/Blocks/Assignment/VariableAssignment.py b/pyVHDLParser/Blocks/Assignment/VariableAssignment.py
index 59aacc5a7..1ae45d1f6 100644
--- a/pyVHDLParser/Blocks/Assignment/VariableAssignment.py
+++ b/pyVHDLParser/Blocks/Assignment/VariableAssignment.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class SignalAssignmentBlock(Block):
diff --git a/pyVHDLParser/Blocks/Assignment/__init__.py b/pyVHDLParser/Blocks/Assignment/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Assignment/__init__.py
+++ b/pyVHDLParser/Blocks/Assignment/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Attribute/AttributeDeclaration.py b/pyVHDLParser/Blocks/Attribute/AttributeDeclaration.py
index 4eeb79c20..999901bd5 100644
--- a/pyVHDLParser/Blocks/Attribute/AttributeDeclaration.py
+++ b/pyVHDLParser/Blocks/Attribute/AttributeDeclaration.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, SpaceToken, WordToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, VariableAssignmentKeyword, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class AttributeDeclarationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Attribute/AttributeSpecification.py b/pyVHDLParser/Blocks/Attribute/AttributeSpecification.py
index 3df3bafe5..30063648e 100644
--- a/pyVHDLParser/Blocks/Attribute/AttributeSpecification.py
+++ b/pyVHDLParser/Blocks/Attribute/AttributeSpecification.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, SpaceToken, WordToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, VariableAssignmentKeyword, EndToken
@@ -34,10 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
-
@export
class AttributeSpecificationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Attribute/__init__.py b/pyVHDLParser/Blocks/Attribute/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Attribute/__init__.py
+++ b/pyVHDLParser/Blocks/Attribute/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Comment.py b/pyVHDLParser/Blocks/Comment.py
index 1907eea88..cb0075d44 100644
--- a/pyVHDLParser/Blocks/Comment.py
+++ b/pyVHDLParser/Blocks/Comment.py
@@ -1,41 +1,39 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, IndentationToken
from pyVHDLParser.Token.Keywords import SingleLineCommentKeyword, MultiLineCommentStartKeyword, MultiLineCommentEndKeyword
from pyVHDLParser.Blocks import CommentBlock, ParserState
from pyVHDLParser.Blocks.Common import IndentationBlock
-__all__ = []
-__api__ = __all__
-
@export
class SingleLineCommentBlock(CommentBlock):
diff --git a/pyVHDLParser/Blocks/Common.py b/pyVHDLParser/Blocks/Common.py
index f597c72a1..29cdfbcce 100644
--- a/pyVHDLParser/Blocks/Common.py
+++ b/pyVHDLParser/Blocks/Common.py
@@ -1,39 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, IndentationToken
from pyVHDLParser.Blocks import ParserState, SkipableBlock
-__all__ = []
-__api__ = __all__
-
@export
class WhitespaceBlock(SkipableBlock):
diff --git a/pyVHDLParser/Blocks/ControlStructure/Case.py b/pyVHDLParser/Blocks/ControlStructure/Case.py
index b510a56c0..b3385813a 100644
--- a/pyVHDLParser/Blocks/ControlStructure/Case.py
+++ b/pyVHDLParser/Blocks/ControlStructure/Case.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, SpaceToken, IndentationToken, CommentToken, MultiLineCommentToken, SingleLineCommentToken
from pyVHDLParser.Token.Keywords import WordToken, BoundaryToken, CaseKeyword, WhenKeyword, IsKeyword, EndKeyword, MapAssociationKeyword
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedByCharORClosingRoundBracket, ExpressionBlockEndedByKeywordORClosingRoundBracket
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/ControlStructure/Exit.py b/pyVHDLParser/Blocks/ControlStructure/Exit.py
index 5911bdaa2..7746dda33 100644
--- a/pyVHDLParser/Blocks/ControlStructure/Exit.py
+++ b/pyVHDLParser/Blocks/ControlStructure/Exit.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken, IndentationToken, SingleLineCommentToken, MultiLineCommentToken
from pyVHDLParser.Token import WordToken, ExtendedIdentifier, CharacterToken
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic1 import EndOfStatementBlock
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedBySemicolon
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndOfStatementBlock):
diff --git a/pyVHDLParser/Blocks/ControlStructure/ForLoop.py b/pyVHDLParser/Blocks/ControlStructure/ForLoop.py
index d193c85f4..03a90b79d 100644
--- a/pyVHDLParser/Blocks/ControlStructure/ForLoop.py
+++ b/pyVHDLParser/Blocks/ControlStructure/ForLoop.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, CommentToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier, CharacterToken, SpaceToken
from pyVHDLParser.Token.Keywords import InKeyword, ForKeyword, LoopKeyword, BoundaryToken, IdentifierToken, WordToken
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedByKeywordORClosingRoundBracket, ExpressionBlockEndedByKeywordOrToOrDownto
-__all__ = []
-__api__ = __all__
-
@export
class IteratorBlock(Block):
diff --git a/pyVHDLParser/Blocks/ControlStructure/If.py b/pyVHDLParser/Blocks/ControlStructure/If.py
index 6dab614ad..7701ff913 100644
--- a/pyVHDLParser/Blocks/ControlStructure/If.py
+++ b/pyVHDLParser/Blocks/ControlStructure/If.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, SpaceToken, IndentationToken, CommentToken, MultiLineCommentToken, SingleLineCommentToken
from pyVHDLParser.Token.Keywords import WordToken, BoundaryToken, IfKeyword, ThenKeyword, ElsIfKeyword, ElseKeyword
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedByKeywordORClosingRoundBracket
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/ControlStructure/Next.py b/pyVHDLParser/Blocks/ControlStructure/Next.py
index 40c3ba018..b5254d818 100644
--- a/pyVHDLParser/Blocks/ControlStructure/Next.py
+++ b/pyVHDLParser/Blocks/ControlStructure/Next.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken, IndentationToken, SingleLineCommentToken, MultiLineCommentToken
from pyVHDLParser.Token import WordToken, ExtendedIdentifier, CharacterToken
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic1 import EndOfStatementBlock
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedBySemicolon
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndOfStatementBlock):
diff --git a/pyVHDLParser/Blocks/ControlStructure/Null.py b/pyVHDLParser/Blocks/ControlStructure/Null.py
index 17c0e55ab..8419ee20c 100644
--- a/pyVHDLParser/Blocks/ControlStructure/Null.py
+++ b/pyVHDLParser/Blocks/ControlStructure/Null.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken, IndentationToken, SingleLineCommentToken, MultiLineCommentToken
from pyVHDLParser.Token import CharacterToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Generic1 import EndOfStatementBlock
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndOfStatementBlock):
diff --git a/pyVHDLParser/Blocks/ControlStructure/Return.py b/pyVHDLParser/Blocks/ControlStructure/Return.py
index 933d0174f..9ea1912b4 100644
--- a/pyVHDLParser/Blocks/ControlStructure/Return.py
+++ b/pyVHDLParser/Blocks/ControlStructure/Return.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CommentToken, CharacterToken, SpaceToken, LinebreakToken, IndentationToken, SingleLineCommentToken, MultiLineCommentToken
from pyVHDLParser.Token.Keywords import BoundaryToken, EndToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedBySemicolon
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndOfStatementBlock):
diff --git a/pyVHDLParser/Blocks/ControlStructure/WhileLoop.py b/pyVHDLParser/Blocks/ControlStructure/WhileLoop.py
index e6a7cc256..6e5318adf 100644
--- a/pyVHDLParser/Blocks/ControlStructure/WhileLoop.py
+++ b/pyVHDLParser/Blocks/ControlStructure/WhileLoop.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, IndentationToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, LoopKeyword
@@ -38,9 +39,6 @@
from pyVHDLParser.Blocks.Generic import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.List import GenericList, PortList
-__all__ = []
-__api__ = __all__
-
@export
class ConditionBlock(Block):
diff --git a/pyVHDLParser/Blocks/ControlStructure/__init__.py b/pyVHDLParser/Blocks/ControlStructure/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/ControlStructure/__init__.py
+++ b/pyVHDLParser/Blocks/ControlStructure/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Exception.py b/pyVHDLParser/Blocks/Exception.py
index 0c8858ba4..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Exception.py
+++ b/pyVHDLParser/Blocks/Exception.py
@@ -1,30 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-
-
diff --git a/pyVHDLParser/Blocks/Expression.py b/pyVHDLParser/Blocks/Expression.py
index 40ac44f82..5308b47cc 100644
--- a/pyVHDLParser/Blocks/Expression.py
+++ b/pyVHDLParser/Blocks/Expression.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import FusedCharacterToken, CharacterToken, WordToken, LiteralToken, SpaceToken, LinebreakToken
from pyVHDLParser.Token import CommentToken, Token, MultiLineCommentToken, IndentationToken, SingleLineCommentToken
@@ -40,9 +41,6 @@
from pyVHDLParser.Blocks import Block, ParserState, BlockParserException, CommentBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class ExpressionBlock(Block):
diff --git a/pyVHDLParser/Blocks/Generate/CaseGenerate.py b/pyVHDLParser/Blocks/Generate/CaseGenerate.py
index 9b95c9372..e2495387a 100644
--- a/pyVHDLParser/Blocks/Generate/CaseGenerate.py
+++ b/pyVHDLParser/Blocks/Generate/CaseGenerate.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, BeginKeyword
from pyVHDLParser.Token.Keywords import IsKeyword, EndKeyword, GenericKeyword, PortKeyword
@@ -37,9 +38,6 @@
from pyVHDLParser.Blocks.Generate import EndGenerateBlock as EndGenerateBlockBase
from pyVHDLParser.Blocks.List import GenericList, PortList
-__all__ = []
-__api__ = __all__
-
@export
class CaseBlock(Block):
diff --git a/pyVHDLParser/Blocks/Generate/ForGenerate.py b/pyVHDLParser/Blocks/Generate/ForGenerate.py
index 00d9f71ad..9ce536506 100644
--- a/pyVHDLParser/Blocks/Generate/ForGenerate.py
+++ b/pyVHDLParser/Blocks/Generate/ForGenerate.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, IndentationToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, BeginKeyword, ProcessKeyword, AssertKeyword
@@ -39,9 +40,6 @@
from pyVHDLParser.Blocks.Reporting.Assert import AssertBlock
from pyVHDLParser.Blocks.Sequential import Process
-__all__ = []
-__api__ = __all__
-
@export
class RangeBlock(Block):
diff --git a/pyVHDLParser/Blocks/Generate/IfGenerate.py b/pyVHDLParser/Blocks/Generate/IfGenerate.py
index a3f1dbfca..d7fe979dc 100644
--- a/pyVHDLParser/Blocks/Generate/IfGenerate.py
+++ b/pyVHDLParser/Blocks/Generate/IfGenerate.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, IndentationToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken
@@ -40,9 +41,6 @@
from pyVHDLParser.Blocks.Reporting.Assert import AssertBlock
from pyVHDLParser.Blocks.Sequential import Process
-__all__ = []
-__api__ = __all__
-
@export
class IfConditionBlock(Block):
diff --git a/pyVHDLParser/Blocks/Generate/__init__.py b/pyVHDLParser/Blocks/Generate/__init__.py
index 9c8e89b37..c3e7aa8de 100644
--- a/pyVHDLParser/Blocks/Generate/__init__.py
+++ b/pyVHDLParser/Blocks/Generate/__init__.py
@@ -1,39 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token.Keywords import GenerateKeyword
from pyVHDLParser.Blocks.Generic import EndBlock
-__all__ = []
-__api__ = __all__
-
@export
class EndGenerateBlock(EndBlock):
diff --git a/pyVHDLParser/Blocks/Generic.py b/pyVHDLParser/Blocks/Generic.py
index 406ded655..fa22682cf 100644
--- a/pyVHDLParser/Blocks/Generic.py
+++ b/pyVHDLParser/Blocks/Generic.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, IndentationToken
from pyVHDLParser.Token.Keywords import AssertKeyword, EndKeyword, ProcessKeyword, ReportKeyword, IfKeyword, ForKeyword, ReturnKeyword, NextKeyword, NullKeyword
@@ -37,9 +38,6 @@
from pyVHDLParser.Blocks.Object.Variable import VariableDeclarationBlock
from pyVHDLParser.Blocks.Generic1 import EndBlock, BeginBlock
-__all__ = []
-__api__ = __all__
-
@export
class DeclarativeRegion(metaclass=MetaBlock):
diff --git a/pyVHDLParser/Blocks/Generic1.py b/pyVHDLParser/Blocks/Generic1.py
index 326d161a0..d937c923f 100644
--- a/pyVHDLParser/Blocks/Generic1.py
+++ b/pyVHDLParser/Blocks/Generic1.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, LinebreakToken, CommentToken, WordToken, MultiLineCommentToken, IndentationToken
from pyVHDLParser.Token import SingleLineCommentToken, ExtendedIdentifier
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks import FinalBlock, ParserState, CommentBlock, BlockParserException, Block
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(FinalBlock):
diff --git a/pyVHDLParser/Blocks/Instantiation/EntityInstantiation.py b/pyVHDLParser/Blocks/Instantiation/EntityInstantiation.py
index d308a75ea..cfcaca9f5 100644
--- a/pyVHDLParser/Blocks/Instantiation/EntityInstantiation.py
+++ b/pyVHDLParser/Blocks/Instantiation/EntityInstantiation.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class EntityInstantiationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Instantiation/FunctionInstantiation.py b/pyVHDLParser/Blocks/Instantiation/FunctionInstantiation.py
index 9d72e2f28..cda9df96c 100644
--- a/pyVHDLParser/Blocks/Instantiation/FunctionInstantiation.py
+++ b/pyVHDLParser/Blocks/Instantiation/FunctionInstantiation.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class EntityInstantiationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Instantiation/PackageInstantiation.py b/pyVHDLParser/Blocks/Instantiation/PackageInstantiation.py
index 9d72e2f28..cda9df96c 100644
--- a/pyVHDLParser/Blocks/Instantiation/PackageInstantiation.py
+++ b/pyVHDLParser/Blocks/Instantiation/PackageInstantiation.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class EntityInstantiationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Instantiation/ProcedureInstantiation.py b/pyVHDLParser/Blocks/Instantiation/ProcedureInstantiation.py
index 9d72e2f28..cda9df96c 100644
--- a/pyVHDLParser/Blocks/Instantiation/ProcedureInstantiation.py
+++ b/pyVHDLParser/Blocks/Instantiation/ProcedureInstantiation.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class EntityInstantiationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Instantiation/__init__.py b/pyVHDLParser/Blocks/Instantiation/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Instantiation/__init__.py
+++ b/pyVHDLParser/Blocks/Instantiation/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/InterfaceObject.py b/pyVHDLParser/Blocks/InterfaceObject.py
index 72e212846..69691597f 100644
--- a/pyVHDLParser/Blocks/InterfaceObject.py
+++ b/pyVHDLParser/Blocks/InterfaceObject.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken, WordToken, ExtendedIdentifier, MultiLineCommentToken
from pyVHDLParser.Token import IndentationToken, SingleLineCommentToken, CharacterToken, FusedCharacterToken
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedByCharORClosingRoundBracket
-__all__ = []
-__api__ = __all__
-
@export
class InterfaceObjectBlock(Block):
diff --git a/pyVHDLParser/Blocks/List/GenericList.py b/pyVHDLParser/Blocks/List/GenericList.py
index 9992f9c3a..04e3bf2a2 100644
--- a/pyVHDLParser/Blocks/List/GenericList.py
+++ b/pyVHDLParser/Blocks/List/GenericList.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, IndentationToken, CommentToken, MultiLineCommentToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import BoundaryToken, ConstantKeyword, TypeKeyword, DelimiterToken
@@ -38,9 +39,6 @@
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedByCharORClosingRoundBracket
from pyVHDLParser.Blocks.InterfaceObject import InterfaceConstantBlock, InterfaceTypeBlock
-__all__ = []
-__api__ = __all__
-
@export
class CloseBlock(CloseBlockBase):
diff --git a/pyVHDLParser/Blocks/List/GenericMapList.py b/pyVHDLParser/Blocks/List/GenericMapList.py
index 9b86208c2..765eaed9f 100644
--- a/pyVHDLParser/Blocks/List/GenericMapList.py
+++ b/pyVHDLParser/Blocks/List/GenericMapList.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, IndentationToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken, DelimiterToken, OpeningRoundBracketToken, ClosingRoundBracketToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class OpenBlock(Block):
diff --git a/pyVHDLParser/Blocks/List/ParameterList.py b/pyVHDLParser/Blocks/List/ParameterList.py
index cb68be025..6fabae8b1 100644
--- a/pyVHDLParser/Blocks/List/ParameterList.py
+++ b/pyVHDLParser/Blocks/List/ParameterList.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, WordToken, SpaceToken, LinebreakToken, IndentationToken, CommentToken, MultiLineCommentToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import BoundaryToken, DelimiterToken, ClosingRoundBracketToken, IdentifierToken
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic1 import CloseBlock as CloseBlockBase
from pyVHDLParser.Blocks.InterfaceObject import InterfaceSignalBlock, InterfaceConstantBlock, InterfaceVariableBlock
-__all__ = []
-__api__ = __all__
-
@export
class OpenBlock(Block):
diff --git a/pyVHDLParser/Blocks/List/PortList.py b/pyVHDLParser/Blocks/List/PortList.py
index e8de0693d..d476d8c3e 100644
--- a/pyVHDLParser/Blocks/List/PortList.py
+++ b/pyVHDLParser/Blocks/List/PortList.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, WordToken, SpaceToken, LinebreakToken, IndentationToken, CommentToken, MultiLineCommentToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import BoundaryToken, SignalKeyword, DelimiterToken
@@ -37,9 +38,6 @@
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedByCharORClosingRoundBracket
from pyVHDLParser.Blocks.InterfaceObject import InterfaceSignalBlock
-__all__ = []
-__api__ = __all__
-
@export
class CloseBlock(CloseBlockBase):
diff --git a/pyVHDLParser/Blocks/List/PortMapList.py b/pyVHDLParser/Blocks/List/PortMapList.py
index 35bb291f2..0d6338484 100644
--- a/pyVHDLParser/Blocks/List/PortMapList.py
+++ b/pyVHDLParser/Blocks/List/PortMapList.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, IndentationToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken, DelimiterToken, OpeningRoundBracketToken, ClosingRoundBracketToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class OpenBlock(Block):
diff --git a/pyVHDLParser/Blocks/List/SensitivityList.py b/pyVHDLParser/Blocks/List/SensitivityList.py
index 48a2bf48b..34a5774a1 100644
--- a/pyVHDLParser/Blocks/List/SensitivityList.py
+++ b/pyVHDLParser/Blocks/List/SensitivityList.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, WordToken, SpaceToken, LinebreakToken, IndentationToken, ExtendedIdentifier
from pyVHDLParser.Token import CommentToken, MultiLineCommentToken, SingleLineCommentToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks import BlockParserException, Block, CommentBlock, ParserState, SkipableBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class OpenBlock(Block):
diff --git a/pyVHDLParser/Blocks/List/__init__.py b/pyVHDLParser/Blocks/List/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/List/__init__.py
+++ b/pyVHDLParser/Blocks/List/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Object/Constant.py b/pyVHDLParser/Blocks/Object/Constant.py
index 3a0e80932..d2acbfa6d 100644
--- a/pyVHDLParser/Blocks/Object/Constant.py
+++ b/pyVHDLParser/Blocks/Object/Constant.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken
from pyVHDLParser.Token.Keywords import BoundaryToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedBySemicolon
from pyVHDLParser.Blocks.Object import ObjectDeclarationEndMarkerBlock, ObjectDeclarationBlock
-__all__ = []
-__api__ = __all__
-
@export
class ConstantDeclarationEndMarkerBlock(ObjectDeclarationEndMarkerBlock):
diff --git a/pyVHDLParser/Blocks/Object/File.py b/pyVHDLParser/Blocks/Object/File.py
index d3164e2dc..3c5929c59 100644
--- a/pyVHDLParser/Blocks/Object/File.py
+++ b/pyVHDLParser/Blocks/Object/File.py
@@ -1,31 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-
-__all__ = []
-__api__ = __all__
diff --git a/pyVHDLParser/Blocks/Object/SharedVariable.py b/pyVHDLParser/Blocks/Object/SharedVariable.py
index 9a57edd20..ed309d8bf 100644
--- a/pyVHDLParser/Blocks/Object/SharedVariable.py
+++ b/pyVHDLParser/Blocks/Object/SharedVariable.py
@@ -1,32 +1,34 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
+
from pyVHDLParser.Blocks import ParserState, CommentBlock, BlockParserException
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Object import ObjectDeclarationEndMarkerBlock, ObjectDeclarationBlock
@@ -34,9 +36,6 @@
from pyVHDLParser.Token import ExtendedIdentifier, MultiLineCommentToken, CharacterToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
-__all__ = []
-__api__ = __all__
-
@export
class SharedVariableDeclarationEndMarkerBlock(ObjectDeclarationEndMarkerBlock):
diff --git a/pyVHDLParser/Blocks/Object/Signal.py b/pyVHDLParser/Blocks/Object/Signal.py
index b77b5d454..80b563709 100644
--- a/pyVHDLParser/Blocks/Object/Signal.py
+++ b/pyVHDLParser/Blocks/Object/Signal.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken
from pyVHDLParser.Token.Keywords import BoundaryToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedBySemicolon
from pyVHDLParser.Blocks.Object import ObjectDeclarationEndMarkerBlock, ObjectDeclarationBlock
-__all__ = []
-__api__ = __all__
-
@export
class SignalDeclarationEndMarkerBlock(ObjectDeclarationEndMarkerBlock):
diff --git a/pyVHDLParser/Blocks/Object/Variable.py b/pyVHDLParser/Blocks/Object/Variable.py
index 36cd9c424..0616ccf36 100644
--- a/pyVHDLParser/Blocks/Object/Variable.py
+++ b/pyVHDLParser/Blocks/Object/Variable.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken
from pyVHDLParser.Token.Keywords import BoundaryToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Expression import ExpressionBlockEndedBySemicolon
from pyVHDLParser.Blocks.Object import ObjectDeclarationEndMarkerBlock, ObjectDeclarationBlock
-__all__ = []
-__api__ = __all__
-
@export
class VariableDeclarationEndMarkerBlock(ObjectDeclarationEndMarkerBlock):
diff --git a/pyVHDLParser/Blocks/Object/__init__.py b/pyVHDLParser/Blocks/Object/__init__.py
index 128889402..2426e9f67 100644
--- a/pyVHDLParser/Blocks/Object/__init__.py
+++ b/pyVHDLParser/Blocks/Object/__init__.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import WordToken, ExtendedIdentifier, LinebreakToken, MultiLineCommentToken
from pyVHDLParser.Token import CommentToken, SpaceToken, CharacterToken, FusedCharacterToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Generic1 import EndOfStatementBlock
-__all__ = []
-__api__ = __all__
-
@export
class ObjectDeclarationBlock(Block):
diff --git a/pyVHDLParser/Blocks/Reference/Context.py b/pyVHDLParser/Blocks/Reference/Context.py
index f39d22c52..1145522bc 100644
--- a/pyVHDLParser/Blocks/Reference/Context.py
+++ b/pyVHDLParser/Blocks/Reference/Context.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CommentToken, SpaceToken, LinebreakToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import WordToken, BoundaryToken, IdentifierToken, IsKeyword, UseKeyword, EndKeyword, ContextKeyword, LibraryKeyword
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Generic import EndBlock as EndBlockBase
-__all__ = []
-__api__ = __all__
-
@export
class NameBlock(Block):
diff --git a/pyVHDLParser/Blocks/Reference/Library.py b/pyVHDLParser/Blocks/Reference/Library.py
index cbd266e9a..272813e96 100644
--- a/pyVHDLParser/Blocks/Reference/Library.py
+++ b/pyVHDLParser/Blocks/Reference/Library.py
@@ -1,41 +1,39 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, CommentToken, IndentationToken, SingleLineCommentToken, MultiLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken, DelimiterToken
from pyVHDLParser.Blocks import BlockParserException, Block, CommentBlock, ParserState, FinalBlock, SkipableBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class StartBlock(Block):
diff --git a/pyVHDLParser/Blocks/Reference/Use.py b/pyVHDLParser/Blocks/Reference/Use.py
index cc89da34a..c3faac278 100644
--- a/pyVHDLParser/Blocks/Reference/Use.py
+++ b/pyVHDLParser/Blocks/Reference/Use.py
@@ -1,41 +1,39 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, CommentToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, DelimiterToken, EndToken, AllKeyword
from pyVHDLParser.Blocks import BlockParserException, Block, CommentBlock, ParserState, FinalBlock, SkipableBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class StartBlock(Block):
diff --git a/pyVHDLParser/Blocks/Reference/__init__.py b/pyVHDLParser/Blocks/Reference/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Reference/__init__.py
+++ b/pyVHDLParser/Blocks/Reference/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Reporting/Assert.py b/pyVHDLParser/Blocks/Reporting/Assert.py
index c5313bc9a..fe31725ae 100644
--- a/pyVHDLParser/Blocks/Reporting/Assert.py
+++ b/pyVHDLParser/Blocks/Reporting/Assert.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, WordToken, IndentationToken, CharacterToken
from pyVHDLParser.Token import CommentToken, SingleLineCommentToken, MultiLineCommentToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks import Block, CommentBlock, ParserState, BlockParserException
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class AssertBlock(Block):
diff --git a/pyVHDLParser/Blocks/Reporting/Report.py b/pyVHDLParser/Blocks/Reporting/Report.py
index 85ce185d6..daf1589ea 100644
--- a/pyVHDLParser/Blocks/Reporting/Report.py
+++ b/pyVHDLParser/Blocks/Reporting/Report.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, WordToken, IndentationToken, CharacterToken
from pyVHDLParser.Token import CommentToken, SingleLineCommentToken, MultiLineCommentToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks import Block, CommentBlock, ParserState, BlockParserException
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
-__all__ = []
-__api__ = __all__
-
@export
class ReportBlock(Block):
diff --git a/pyVHDLParser/Blocks/Reporting/__init__.py b/pyVHDLParser/Blocks/Reporting/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Reporting/__init__.py
+++ b/pyVHDLParser/Blocks/Reporting/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Sequential/Function.py b/pyVHDLParser/Blocks/Sequential/Function.py
index cda90ea21..d2c4b838e 100644
--- a/pyVHDLParser/Blocks/Sequential/Function.py
+++ b/pyVHDLParser/Blocks/Sequential/Function.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken, CharacterToken, IndentationToken, MultiLineCommentToken
from pyVHDLParser.Token.Keywords import WordToken, BoundaryToken, IdentifierToken, PureKeyword, ImpureKeyword
@@ -38,9 +39,6 @@
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.List import GenericList, ParameterList
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Sequential/Package.py b/pyVHDLParser/Blocks/Sequential/Package.py
index 52645ee6b..0b909b264 100644
--- a/pyVHDLParser/Blocks/Sequential/Package.py
+++ b/pyVHDLParser/Blocks/Sequential/Package.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, MultiLineCommentToken
from pyVHDLParser.Token.Keywords import PackageKeyword, IsKeyword, EndKeyword, GenericKeyword, BodyKeyword, UseKeyword, VariableKeyword, SignalKeyword
@@ -39,9 +40,6 @@
from pyVHDLParser.Blocks.Sequential import PackageBody
from pyVHDLParser.Blocks.List import GenericList
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Sequential/PackageBody.py b/pyVHDLParser/Blocks/Sequential/PackageBody.py
index 430be4609..bdbbd8b0e 100644
--- a/pyVHDLParser/Blocks/Sequential/PackageBody.py
+++ b/pyVHDLParser/Blocks/Sequential/PackageBody.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, MultiLineCommentToken, IndentationToken
from pyVHDLParser.Token.Keywords import PackageKeyword, IsKeyword, EndKeyword, BodyKeyword, FunctionKeyword, SignalKeyword
@@ -37,9 +38,6 @@
from pyVHDLParser.Blocks.Generic import SequentialDeclarativeRegion
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Sequential/Procedure.py b/pyVHDLParser/Blocks/Sequential/Procedure.py
index c5a92f47f..c736b2325 100644
--- a/pyVHDLParser/Blocks/Sequential/Procedure.py
+++ b/pyVHDLParser/Blocks/Sequential/Procedure.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import SpaceToken, LinebreakToken, CommentToken, CharacterToken, IndentationToken, MultiLineCommentToken
from pyVHDLParser.Token.Keywords import WordToken, BoundaryToken, IdentifierToken, GenericKeyword, ParameterKeyword, ProcedureKeyword, EndKeyword, ImpureKeyword, PureKeyword
@@ -38,9 +39,6 @@
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.List import GenericList, ParameterList
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Sequential/Process.py b/pyVHDLParser/Blocks/Sequential/Process.py
index d613edad8..3e7249a11 100644
--- a/pyVHDLParser/Blocks/Sequential/Process.py
+++ b/pyVHDLParser/Blocks/Sequential/Process.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, LinebreakToken, CommentToken, IndentationToken, MultiLineCommentToken, SingleLineCommentToken
from pyVHDLParser.Token.Keywords import WordToken, BoundaryToken, IsKeyword, UseKeyword, ConstantKeyword, ImpureKeyword, PureKeyword
@@ -38,9 +39,6 @@
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
from pyVHDLParser.Blocks.List import SensitivityList
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Sequential/__init__.py b/pyVHDLParser/Blocks/Sequential/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Sequential/__init__.py
+++ b/pyVHDLParser/Blocks/Sequential/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Structural/Architecture.py b/pyVHDLParser/Blocks/Structural/Architecture.py
index 4d664fbe4..05a0fc4f3 100644
--- a/pyVHDLParser/Blocks/Structural/Architecture.py
+++ b/pyVHDLParser/Blocks/Structural/Architecture.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import ArchitectureKeyword, IsKeyword, OfKeyword, BoundaryToken, IdentifierToken
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Generic import ConcurrentBeginBlock, ConcurrentDeclarativeRegion
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Structural/Block.py b/pyVHDLParser/Blocks/Structural/Block.py
index 79984959e..3e8e24016 100644
--- a/pyVHDLParser/Blocks/Structural/Block.py
+++ b/pyVHDLParser/Blocks/Structural/Block.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, LinebreakToken, IndentationToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, EndToken
@@ -40,9 +41,6 @@
from pyVHDLParser.Blocks.Reporting import Assert
from pyVHDLParser.Blocks.Sequential import Process
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Structural/Component.py b/pyVHDLParser/Blocks/Structural/Component.py
index cd0cdbd25..7876d4a20 100644
--- a/pyVHDLParser/Blocks/Structural/Component.py
+++ b/pyVHDLParser/Blocks/Structural/Component.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import ComponentKeyword, IsKeyword, EndKeyword, GenericKeyword, PortKeyword, UseKeyword, BeginKeyword
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Generic import EndBlock as EndBlockBase
-__all__ = []
-__api__ = __all__
-
@export
class NameBlock(Block):
diff --git a/pyVHDLParser/Blocks/Structural/Configuration.py b/pyVHDLParser/Blocks/Structural/Configuration.py
index d16923659..350682310 100644
--- a/pyVHDLParser/Blocks/Structural/Configuration.py
+++ b/pyVHDLParser/Blocks/Structural/Configuration.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import ConfigurationKeyword, IsKeyword, EndKeyword, GenericKeyword, PortKeyword, UseKeyword, BeginKeyword
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Generic import ConcurrentBeginBlock, EndBlock as EndBlockBase
-__all__ = []
-__api__ = __all__
-
@export
class NameBlock(Block):
diff --git a/pyVHDLParser/Blocks/Structural/Entity.py b/pyVHDLParser/Blocks/Structural/Entity.py
index 424a58336..b679ec1e1 100644
--- a/pyVHDLParser/Blocks/Structural/Entity.py
+++ b/pyVHDLParser/Blocks/Structural/Entity.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import LinebreakToken, WordToken, SpaceToken, CommentToken, MultiLineCommentToken, IndentationToken, SingleLineCommentToken, ExtendedIdentifier
from pyVHDLParser.Token.Keywords import EntityKeyword, IsKeyword, GenericKeyword, PortKeyword
@@ -36,9 +37,6 @@
from pyVHDLParser.Blocks.Generic import ConcurrentBeginBlock, ConcurrentDeclarativeRegion
from pyVHDLParser.Blocks.Generic1 import EndBlock as EndBlockBase
-__all__ = []
-__api__ = __all__
-
@export
class EndBlock(EndBlockBase):
diff --git a/pyVHDLParser/Blocks/Structural/__init__.py b/pyVHDLParser/Blocks/Structural/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Structural/__init__.py
+++ b/pyVHDLParser/Blocks/Structural/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/Type/SubType.py b/pyVHDLParser/Blocks/Type/SubType.py
index 45be2b739..49b42863a 100644
--- a/pyVHDLParser/Blocks/Type/SubType.py
+++ b/pyVHDLParser/Blocks/Type/SubType.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, SpaceToken, WordToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, VariableAssignmentKeyword, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class SubTypeBlock(Block):
diff --git a/pyVHDLParser/Blocks/Type/Type.py b/pyVHDLParser/Blocks/Type/Type.py
index da8c5d02f..13f5b4698 100644
--- a/pyVHDLParser/Blocks/Type/Type.py
+++ b/pyVHDLParser/Blocks/Type/Type.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token import CharacterToken, LinebreakToken, SpaceToken, WordToken
from pyVHDLParser.Token.Keywords import BoundaryToken, IdentifierToken, VariableAssignmentKeyword, EndToken
@@ -34,9 +35,6 @@
from pyVHDLParser.Blocks.Common import LinebreakBlock, WhitespaceBlock
from pyVHDLParser.Blocks.Comment import SingleLineCommentBlock, MultiLineCommentBlock
-__all__ = []
-__api__ = __all__
-
@export
class TypeBlock(Block):
diff --git a/pyVHDLParser/Blocks/Type/__init__.py b/pyVHDLParser/Blocks/Type/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Blocks/Type/__init__.py
+++ b/pyVHDLParser/Blocks/Type/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Blocks/__init__.py b/pyVHDLParser/Blocks/__init__.py
index 9be6c020d..5591f4ab7 100644
--- a/pyVHDLParser/Blocks/__init__.py
+++ b/pyVHDLParser/Blocks/__init__.py
@@ -1,35 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from types import FunctionType
from typing import List, Callable, Iterator, Generator
-from pydecor.decorators import export
-from pyTerminalUI import LineTerminal
+from pyTooling.Decorators import export
+from pyTooling.TerminalUI import LineTerminal
from pyVHDLParser import StartOfDocument, EndOfDocument, StartOfSnippet, EndOfSnippet
from pyVHDLParser.Base import ParserException
@@ -37,9 +39,6 @@
from pyVHDLParser.Token import WordToken, EndOfDocumentToken, StartOfDocumentToken
from pyVHDLParser.Token.Keywords import LibraryKeyword, UseKeyword, ContextKeyword, EntityKeyword, ArchitectureKeyword, PackageKeyword
-__all__ = []
-__api__ = __all__
-
@export
class BlockParserException(ParserException):
diff --git a/pyVHDLParser/CLI/Block.py b/pyVHDLParser/CLI/Block.py
index ac40cf750..33366321c 100644
--- a/pyVHDLParser/CLI/Block.py
+++ b/pyVHDLParser/CLI/Block.py
@@ -1,24 +1,31 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python frontend: A streaming VHDL parser
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from pathlib import Path
diff --git a/pyVHDLParser/CLI/CodeDOM.py b/pyVHDLParser/CLI/CodeDOM.py
index 4ba863ae2..c0282e5b5 100644
--- a/pyVHDLParser/CLI/CodeDOM.py
+++ b/pyVHDLParser/CLI/CodeDOM.py
@@ -1,24 +1,31 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python frontend: A streaming VHDL parser
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from pathlib import Path
diff --git a/pyVHDLParser/CLI/Group.py b/pyVHDLParser/CLI/Group.py
index 0112c649e..17d089117 100644
--- a/pyVHDLParser/CLI/Group.py
+++ b/pyVHDLParser/CLI/Group.py
@@ -1,24 +1,31 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python frontend: A streaming VHDL parser
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from pathlib import Path
diff --git a/pyVHDLParser/CLI/Token.py b/pyVHDLParser/CLI/Token.py
index 0723eb253..c9f5d10d1 100644
--- a/pyVHDLParser/CLI/Token.py
+++ b/pyVHDLParser/CLI/Token.py
@@ -1,24 +1,31 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python frontend: A streaming VHDL parser
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from pathlib import Path
from textwrap import dedent
diff --git a/pyVHDLParser/CLI/VHDLParser.py b/pyVHDLParser/CLI/VHDLParser.py
index 220b9b623..8ed834882 100644
--- a/pyVHDLParser/CLI/VHDLParser.py
+++ b/pyVHDLParser/CLI/VHDLParser.py
@@ -1,33 +1,41 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python frontend: A streaming VHDL parser
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from argparse import RawDescriptionHelpFormatter
from platform import system as platform_system
from textwrap import dedent, wrap
-from pyExceptions import ExceptionBase
+from pyTooling.Exceptions import ExceptionBase
+from pyTooling.Decorators import export
+from pyTooling.MetaClasses import Singleton
+from pyTooling.TerminalUI import LineTerminal, Severity
from pyAttributes.ArgParseAttributes import ArgParseMixin, DefaultAttribute, CommandAttribute, ArgumentAttribute, CommonSwitchArgumentAttribute
-from pyMetaClasses import Singleton
-from pyTerminalUI import LineTerminal, Severity
from pyVHDLParser.Blocks import MetaBlock
@@ -41,17 +49,13 @@
__copyright__ = "Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany\n" + \
"Copyright 2016-2017 Patrick Lehmann - Dresden, Germany"
__maintainer__ = "Patrick Lehmann"
-__email__ = "Patrick.Lehmann@plc2.de"
+__email__ = "Paebbels@gmail.com"
__version__ = "0.6.0"
__status__ = "Alpha"
__license__ = "Apache License 2.0"
-__api__ = [
- 'printImportError',
- 'Application'
-]
-__all__ = __api__
+@export
def printImportError(ex):
platform = platform_system()
print("IMPORT ERROR: One or more Python packages are not available in your environment.")
@@ -63,6 +67,7 @@ def printImportError(ex):
exit(1)
+@export
class Application(LineTerminal, ArgParseMixin, TokenStreamHandlers, BlockStreamHandlers, GroupStreamHandlers, CodeDOMHandlers):
HeadLine = "pyVHDLParser - Test Application"
diff --git a/pyVHDLParser/CLI/__init__.py b/pyVHDLParser/CLI/__init__.py
index 723adb6e4..f0e14f9b0 100644
--- a/pyVHDLParser/CLI/__init__.py
+++ b/pyVHDLParser/CLI/__init__.py
@@ -1,24 +1,31 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python frontend: A streaming VHDL parser
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from typing import Protocol, Callable, Dict
diff --git a/pyVHDLParser/Common/Common.py b/pyVHDLParser/Common/Common.py
index 3fda7bd92..ca9074cd1 100644
--- a/pyVHDLParser/Common/Common.py
+++ b/pyVHDLParser/Common/Common.py
@@ -1,37 +1,35 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from enum import Enum
-from pydecor.decorators import export
-
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/Common/__init__.py b/pyVHDLParser/Common/__init__.py
index 281602c48..3c6feaacd 100644
--- a/pyVHDLParser/Common/__init__.py
+++ b/pyVHDLParser/Common/__init__.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pyVHDLParser.Common.Common import VHDLVersion
diff --git a/pyVHDLParser/Decorators.py b/pyVHDLParser/Decorators.py
index b3ccc746b..3c5929c59 100644
--- a/pyVHDLParser/Decorators.py
+++ b/pyVHDLParser/Decorators.py
@@ -1,38 +1,29 @@
-# ==============================================================================
-# __ ___ _ ____ _ ____
-# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __
-# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__|
-# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ |
-# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_|
-# |_| |___/
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python package: A streaming-based VHDL parser.
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-import sys
-
-__all__ = []
-__api__ = __all__
diff --git a/pyVHDLParser/DocumentModel/DesignUnit/Architecture.py b/pyVHDLParser/DocumentModel/DesignUnit/Architecture.py
index 1828d3ac8..884df37c9 100644
--- a/pyVHDLParser/DocumentModel/DesignUnit/Architecture.py
+++ b/pyVHDLParser/DocumentModel/DesignUnit/Architecture.py
@@ -1,45 +1,44 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pydecor import export
from typing import List
-from pyVHDLModel.VHDLModel import Architecture as ArchitectureVHDLModel
+from pyVHDLModel.SyntaxModel import Architecture as ArchitectureVHDLModel
from pyVHDLParser.Token.Keywords import IdentifierToken
from pyVHDLParser.Blocks import BlockParserException
from pyVHDLParser.Blocks.Object.Constant import ConstantDeclarationBlock
from pyVHDLParser.Blocks.Structural import Architecture as ArchitectureBlocks
from pyVHDLParser.Groups import ParserState
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
-__all__ = []
-__api__ = __all__
DEBUG = True
diff --git a/pyVHDLParser/DocumentModel/DesignUnit/Context.py b/pyVHDLParser/DocumentModel/DesignUnit/Context.py
index 4148c08f3..e4fbb204d 100644
--- a/pyVHDLParser/DocumentModel/DesignUnit/Context.py
+++ b/pyVHDLParser/DocumentModel/DesignUnit/Context.py
@@ -1,43 +1,42 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pydecor import export
-from pyVHDLModel.VHDLModel import Context as ContextVHDLModel
+from pyVHDLModel.SyntaxModel import Context as ContextVHDLModel
from pyVHDLParser.Token.Keywords import IdentifierToken
from pyVHDLParser.Blocks import BlockParserException
from pyVHDLParser.Blocks.Reference import Context as ContextBlocks
from pyVHDLParser.Groups import ParserState
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
-__all__ = []
-__api__ = __all__
DEBUG = True
diff --git a/pyVHDLParser/DocumentModel/DesignUnit/Entity.py b/pyVHDLParser/DocumentModel/DesignUnit/Entity.py
index 3cbda551b..2dd4f8fc9 100644
--- a/pyVHDLParser/DocumentModel/DesignUnit/Entity.py
+++ b/pyVHDLParser/DocumentModel/DesignUnit/Entity.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pydecor import export
from typing import List
-from pyVHDLModel.VHDLModel import Entity as EntityVHDLModel
+from pyVHDLModel.SyntaxModel import Entity as EntityVHDLModel
from pyVHDLParser.Token.Keywords import IdentifierToken
from pyVHDLParser.Blocks import BlockParserException
@@ -39,10 +40,8 @@
from pyVHDLParser.Blocks.Structural import Entity as EntityBlocks
from pyVHDLParser.Groups import ParserState
from pyVHDLParser.Groups.List import GenericListGroup, PortListGroup
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
-__all__ = []
-__api__ = __all__
DEBUG = True
diff --git a/pyVHDLParser/DocumentModel/DesignUnit/Package.py b/pyVHDLParser/DocumentModel/DesignUnit/Package.py
index e8bac897c..4e0c1af0e 100644
--- a/pyVHDLParser/DocumentModel/DesignUnit/Package.py
+++ b/pyVHDLParser/DocumentModel/DesignUnit/Package.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pydecor import export
from typing import List
-from pyVHDLModel.VHDLModel import Package as PackageVHDLModel
+from pyVHDLModel.SyntaxModel import Package as PackageVHDLModel
import pyVHDLParser.Blocks.InterfaceObject
from pyVHDLParser.Token.Keywords import IdentifierToken
@@ -39,10 +40,8 @@
from pyVHDLParser.Blocks.Sequential import Package as PackageBlock
from pyVHDLParser.Groups import ParserState
from pyVHDLParser.Groups.List import GenericListGroup
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
-__all__ = []
-__api__ = __all__
DEBUG = True
@@ -128,7 +127,7 @@ def stateParseGeneric(cls, parserState: ParserState): #document, group):
parserState.CurrentNode.AddGeneric(genericName)
- def AddLibraryReferences(self, libraries : List[Library]):
+ def AddLibraryReferences(self, libraries : List[LibraryClause]):
if ((DEBUG is True) and (len(libraries) > 0)): print("{DARK_CYAN}Adding libraries to package {GREEN}{0}{NOCOLOR}:".format(self._name, **Console.Foreground))
for library in libraries:
if DEBUG: print(" {GREEN}{0!s}{NOCOLOR}".format(library, **Console.Foreground))
diff --git a/pyVHDLParser/DocumentModel/DesignUnit/PackageBody.py b/pyVHDLParser/DocumentModel/DesignUnit/PackageBody.py
index 68eedc9c2..aa6e6f91b 100644
--- a/pyVHDLParser/DocumentModel/DesignUnit/PackageBody.py
+++ b/pyVHDLParser/DocumentModel/DesignUnit/PackageBody.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pydecor import export
from typing import List
-from pyVHDLModel.VHDLModel import PackageBody as PackageBodyVHDLModel
+from pyVHDLModel.SyntaxModel import PackageBody as PackageBodyVHDLModel
import pyVHDLParser.Blocks.InterfaceObject
from pyVHDLParser.Token.Keywords import IdentifierToken
@@ -38,10 +39,8 @@
from pyVHDLParser.Blocks.Object.Constant import ConstantDeclarationBlock
from pyVHDLParser.Blocks.Sequential import PackageBody as PackageBodyBlock
from pyVHDLParser.Groups import ParserState
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
-__all__ = []
-__api__ = __all__
DEBUG = True
@@ -161,7 +160,7 @@ def stateParsePort(cls, parserState: ParserState): #document, group):
parserState.CurrentNode.AddPort(portName)
- def AddLibraries(self, libraries: List[Library]):
+ def AddLibraries(self, libraries: List[LibraryClause]):
if ((DEBUG is True) and (len(libraries) > 0)): print("{DARK_CYAN}Adding libraries to package body {GREEN}{0}{NOCOLOR}:".format(self._name, **Console.Foreground))
for library in libraries:
if DEBUG: print(" {GREEN}{0!s}{NOCOLOR}".format(library, **Console.Foreground))
diff --git a/pyVHDLParser/DocumentModel/DesignUnit/__init__.py b/pyVHDLParser/DocumentModel/DesignUnit/__init__.py
index e69de29bb..3c5929c59 100644
--- a/pyVHDLParser/DocumentModel/DesignUnit/__init__.py
+++ b/pyVHDLParser/DocumentModel/DesignUnit/__init__.py
@@ -0,0 +1,29 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
diff --git a/pyVHDLParser/DocumentModel/ObjectDeclaration/__init__.py b/pyVHDLParser/DocumentModel/ObjectDeclaration/__init__.py
index f890b6285..7a79f0e54 100644
--- a/pyVHDLParser/DocumentModel/ObjectDeclaration/__init__.py
+++ b/pyVHDLParser/DocumentModel/ObjectDeclaration/__init__.py
@@ -1,34 +1,35 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pyTerminalUI import LineTerminal
+from pyTooling.TerminalUI import LineTerminal
-from pyVHDLModel.VHDLModel import Constant as ConstantBase
+from pyVHDLModel.SyntaxModel import Constant as ConstantBase
from pyVHDLParser.Token.Keywords import IdentifierToken
from pyVHDLParser.Blocks import BlockParserException
diff --git a/pyVHDLParser/DocumentModel/Reference/__init__.py b/pyVHDLParser/DocumentModel/Reference/__init__.py
index 4c3ea291f..b30966d43 100644
--- a/pyVHDLParser/DocumentModel/Reference/__init__.py
+++ b/pyVHDLParser/DocumentModel/Reference/__init__.py
@@ -1,39 +1,40 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pyVHDLModel.VHDLModel import LibraryReference as LibraryReferenceModel, PackageReference as UseModel
+from pyVHDLModel.SyntaxModel import LibraryClause as VHDLModel_LibraryClause, UseClause as VHDLModel_UseClause
from pyVHDLParser.Token.Keywords import IdentifierToken, AllKeyword
from pyVHDLParser.Blocks import BlockParserException
from pyVHDLParser.Blocks.Reference import Library as LibraryBlocks, Use as UseBlocks
-class Library(LibraryReferenceModel):
+class LibraryClause(VHDLModel_LibraryClause):
def __init__(self, libraryName):
super().__init__()
self._library = libraryName
@@ -63,7 +64,7 @@ def __str__(self):
return self._library
-class PackageReference(UseModel):
+class PackageReference(VHDLModel_UseClause):
def __init__(self, libraryName, packageName, itemName):
super().__init__()
self._library = libraryName
diff --git a/pyVHDLParser/DocumentModel/Sequential/Function.py b/pyVHDLParser/DocumentModel/Sequential/Function.py
index 350885c09..e83282047 100644
--- a/pyVHDLParser/DocumentModel/Sequential/Function.py
+++ b/pyVHDLParser/DocumentModel/Sequential/Function.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from typing import List
-from pyTerminalUI import LineTerminal
-from pyVHDLModel.VHDLModel import Function as FunctionModel
+from pyTooling.TerminalUI import LineTerminal
+from pyVHDLModel.SyntaxModel import Function as FunctionModel
from pyVHDLParser.Token.Keywords import IdentifierToken
from pyVHDLParser.Blocks import BlockParserException
@@ -38,7 +39,7 @@
import pyVHDLParser.Blocks.InterfaceObject
from pyVHDLParser.Blocks.Sequential import Function as FunctionBlock
from pyVHDLParser.DocumentModel.ObjectDeclaration import Constant
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
# Type alias for type hinting
ParserState = GroupToModelParser.GroupParserState
@@ -118,7 +119,7 @@ def stateParseGeneric(cls, parserState: ParserState):
parserState.CurrentNode.AddGeneric(genericName)
- def AddLibraries(self, libraries: List[Library]):
+ def AddLibraries(self, libraries: List[LibraryClause]):
if ((DEBUG is True) and (len(libraries) > 0)): print("{DARK_CYAN}Adding libraries to function {GREEN}{0}{NOCOLOR}:".format(self._name, **LineTerminal().Foreground))
for library in libraries:
if DEBUG: print(" {GREEN}{0!s}{NOCOLOR}".format(library, **LineTerminal().Foreground))
@@ -143,7 +144,7 @@ def Print(self, indent=0):
for lib in self._libraries:
print("{indent}{DARK_CYAN}LIBRARY{NOCOLOR} {GREEN}{lib}{NOCOLOR};".format(indent=indentation, lib=lib, **LineTerminal().Foreground))
for use in self._uses:
- print("{indent}{DARK_CYAN}USE {GREEN}{lib}{NOCOLOR}.{GREEN}{pack}{NOCOLOR}.{GREEN}{item}{NOCOLOR};".format(indent=indentation, lib=use._library, pack=use._function, item=use._item, **LineTerminal().Foreground))
+ print("{indent}{DARK_CYAN}USE {GREEN}{lib}{NOCOLOR}.{GREEN}{pack}{NOCOLOR}.{GREEN}{item}{NOCOLOR};".format(indent=indentation, lib=use._configuration, pack=use._function, item=use._item, **LineTerminal().Foreground))
print()
print("{indent}{DARK_CYAN}FUNCTION{NOCOLOR} {YELLOW}{name}{NOCOLOR} {DARK_CYAN}IS{NOCOLOR}".format(indent=indentation, name=self._name, **LineTerminal().Foreground))
if (len(self._genericItems) > 0):
diff --git a/pyVHDLParser/DocumentModel/Sequential/__init__.py b/pyVHDLParser/DocumentModel/Sequential/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/DocumentModel/Sequential/__init__.py
+++ b/pyVHDLParser/DocumentModel/Sequential/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/DocumentModel/__init__.py b/pyVHDLParser/DocumentModel/__init__.py
index fa2d6d39e..6cef6014b 100644
--- a/pyVHDLParser/DocumentModel/__init__.py
+++ b/pyVHDLParser/DocumentModel/__init__.py
@@ -1,47 +1,46 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
from pathlib import Path
from typing import List, Union
-from pydecor.decorators import export
-from pyVHDLModel.VHDLModel import Document as DocumentModel
+from pyTooling.Decorators import export
+from pyVHDLModel.SyntaxModel import Document as DocumentModel
from pyVHDLParser.Base import ParserException
from pyVHDLParser.Token.Parser import Tokenizer
from pyVHDLParser.Blocks import TokenToBlockParser, BlockParserException
-from pyVHDLParser.Groups import StartOfDocumentGroup, EndOfDocumentGroup, BlockToGroupParser, Group, GroupParserException
+from pyVHDLParser.Groups import StartOfDocumentGroup, EndOfDocumentGroup, BlockToGroupParser, Group, GroupParserException
from pyVHDLParser.Groups.Comment import WhitespaceGroup
from pyVHDLParser.Groups.DesignUnit import ContextGroup, EntityGroup, ArchitectureGroup, PackageBodyGroup, PackageGroup
from pyVHDLParser.Groups.Reference import LibraryGroup, UseGroup
-from pyVHDLParser.DocumentModel.Reference import Library, PackageReference
-
-__all__ = []
-__api__ = __all__
+from pyVHDLParser.DocumentModel.Reference import LibraryClause, PackageReference
@export
@@ -53,7 +52,7 @@ def __init__(self, message, group):
@export
class Document(DocumentModel):
- __libraries: List[Library]
+ __libraries: List[LibraryClause]
__uses: List[PackageReference]
def __init__(self, file: Union[Path, str]): # FIXME: parameter type
@@ -105,7 +104,7 @@ def Parse(self, content=None): # FIXME: parameter type
@classmethod
def stateParse(cls, document, startOfDocumentGroup: Group):
- from pyVHDLParser.DocumentModel.Reference import Library as LibraryModel, PackageReference as UseModel
+ from pyVHDLParser.DocumentModel.Reference import LibraryClause as LibraryModel, PackageReference as UseModel
from pyVHDLParser.DocumentModel.DesignUnit.Context import Context as ContextModel
from pyVHDLParser.DocumentModel.DesignUnit.Entity import Entity as EntityModel
from pyVHDLParser.DocumentModel.DesignUnit.Architecture import Architecture as ArchitectureModel
diff --git a/pyVHDLParser/Filters/Comment.py b/pyVHDLParser/Filters/Comment.py
index 245a14877..d1ffc116c 100644
--- a/pyVHDLParser/Filters/Comment.py
+++ b/pyVHDLParser/Filters/Comment.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from collections import Generator
from typing import Any
diff --git a/pyVHDLParser/Filters/__init__.py b/pyVHDLParser/Filters/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Filters/__init__.py
+++ b/pyVHDLParser/Filters/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Functions.py b/pyVHDLParser/Functions.py
index ab7fab860..b91ec8b95 100644
--- a/pyVHDLParser/Functions.py
+++ b/pyVHDLParser/Functions.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: Auxillary functions to exit a program and report an error message.
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-
from functools import reduce
from operator import or_
diff --git a/pyVHDLParser/Graph/CompileOrder.py b/pyVHDLParser/Graph/CompileOrder.py
index 63e5a9fac..615a2e17f 100644
--- a/pyVHDLParser/Graph/CompileOrder.py
+++ b/pyVHDLParser/Graph/CompileOrder.py
@@ -1,39 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Graph.Graph import Graph as BaseGraph
from pyVHDLParser.Graph.Graph import Node as BaseNode
-__all__ = []
-__api__ = __all__
-
@export
class Graph(BaseGraph):
diff --git a/pyVHDLParser/Graph/Graph.py b/pyVHDLParser/Graph/Graph.py
index 7b4994282..bb1ea0414 100644
--- a/pyVHDLParser/Graph/Graph.py
+++ b/pyVHDLParser/Graph/Graph.py
@@ -1,37 +1,35 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from enum import Enum
-from pydecor.decorators import export
-
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/Graph/__init__.py b/pyVHDLParser/Graph/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/Graph/__init__.py
+++ b/pyVHDLParser/Graph/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Groups/Comment.py b/pyVHDLParser/Groups/Comment.py
index f23c66408..beffe9523 100644
--- a/pyVHDLParser/Groups/Comment.py
+++ b/pyVHDLParser/Groups/Comment.py
@@ -1,40 +1,38 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks import CommentBlock
from pyVHDLParser.Blocks.Common import WhitespaceBlock, LinebreakBlock, IndentationBlock
from pyVHDLParser.Groups import ParserState, GroupParserException, Group
-__all__ = []
-__api__ = __all__
-
@export
class CommentGroup(Group):
diff --git a/pyVHDLParser/Groups/Concurrent.py b/pyVHDLParser/Groups/Concurrent.py
index 40114eb7b..f029bc993 100644
--- a/pyVHDLParser/Groups/Concurrent.py
+++ b/pyVHDLParser/Groups/Concurrent.py
@@ -1,40 +1,38 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks.Reporting.Assert import AssertBlock
from pyVHDLParser.Blocks.Reporting.Report import ReportBlock
from pyVHDLParser.Groups import ParserState, Group, GroupParserException
-__all__ = []
-__api__ = __all__
-
@export
class AssertGroup(Group):
diff --git a/pyVHDLParser/Groups/DesignUnit.py b/pyVHDLParser/Groups/DesignUnit.py
index 60960961e..97e61ba97 100644
--- a/pyVHDLParser/Groups/DesignUnit.py
+++ b/pyVHDLParser/Groups/DesignUnit.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from collections import ChainMap
from itertools import chain
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks import CommentBlock, EndOfDocumentBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock
@@ -50,9 +51,6 @@
from pyVHDLParser.Groups.Sequential.Procedure import ProcedureGroup
from pyVHDLParser.Groups.Sequential.Process import ProcessGroup
-__all__ = []
-__api__ = __all__
-
@export
class ContextGroup(Group):
diff --git a/pyVHDLParser/Groups/List.py b/pyVHDLParser/Groups/List.py
index 06363f83b..426cdcd55 100644
--- a/pyVHDLParser/Groups/List.py
+++ b/pyVHDLParser/Groups/List.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks import CommentBlock, EndOfDocumentBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock
@@ -35,9 +36,6 @@
from pyVHDLParser.Groups import ParserState, GroupParserException, Group, EndOfDocumentGroup
from pyVHDLParser.Groups.Comment import WhitespaceGroup, CommentGroup
-__all__ = []
-__api__ = __all__
-
@export
class GenericListGroup(Group):
diff --git a/pyVHDLParser/Groups/Object.py b/pyVHDLParser/Groups/Object.py
index 35890b90a..d09970829 100644
--- a/pyVHDLParser/Groups/Object.py
+++ b/pyVHDLParser/Groups/Object.py
@@ -1,32 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks.Object.Variable import VariableDeclarationBlock
from pyVHDLParser.Blocks.Object.Signal import SignalDeclarationBlock
@@ -35,9 +36,6 @@
from pyVHDLParser.Blocks.Reference.Use import EndBlock, StartBlock
from pyVHDLParser.Groups import ParserState, GroupParserException, Group
-__all__ = []
-__api__ = __all__
-
@export
class ConstantGroup(Group):
diff --git a/pyVHDLParser/Groups/Reference.py b/pyVHDLParser/Groups/Reference.py
index f58af8632..b16df67b9 100644
--- a/pyVHDLParser/Groups/Reference.py
+++ b/pyVHDLParser/Groups/Reference.py
@@ -1,39 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks.Reference import Library, Use
from pyVHDLParser.Groups import ParserState, GroupParserException, Group
-__all__ = []
-__api__ = __all__
-
@export
class LibraryGroup(Group):
diff --git a/pyVHDLParser/Groups/Sequential/Function.py b/pyVHDLParser/Groups/Sequential/Function.py
index 44b03bfb2..e204bc269 100644
--- a/pyVHDLParser/Groups/Sequential/Function.py
+++ b/pyVHDLParser/Groups/Sequential/Function.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from collections import ChainMap
from itertools import chain
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Token.Keywords import EndToken
from pyVHDLParser.Blocks import CommentBlock, EndOfDocumentBlock
@@ -47,9 +48,6 @@
from pyVHDLParser.Groups.Object import ConstantGroup, VariableGroup
from pyVHDLParser.Groups.Reference import UseGroup
-__all__ = []
-__api__ = __all__
-
@export
class FunctionGroup(Group):
diff --git a/pyVHDLParser/Groups/Sequential/Procedure.py b/pyVHDLParser/Groups/Sequential/Procedure.py
index 8bb89960c..5b2e5b4af 100644
--- a/pyVHDLParser/Groups/Sequential/Procedure.py
+++ b/pyVHDLParser/Groups/Sequential/Procedure.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python procedures: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from collections import ChainMap
from itertools import chain
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks import CommentBlock, EndOfDocumentBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock
@@ -45,9 +46,6 @@
from pyVHDLParser.Groups.Object import ConstantGroup, VariableGroup
from pyVHDLParser.Groups.Reference import UseGroup
-__all__ = []
-__api__ = __all__
-
@export
class ProcedureGroup(Group):
diff --git a/pyVHDLParser/Groups/Sequential/Process.py b/pyVHDLParser/Groups/Sequential/Process.py
index f91446fbc..20cacae9c 100644
--- a/pyVHDLParser/Groups/Sequential/Process.py
+++ b/pyVHDLParser/Groups/Sequential/Process.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from collections import ChainMap
from itertools import chain
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.Blocks import CommentBlock, EndOfDocumentBlock
from pyVHDLParser.Blocks.Common import LinebreakBlock, IndentationBlock
@@ -45,9 +46,6 @@
from pyVHDLParser.Groups.Object import ConstantGroup, VariableGroup
from pyVHDLParser.Groups.Reference import UseGroup
-__all__ = []
-__api__ = __all__
-
@export
class ProcessGroup(Group):
diff --git a/pyVHDLParser/Groups/Sequential/__init__.py b/pyVHDLParser/Groups/Sequential/__init__.py
index 667357620..3c5929c59 100644
--- a/pyVHDLParser/Groups/Sequential/__init__.py
+++ b/pyVHDLParser/Groups/Sequential/__init__.py
@@ -1,28 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
diff --git a/pyVHDLParser/Groups/__init__.py b/pyVHDLParser/Groups/__init__.py
index 1d7cd1c17..cbd6a04c2 100644
--- a/pyVHDLParser/Groups/__init__.py
+++ b/pyVHDLParser/Groups/__init__.py
@@ -1,37 +1,38 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from types import FunctionType
-from typing import Iterator, Callable, List, Generator, Any, Dict
+from typing import Iterator, Callable, List, Generator, Any, Dict
-from pyTerminalUI import LineTerminal
+from pyTooling.TerminalUI import LineTerminal
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser import StartOfDocument, EndOfDocument, StartOfSnippet, EndOfSnippet
from pyVHDLParser.Base import ParserException
@@ -41,9 +42,6 @@
from pyVHDLParser.Blocks.Sequential import Package, PackageBody
from pyVHDLParser.Blocks.Structural import Entity, Architecture, Configuration
-__all__ = []
-__api__ = __all__
-
@export
class GroupParserException(ParserException):
diff --git a/pyVHDLParser/LanguageModel/__init__.py b/pyVHDLParser/LanguageModel/__init__.py
index cb8e31089..3c5929c59 100644
--- a/pyVHDLParser/LanguageModel/__init__.py
+++ b/pyVHDLParser/LanguageModel/__init__.py
@@ -1,28 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python package: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
diff --git a/pyVHDLParser/NetlistModel/NetlistModel.py b/pyVHDLParser/NetlistModel/NetlistModel.py
index 43d7b1b16..462ec935e 100644
--- a/pyVHDLParser/NetlistModel/NetlistModel.py
+++ b/pyVHDLParser/NetlistModel/NetlistModel.py
@@ -1,35 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
-
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/NetlistModel/__init__.py b/pyVHDLParser/NetlistModel/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/NetlistModel/__init__.py
+++ b/pyVHDLParser/NetlistModel/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/SimulationModel/EventSystem.py b/pyVHDLParser/SimulationModel/EventSystem.py
index 67e44764e..8932814a9 100644
--- a/pyVHDLParser/SimulationModel/EventSystem.py
+++ b/pyVHDLParser/SimulationModel/EventSystem.py
@@ -1,35 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
-
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/SimulationModel/SimulationModel.py b/pyVHDLParser/SimulationModel/SimulationModel.py
index 5fbdba7e1..4274115bb 100644
--- a/pyVHDLParser/SimulationModel/SimulationModel.py
+++ b/pyVHDLParser/SimulationModel/SimulationModel.py
@@ -1,38 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser.SimulationModel.EventSystem import ProjectedWaveform, Waveform, Scheduler, Event
-__all__ = []
-__api__ = __all__
-
@export
class Simulation:
diff --git a/pyVHDLParser/SimulationModel/__init__.py b/pyVHDLParser/SimulationModel/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/SimulationModel/__init__.py
+++ b/pyVHDLParser/SimulationModel/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/StyleChecks/__init__.py b/pyVHDLParser/StyleChecks/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/StyleChecks/__init__.py
+++ b/pyVHDLParser/StyleChecks/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/Token/Keywords.py b/pyVHDLParser/Token/Keywords.py
index 7419a1d31..d0f54b159 100644
--- a/pyVHDLParser/Token/Keywords.py
+++ b/pyVHDLParser/Token/Keywords.py
@@ -1,39 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+from pyTooling.Decorators import export
-from pyVHDLParser.Token import Token, WordToken, VHDLToken, CharacterToken
+from pyVHDLParser.Token import Token, WordToken, VHDLToken, CharacterToken
from pyVHDLParser.Token.Parser import TokenizerException
-__all__ = []
-__api__ = __all__
-
@export
class SpecificVHDLToken(VHDLToken):
diff --git a/pyVHDLParser/Token/Parser.py b/pyVHDLParser/Token/Parser.py
index 4472f7708..e1e8aedf2 100644
--- a/pyVHDLParser/Token/Parser.py
+++ b/pyVHDLParser/Token/Parser.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python module: TODO
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from enum import Enum
from typing import Iterator
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser import SourceCodePosition
from pyVHDLParser.Base import ParserException
@@ -37,9 +38,6 @@
from pyVHDLParser.Token import CharacterLiteralToken, StringLiteralToken, ExtendedIdentifier, DirectiveToken, IntegerLiteralToken, RealLiteralToken
from pyVHDLParser.Token import CharacterToken, SpaceToken, WordToken, SingleLineCommentToken, MultiLineCommentToken, LinebreakToken
-__all__ = []
-__api__ = __all__
-
@export
class TokenizerException(ParserException):
diff --git a/pyVHDLParser/Token/__init__.py b/pyVHDLParser/Token/__init__.py
index 1f70d5d82..9368a9f0a 100644
--- a/pyVHDLParser/Token/__init__.py
+++ b/pyVHDLParser/Token/__init__.py
@@ -1,42 +1,39 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from typing import Iterator
+from typing import Iterator
-from pydecor.decorators import export
+from pyTooling.Decorators import export
from pyVHDLParser import SourceCodePosition, StartOfDocument, EndOfDocument, StartOfSnippet, EndOfSnippet
from pyVHDLParser.Base import ParserException
-__all__ = []
-__api__ = __all__
-
-
__CHARACTER_TRANSLATION = {
"\r": "«\\r»",
diff --git a/pyVHDLParser/TypeSystem/Package.py b/pyVHDLParser/TypeSystem/Package.py
index 356190c8f..ef7c52aaf 100644
--- a/pyVHDLParser/TypeSystem/Package.py
+++ b/pyVHDLParser/TypeSystem/Package.py
@@ -1,35 +1,33 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
-
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/TypeSystem/TypeSystem.py b/pyVHDLParser/TypeSystem/TypeSystem.py
index c1d217721..100678e6a 100644
--- a/pyVHDLParser/TypeSystem/TypeSystem.py
+++ b/pyVHDLParser/TypeSystem/TypeSystem.py
@@ -1,34 +1,35 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from enum import Enum, unique
-from pydecor.decorators import export
+from pyTooling.Decorators import export
@export
diff --git a/pyVHDLParser/TypeSystem/__init__.py b/pyVHDLParser/TypeSystem/__init__.py
index 07a1505d5..6ff48fb1a 100644
--- a/pyVHDLParser/TypeSystem/__init__.py
+++ b/pyVHDLParser/TypeSystem/__init__.py
@@ -1,27 +1,29 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
-#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
diff --git a/pyVHDLParser/TypeSystem/std.py b/pyVHDLParser/TypeSystem/std.py
index 43f9dff5e..853ddcc95 100644
--- a/pyVHDLParser/TypeSystem/std.py
+++ b/pyVHDLParser/TypeSystem/std.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pyVHDLParser.Common import VHDLVersion, vhdlVersion
from pyVHDLParser.TypeSystem.Package import PackageDeclation, PackageBody, Package
from pyVHDLParser.TypeSystem.TypeSystem import EnumerationType, ArrayType, IntegerType, RealType, Direction, SubType, Range, IntegerSubType
diff --git a/pyVHDLParser/TypeSystem/std_logic_1164.py b/pyVHDLParser/TypeSystem/std_logic_1164.py
index e16855499..6959c0529 100644
--- a/pyVHDLParser/TypeSystem/std_logic_1164.py
+++ b/pyVHDLParser/TypeSystem/std_logic_1164.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pyVHDLParser.Common import VHDLVersion, vhdlVersion
from pyVHDLParser.TypeSystem.Package import Parameter, FunctionDeclaration, Function, PackageDeclation, PackageBody, Package
from pyVHDLParser.TypeSystem.TypeSystem import EnumerationType, ArrayType, Range, SubType, EnumerationSubType
diff --git a/pyVHDLParser/__init__.py b/pyVHDLParser/__init__.py
index 4b70e9a79..c8af26510 100644
--- a/pyVHDLParser/__init__.py
+++ b/pyVHDLParser/__init__.py
@@ -1,42 +1,43 @@
-# ==============================================================================
-# __ ___ _ ____ _ ____
-# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __
-# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__|
-# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ |
-# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_|
-# |_| |___/
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python package: A streaming-based VHDL parser.
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pydecor.decorators import export
+"""\
+A streaming-based VHDL parser.
+"""
+__author__ = "Patrick Lehmann"
+__email__ = "Paebbels@gmail.com"
+__copyright__ = "2016-2021, Patrick Lehmann"
+__license__ = "Apache License, Version 2.0"
+__version__ = "0.1.0"
+__keywords__ = ["parser", "vhdl", "code generator", "hdl"]
-__all__ = []
-__api__ = __all__
+from pyTooling.Decorators import export
@export
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 000000000..c2ddfb778
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,10 @@
+[build-system]
+requires = [
+ "pyTooling >= 1.7.0",
+ "setuptools >= 35.0.2",
+ "wheel >= 0.29.0"
+]
+build-backend = "setuptools.build_meta"
+
+[tool.black]
+line-length = 120
diff --git a/requirements.txt b/requirements.txt
index bcf7a9551..507de9aea 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,9 +1,7 @@
-colorama>=0.4.3
+colorama>=0.4.4
py-flags>=1.1.4
-pydecor>=2.0.1
-pyExceptions>=1.0.1
-pyAttributes>=2.0.1
-pyCallBy>=1.1.1
-pyTerminalUI>=1.3.4
-pyVHDLModel>=0.8.1
+pyTooling>=1.7.0
+pyTooling.TerminalUI>=1.5.5
+pyAttributes>=2.3.4
+pyVHDLModel==0.14.1
diff --git a/setup.py b/setup.py
index 1334a4f30..2702ebe55 100644
--- a/setup.py
+++ b/setup.py
@@ -6,97 +6,53 @@
# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_|
# |_| |___/
# =============================================================================
-# Authors: Patrick Lehmann
-#
-# Package installer: A streaming-based VHDL parser.
-#
-#
-# License:
-# ============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Bötzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============================================================================
-#
-from pathlib import Path
-from setuptools import setup as setuptools_setup, find_packages as setuptools_find_packages
-
-gitHubNamespace = "Paebbels"
-projectName = "pyVHDLParser"
-
-# Read README for upload to PyPI
-readmeFile = Path("README.md")
-with readmeFile.open("r") as file:
- long_description = file.read()
-
-# Read requirements file and add them to package dependency list
-requirementsFile = Path("requirements.txt")
-with requirementsFile.open("r") as file:
- requirements = [line for line in file.readlines()]
-
-# Derive URLs
-sourceCodeURL = "https://github.com/{namespace}/{projectName}".format(namespace=gitHubNamespace, projectName=projectName)
-documentationURL = "https://{namespace}.github.io/{projectName}/using/py/index.html".format(namespace=gitHubNamespace, projectName=projectName)
-
-# Assemble all package information
-setuptools_setup(
- name=projectName,
- version="0.6.3",
-
- author="Patrick Lehmann",
- author_email="Paebbels@gmail.com",
- # maintainer="Patrick Lehmann",
- # maintainer_email="Paebbels@gmail.com",
-
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# #
+# SPDX-License-Identifier: Apache-2.0 #
+# ==================================================================================================================== #
+#
+"""\
+Package installer for 'A streaming-based VHDL parser'.
+"""
+from pathlib import Path
+from pyTooling.Packaging import DescribePythonPackageHostedOnGitHub
+
+gitHubNamespace = "Paebbels"
+packageName = "pyVHDLParser"
+packageDirectory = packageName.replace(".", "/")
+packageInformationFile = Path(f"{packageDirectory}/__init__.py")
+
+DescribePythonPackageHostedOnGitHub(
+ packageName=packageName,
description="A streaming-based VHDL parser.",
- long_description=long_description,
- long_description_content_type="text/markdown",
-
- url=sourceCodeURL,
- project_urls={
- 'Documentation': documentationURL,
- 'Source Code': sourceCodeURL,
- 'Issue Tracker': sourceCodeURL + "/issues"
- },
- # download_url="https://github.com/Paebbels/pyVHDLParser/tarball/0.1.0",
-
- packages=setuptools_find_packages(),
- entry_points={
- 'console_scripts': [
- "VHDLParser = pyVHDLParser.CLI.VHDLParser:main"
- ]
- },
+ gitHubNamespace=gitHubNamespace,
+ sourceFileWithVersion=packageInformationFile,
+ developmentStatus="pre-alpha",
classifiers=[
- "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
- "Programming Language :: Python :: 3 :: Only",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Development Status :: 2 - Pre-Alpha",
- # "Development Status :: 3 - Alpha",
- # "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Testing",
"Topic :: Utilities"
- ],
- keywords="Python3 Parser VHDL Streaming Documentation",
-
- python_requires='>=3.8',
- install_requires=requirements,
+ ]
)
diff --git a/tests/Interfaces.py b/tests/Interfaces.py
index 5010314e3..fa1f8387d 100644
--- a/tests/Interfaces.py
+++ b/tests/Interfaces.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from typing import Any
diff --git a/tests/IssueTester.py b/tests/IssueTester.py
index 6a9f79988..781a354e5 100644
--- a/tests/IssueTester.py
+++ b/tests/IssueTester.py
@@ -1,35 +1,36 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from tests.Linking import TokenizerChecks
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/Linking.py b/tests/Linking.py
index ca4d186c4..fc781d9fe 100644
--- a/tests/Linking.py
+++ b/tests/Linking.py
@@ -1,31 +1,32 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from pyVHDLParser.Token.Parser import Tokenizer, TokenizerException
from pyVHDLParser.Token import StartOfDocumentToken, EndOfDocumentToken, Token
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29bb..3c5929c59 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,29 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
diff --git a/tests/issue/15/Issue_15.py b/tests/issue/15/Issue_15.py
index e66535f95..6065e79d4 100644
--- a/tests/issue/15/Issue_15.py
+++ b/tests/issue/15/Issue_15.py
@@ -1,37 +1,38 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pathlib import Path
+from pathlib import Path
from unittest import TestCase
from tests.IssueTester import SingleFileIssue
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/issue/15/__init__.py b/tests/issue/15/__init__.py
index f4b6aca09..3c5929c59 100644
--- a/tests/issue/15/__init__.py
+++ b/tests/issue/15/__init__.py
@@ -1,10 +1,29 @@
-# from unittest import TestSuite
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# from tests.unit.Tokenizer import Tokens
-#
-# def load_tests(loader, testCases, pattern):
-# suite = TestSuite()
-#
-# suite.addTests(loader.loadTestsFromModule(Tokens))
-#
-# return suite
diff --git a/tests/issue/18/Issue_18.py b/tests/issue/18/Issue_18.py
index 1f54eff37..3f8e7382c 100644
--- a/tests/issue/18/Issue_18.py
+++ b/tests/issue/18/Issue_18.py
@@ -1,42 +1,45 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
-from pathlib import Path
+from pathlib import Path
from unittest import TestCase
+from pytest import mark
from tests.IssueTester import SingleFileIssue
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
class Issue_18(TestCase, SingleFileIssue):
+ @mark.xfail
def test_Tokenizer(self):
file = Path(__file__).with_suffix(".vhdl")
self.check_Tokenizer(file)
diff --git a/tests/issue/18/__init__.py b/tests/issue/18/__init__.py
index f4b6aca09..3c5929c59 100644
--- a/tests/issue/18/__init__.py
+++ b/tests/issue/18/__init__.py
@@ -1,10 +1,29 @@
-# from unittest import TestSuite
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# from tests.unit.Tokenizer import Tokens
-#
-# def load_tests(loader, testCases, pattern):
-# suite = TestSuite()
-#
-# suite.addTests(loader.loadTestsFromModule(Tokens))
-#
-# return suite
diff --git a/tests/requirements.txt b/tests/requirements.txt
index e42ba7a98..355fc98d8 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -1,8 +1,12 @@
-r ../requirements.txt
# Coverage collection
-Coverage>=5.3
+Coverage>=6.2
# Test Runner
-pytest>=6.2.1
-pytest-cov>=2.10.1
+pytest>=6.2.5
+pytest-cov>=3.0.0
+
+# Static Type Checking
+mypy>=0.921
+lxml>=4.6.4
diff --git a/tests/unit/Common.py b/tests/unit/Common.py
index 6d1385b03..9ecc978cb 100644
--- a/tests/unit/Common.py
+++ b/tests/unit/Common.py
@@ -1,36 +1,37 @@
-# ==============================================================================
-# Authors: Patrick Lehmann
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# Python functions: A streaming VHDL parser
-#
-# Description:
-# ------------------------------------
-# TODO:
-#
-# License:
-# ==============================================================================
-# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany
-# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ==============================================================================
-#
-# load dependencies
from dataclasses import dataclass
from typing import List, Tuple, Any
from flags import Flags
-from pyMetaClasses import Singleton
+from pyTooling.MetaClasses import Singleton
from pyVHDLParser.Base import ParserException
from pyVHDLParser.Token import StartOfDocumentToken, EndOfDocumentToken, Token, CharacterTranslation
diff --git a/tests/unit/DocumentModel/Architecture.py b/tests/unit/DocumentModel/Architecture.py
index db7e3e352..af7a27b71 100644
--- a/tests/unit/DocumentModel/Architecture.py
+++ b/tests/unit/DocumentModel/Architecture.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase, skip
@@ -5,7 +34,7 @@
from tests.unit.Common import Initializer
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/DocumentModel/Context.py b/tests/unit/DocumentModel/Context.py
index 67d29c64b..941c90c16 100644
--- a/tests/unit/DocumentModel/Context.py
+++ b/tests/unit/DocumentModel/Context.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase, skip
@@ -5,7 +34,7 @@
from tests.unit.Common import Initializer
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/DocumentModel/Entity.py b/tests/unit/DocumentModel/Entity.py
index bf31e7533..6bddf7fcc 100644
--- a/tests/unit/DocumentModel/Entity.py
+++ b/tests/unit/DocumentModel/Entity.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase, skip
@@ -5,7 +34,7 @@
from tests.unit.Common import Initializer
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/DocumentModel/Package.py b/tests/unit/DocumentModel/Package.py
index 905e4c98a..fa6c58014 100644
--- a/tests/unit/DocumentModel/Package.py
+++ b/tests/unit/DocumentModel/Package.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase, skip
@@ -5,7 +34,7 @@
from tests.unit.Common import Initializer
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/DocumentModel/PackageBody.py b/tests/unit/DocumentModel/PackageBody.py
index d86ece704..388e46455 100644
--- a/tests/unit/DocumentModel/PackageBody.py
+++ b/tests/unit/DocumentModel/PackageBody.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase, skip
@@ -5,7 +34,7 @@
from tests.unit.Common import Initializer
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/DocumentModel/__init__.py b/tests/unit/DocumentModel/__init__.py
index 7e3e90939..3c5929c59 100644
--- a/tests/unit/DocumentModel/__init__.py
+++ b/tests/unit/DocumentModel/__init__.py
@@ -1,18 +1,29 @@
-# from unittest import TestSuite
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# from tests.unit.DocumentModel import Architecture
-# from tests.unit.DocumentModel import Context
-# from tests.unit.DocumentModel import Entity
-# from tests.unit.DocumentModel import Package, PackageBody
-#
-#
-# def load_tests(loader, testCases, pattern):
-# suite = TestSuite()
-#
-# suite.addTests(loader.loadTestsFromModule(Architecture))
-# suite.addTests(loader.loadTestsFromModule(Context))
-# suite.addTests(loader.loadTestsFromModule(Entity))
-# suite.addTests(loader.loadTestsFromModule(Package))
-# suite.addTests(loader.loadTestsFromModule(PackageBody))
-#
-# return suite
diff --git a/tests/unit/SimpleBlockSequences/Architecture.py b/tests/unit/SimpleBlockSequences/Architecture.py
index 392143315..0fdc24997 100644
--- a/tests/unit/SimpleBlockSequences/Architecture.py
+++ b/tests/unit/SimpleBlockSequences/Architecture.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import StartOfDocumentToken, WordToken, SpaceToken, CharacterToken, EndOfDocumentToken, LinebreakToken, IndentationToken, MultiLineCommentToken, SingleLineCommentToken
@@ -8,7 +37,7 @@
from tests.unit.Common import Result, Initializer, ExpectedTokenStream, ExpectedBlockStream, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Assert.py b/tests/unit/SimpleBlockSequences/Assert.py
index 21da33cd0..182edc657 100644
--- a/tests/unit/SimpleBlockSequences/Assert.py
+++ b/tests/unit/SimpleBlockSequences/Assert.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import StartOfDocumentToken, WordToken, SpaceToken, CharacterToken, EndOfDocumentToken, StringLiteralToken
@@ -9,7 +38,7 @@
from tests.unit.Common import Initializer, ExpectedTokenStream, ExpectedBlockStream, ExpectedDataMixin, TokenLinking, TokenSequence, BlockSequence
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Constant.py b/tests/unit/SimpleBlockSequences/Constant.py
index 7c36f3b30..e6435c5bf 100644
--- a/tests/unit/SimpleBlockSequences/Constant.py
+++ b/tests/unit/SimpleBlockSequences/Constant.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Blocks import StartOfDocumentBlock, EndOfDocumentBlock
@@ -9,7 +38,7 @@
from tests.unit.Common import Initializer, ExpectedTokenStream, ExpectedBlockStream, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Context.py b/tests/unit/SimpleBlockSequences/Context.py
index 3517c4bd0..3c3276be6 100644
--- a/tests/unit/SimpleBlockSequences/Context.py
+++ b/tests/unit/SimpleBlockSequences/Context.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Blocks.Common import WhitespaceBlock
@@ -8,7 +37,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Entity.py b/tests/unit/SimpleBlockSequences/Entity.py
index ecfcc76dc..53d95bb18 100644
--- a/tests/unit/SimpleBlockSequences/Entity.py
+++ b/tests/unit/SimpleBlockSequences/Entity.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase
@@ -10,7 +39,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, BlockSequenceWithParserError, ExpectedTokenStream, ExpectedBlockStream, TokenLinking
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Function.py b/tests/unit/SimpleBlockSequences/Function.py
index 1d57fae70..aa0dcee2b 100644
--- a/tests/unit/SimpleBlockSequences/Function.py
+++ b/tests/unit/SimpleBlockSequences/Function.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import WordToken, StartOfDocumentToken, SpaceToken, CharacterToken, EndOfDocumentToken
@@ -8,7 +37,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Library.py b/tests/unit/SimpleBlockSequences/Library.py
index 261c19cfd..4afc1f662 100644
--- a/tests/unit/SimpleBlockSequences/Library.py
+++ b/tests/unit/SimpleBlockSequences/Library.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Blocks.Reference import Library
@@ -7,7 +36,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Package.py b/tests/unit/SimpleBlockSequences/Package.py
index 177418073..3d239437a 100644
--- a/tests/unit/SimpleBlockSequences/Package.py
+++ b/tests/unit/SimpleBlockSequences/Package.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase
@@ -10,7 +39,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream, BlockSequenceWithParserError, TokenLinking
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/PackageBody.py b/tests/unit/SimpleBlockSequences/PackageBody.py
index b402b8fce..71d89792c 100644
--- a/tests/unit/SimpleBlockSequences/PackageBody.py
+++ b/tests/unit/SimpleBlockSequences/PackageBody.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from textwrap import dedent
from unittest import TestCase
@@ -10,7 +39,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream, TokenLinking, BlockSequenceWithParserError
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/PortList.py b/tests/unit/SimpleBlockSequences/PortList.py
index 7919036b0..c2160a02a 100644
--- a/tests/unit/SimpleBlockSequences/PortList.py
+++ b/tests/unit/SimpleBlockSequences/PortList.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Blocks.List import PortList
@@ -10,7 +39,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenLinking, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Procedure.py b/tests/unit/SimpleBlockSequences/Procedure.py
index 24ad2fc24..6178cfbac 100644
--- a/tests/unit/SimpleBlockSequences/Procedure.py
+++ b/tests/unit/SimpleBlockSequences/Procedure.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import WordToken, StartOfDocumentToken, SpaceToken, CharacterToken, EndOfDocumentToken
@@ -8,7 +37,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Process.py b/tests/unit/SimpleBlockSequences/Process.py
index 8be49db28..61ea2d26f 100644
--- a/tests/unit/SimpleBlockSequences/Process.py
+++ b/tests/unit/SimpleBlockSequences/Process.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import StartOfDocumentToken, WordToken, SpaceToken, CharacterToken, EndOfDocumentToken
@@ -9,7 +38,7 @@
from tests.unit.Common import Initializer, ExpectedTokenStream, ExpectedBlockStream, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Signal.py b/tests/unit/SimpleBlockSequences/Signal.py
index 2acbec2e8..a83d33e44 100644
--- a/tests/unit/SimpleBlockSequences/Signal.py
+++ b/tests/unit/SimpleBlockSequences/Signal.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import StartOfDocumentToken, WordToken, SpaceToken, CharacterToken, EndOfDocumentToken
@@ -9,7 +38,7 @@
from tests.unit.Common import Initializer, ExpectedTokenStream, ExpectedBlockStream, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/Use.py b/tests/unit/SimpleBlockSequences/Use.py
index ed6af135b..07d9cff5a 100644
--- a/tests/unit/SimpleBlockSequences/Use.py
+++ b/tests/unit/SimpleBlockSequences/Use.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import WordToken, StartOfDocumentToken, SpaceToken, CharacterToken, EndOfDocumentToken, LinebreakToken
@@ -8,7 +37,7 @@
from tests.unit.Common import Initializer, ExpectedDataMixin, LinkingTests, TokenSequence, BlockSequence, ExpectedTokenStream, ExpectedBlockStream
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/SimpleBlockSequences/__init__.py b/tests/unit/SimpleBlockSequences/__init__.py
index 9049004f5..3c5929c59 100644
--- a/tests/unit/SimpleBlockSequences/__init__.py
+++ b/tests/unit/SimpleBlockSequences/__init__.py
@@ -1,28 +1,29 @@
-# from unittest import TestSuite
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# from tests.unit.SimpleBlockSequences import Architecture, Assert
-# from tests.unit.SimpleBlockSequences import Constant, Context
-# from tests.unit.SimpleBlockSequences import Entity, Function, Library
-# from tests.unit.SimpleBlockSequences import Package, PackageBody, PortList, Procedure, Process
-# from tests.unit.SimpleBlockSequences import Signal, Use
-#
-#
-# def load_tests(loader, testCases, pattern):
-# suite = TestSuite()
-#
-# suite.addTests(loader.loadTestsFromModule(Architecture))
-# suite.addTests(loader.loadTestsFromModule(Assert))
-# suite.addTests(loader.loadTestsFromModule(Constant))
-# suite.addTests(loader.loadTestsFromModule(Context))
-# suite.addTests(loader.loadTestsFromModule(Entity))
-# suite.addTests(loader.loadTestsFromModule(Function))
-# suite.addTests(loader.loadTestsFromModule(Library))
-# suite.addTests(loader.loadTestsFromModule(Package))
-# suite.addTests(loader.loadTestsFromModule(PackageBody))
-# suite.addTests(loader.loadTestsFromModule(PortList))
-# suite.addTests(loader.loadTestsFromModule(Procedure))
-# suite.addTests(loader.loadTestsFromModule(Process))
-# suite.addTests(loader.loadTestsFromModule(Signal))
-# suite.addTests(loader.loadTestsFromModule(Use))
-#
-# return suite
diff --git a/tests/unit/Tokenizer/Tokens.py b/tests/unit/Tokenizer/Tokens.py
index 21f50b63b..7fd355cb7 100644
--- a/tests/unit/Tokenizer/Tokens.py
+++ b/tests/unit/Tokenizer/Tokens.py
@@ -1,3 +1,32 @@
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
+#
from unittest import TestCase
from pyVHDLParser.Token import StartOfDocumentToken, WordToken, SpaceToken, LinebreakToken, IndentationToken, CharacterToken, CharacterLiteralToken, StringLiteralToken, BitStringLiteralToken, FusedCharacterToken, RealLiteralToken, IntegerLiteralToken, EndOfDocumentToken, ExtendedIdentifier, SingleLineCommentToken, MultiLineCommentToken
@@ -7,7 +36,7 @@
from tests.unit.Common import ExpectedDataMixin, ExpectedTokenStream, TokenSequence
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest '")
exit(1)
diff --git a/tests/unit/Tokenizer/__init__.py b/tests/unit/Tokenizer/__init__.py
index f4b6aca09..3c5929c59 100644
--- a/tests/unit/Tokenizer/__init__.py
+++ b/tests/unit/Tokenizer/__init__.py
@@ -1,10 +1,29 @@
-# from unittest import TestSuite
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# from tests.unit.Tokenizer import Tokens
-#
-# def load_tests(loader, testCases, pattern):
-# suite = TestSuite()
-#
-# suite.addTests(loader.loadTestsFromModule(Tokens))
-#
-# return suite
diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py
index dac491ed3..3c5929c59 100644
--- a/tests/unit/__init__.py
+++ b/tests/unit/__init__.py
@@ -1,13 +1,29 @@
-# from unittest import TestSuite
+# ==================================================================================================================== #
+# __ ___ _ ____ _ ____ #
+# _ __ _ \ \ / / | | | _ \| | | _ \ __ _ _ __ ___ ___ _ __ #
+# | '_ \| | | \ \ / /| |_| | | | | | | |_) / _` | '__/ __|/ _ \ '__| #
+# | |_) | |_| |\ V / | _ | |_| | |___| __/ (_| | | \__ \ __/ | #
+# | .__/ \__, | \_/ |_| |_|____/|_____|_| \__,_|_| |___/\___|_| #
+# |_| |___/ #
+# ==================================================================================================================== #
+# Authors: #
+# Patrick Lehmann #
+# #
+# License: #
+# ==================================================================================================================== #
+# Copyright 2017-2021 Patrick Lehmann - Boetzingen, Germany #
+# Copyright 2016-2017 Patrick Lehmann - Dresden, Germany #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+# ==================================================================================================================== #
#
-# from tests.unit import Tokenizer, SimpleBlockSequences, DocumentModel
-#
-#
-# def load_tests(loader, testCases, pattern):
-# suite = TestSuite()
-#
-# suite.addTests(loader.loadTestsFromModule(Tokenizer))
-# suite.addTests(loader.loadTestsFromModule(SimpleBlockSequences))
-# suite.addTests(loader.loadTestsFromModule(DocumentModel))
-#
-# return suite