Skip to content

Refactor code#101

Merged
mattesmohr merged 28 commits into
mainfrom
refactor-code
Oct 17, 2022
Merged

Refactor code#101
mattesmohr merged 28 commits into
mainfrom
refactor-code

Conversation

@mattesmohr

@mattesmohr mattesmohr commented Sep 28, 2022

Copy link
Copy Markdown
Member

This merge brings some changes:

Code adjustments

There will be some syntax and logic changes. The old syntax is marked as deprecated, so it still can be used, but should be changed in the future.

Untouched files

Some files will be removed, as I couldn't see any use of them. All checks have passed. I guess we should be fine.

Folder Structure

The folder structure will be rearranged. There will be two folders:

  • Abstraction
    The folder contains the HTML abstraction.

  • Framework
    The folder contains the files for the framework.

New tests

There will be new tests for the statements and the conditions. They had been missing. With the tests we get sure, that the upcoming changes will not effect the directives.

The class should handle the caching later and everything that comes with.
The functions add(_ :) and render(_ :) can be simplified. Therefore the view requirements have to be removed.
Brings back the briefly removed methods and mark them as deprecated.
The class should handle the localization later and everything that comes with it.
The draw attribute on the group element is incorrect. It should be removed.
It reduces the code redundancy, plus each node is one single ingredient in the renderer formula.
The converter doesn't use it anymore.
The html context class is slightly the same. While the html context is more used, the context variable file can be removed.
The access level for the comparison operators stays public.
@mattesmohr mattesmohr merged commit e6aa999 into main Oct 17, 2022
@mattesmohr mattesmohr deleted the refactor-code branch October 17, 2022 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant