aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting/prettyprint.py
Commit message (Collapse)AuthorAgeFilesLines
* Added one-line code documentations.Patrick Lehmann2022-12-251-4/+24
|
* Updated pretty printing.Patrick Lehmann2022-12-251-22/+23
|
* Code formatting based on black.Patrick Lehmann2022-12-241-66/+32
| | | | (cherry picked from commit 1f9773b56a90c6564698c842501f3889714fad84)
* Adjusted to latest pyVHDLModel.Patrick Lehmann2022-12-231-3/+3
|
* Formatted code with black.Patrick Lehmann2022-11-301-10/+22
|
* Converted string formatting to f-strings.Patrick Lehmann2022-11-301-204/+79
|
* Changed export decorator from pydecor to pyTooling.DecoratorsPatrick Lehmann2021-12-121-1/+1
|
* black: rerun, to pick pyproject settingsumarcor2021-08-231-155/+43
|
* Some fixes.Patrick Lehmann2021-08-231-2/+1
|
* Some updates.Patrick Lehmann2021-08-231-1/+3
|
* Fixed pretty printer after model fix.Patrick Lehmann2021-08-231-1/+1
|
* Handle contexts.Patrick Lehmann2021-08-231-4/+4
|
* Handle bodies in case generate statements.Patrick Lehmann2021-08-231-0/+3
|
* Support for concurrent procedure call.Patrick Lehmann2021-08-231-0/+7
|
* Improvements for case generate statements.Patrick Lehmann2021-08-231-2/+11
|
* Improved handling of generate statements and pretty-printing of hierarchy.Patrick Lehmann2021-08-231-6/+13
|
* Improved pretty-printing for hierarchy.Patrick Lehmann2021-08-231-16/+128
|
* Reworked pretty printing.Patrick Lehmann2021-08-231-27/+44
|
* Fixes.Patrick Lehmann2021-08-231-1/+2
|
* PrettyPrint deferred constants.Patrick Lehmann2021-08-231-5/+10
|
* Needed for changes in prettyprint for the Identifier(s) change in pyVHDLModel.Patrick Lehmann2021-08-231-4/+6
|
* Adjust DOM to a change in pyVHDLModel: some Identifiers being now a list of ↵Patrick Lehmann2021-08-231-10/+10
| | | | identifiers.
* Adjusted to renaming in pyVHDLModel.Patrick Lehmann2021-08-231-23/+55
|
* Added package declarations inside of declarations.Patrick Lehmann2021-07-011-0/+13
| | | | | Added PSL Default clock (dummy). Added Disconnect specification (dummy).
* Renamed '[sS]ubType' to '[sS]ubtype'.Patrick Lehmann2021-07-011-24/+36
|
* Reworked scalar types created from ranges.Patrick Lehmann2021-07-011-3/+1
|
* Renamed '_?[nN]ame: str' to '_?[iI]dentifier: str'.Patrick Lehmann2021-07-011-30/+30
|
* Rework and fine tuning.Patrick Lehmann2021-07-011-5/+36
|
* Fixed MRO problems.Patrick Lehmann2021-07-011-0/+18
|
* Current state.Patrick Lehmann2021-07-011-2/+2
|
* More DOM improvements (#1806)Patrick Lehmann2021-06-261-6/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First try to handle names. * Reworked names. * Reworked range expressions. * Handle AttributeNames. * Added handling of file declaration and attribute declarations. * Improved error outputs. * Handle protected types. * Make black happy with ugly code. * Handle Null literal and File parameters. * File type and physical type. * Don't fail on reported syntax errors. Catch call errors into libghdl. * Improved Sanity checks for pyGHDL.dom. * Load sourcecode via Python and process in-memory. Fixed testcases. * Added package instantiations and packages with generics. * Added UseClause, AttributeSpecification and PhysicalTypes. * Improved pretty-printing. * Fixed AttributeName in subtype indication. * Get code position of IIR nodes. * Added DOMMixin into all derived classes. * Mark as not yet implemented. * Pinned pyVHDLModel version to v0.10.4. * Removed xfail in LSP test. Bumped requirement of pyVHDLModel to v0.10.4. Fixed some Codacy issues. (cherry picked from commit f64e7ed7c3d69cbf84cd60db8e9b085e90b846cb)
* Handle 'Subtype_Definition' in record definitions.Patrick Lehmann2021-06-231-2/+2
|
* First primitive handling of selected names.Patrick Lehmann2021-06-231-2/+2
|
* Better type handling.Patrick Lehmann2021-06-231-9/+33
|
* Handle shared variables.Patrick Lehmann2021-06-221-1/+11
|
* Prepared for DeferredConstant.Patrick Lehmann2021-06-221-9/+9
|
* Implemented handling of generic parameters to subprograms.Patrick Lehmann2021-06-221-3/+2
|
* Fixed function call parameters.Patrick Lehmann2021-06-221-1/+13
| | | | | Fixed physical literal units. Added basic Procedure detection.
* Handle Physical...LiteralsPatrick Lehmann2021-06-221-2/+5
|
* Handle component declarations.Patrick Lehmann2021-06-221-2/+21
|
* Prepared handling of functions, types, subtypes and aliases.Patrick Lehmann2021-06-221-2/+17
|
* Minimal handling of types and subtypes.Patrick Lehmann2021-06-221-0/+18
|
* Fixed missed renaming. Removed formatRange.Patrick Lehmann2021-06-191-28/+5
|
* Fixed a black issue.Patrick Lehmann2021-06-191-1/+1
|
* Simplified prettyprint, as pyVHDLModel has now builtin __str__ methods for ↵Patrick Lehmann2021-06-191-121/+7
| | | | expressions, aggregates and literals.
* Added handling of Parenthesis.Patrick Lehmann2021-06-191-15/+21
|
* Improvements to pyGHDL.dom.Patrick Lehmann2021-06-191-66/+93
|
* pyGHDL: run blackumarcor2021-06-191-8/+25
|
* Better aggregate handlingPatrick Lehmann2021-06-191-8/+9
|
* Format aggregates.Patrick Lehmann2021-06-191-1/+28
|