-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Z3]: apigen.py: refactor source code writing for methods in
Z3
This commit introduces a simple helper class to write source code. It's basically a string-like object to which more code can be added via += (as it was done before) but with some helpers to manage indentation. This is merely a preparation for next commit which would generate more complex code and managing indentation by hand (as it was done up to now) becomes too much. The changes in `Z3` class are all whitespace changes - the new code does not output trailing tab and I did not care to complicate logic in apigen.py to make write bit-to-bit output.
- Loading branch information
Showing
2 changed files
with
82 additions
and
394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.