-
Notifications
You must be signed in to change notification settings - Fork 10
Refactor generating code to use full file templates with markers #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or 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
… processing code generation from templates.
Modified BaseGenerator to implement lookupTemplateVariable() and uses C/C++ header files template to generate output header files with the help of the TemplateProcessor.
…++ source files with the help of the TemplateProcessor.
Refactored function names in BaseGenerator.
…riable that are strings or streams.
…e variables" and "stream template variables".
Stream template variables do not support template variables recursive lookup. This means that a stream that contains entries such as `${foo}` will not be processed and will be output as a literal string `${foo}`.
…o output data to a stream instead of returning a string
Renamed `lookupStreamTemplateVariable()` to `lookupStreamVariable()`.
…named multiple methods in BaseGenerator to match their template variable names.
…bject_file_path_impl}` template variables which were way too much complicated and provided poor improvement. Replaced by `${bin2cpp_file_object_file_name}` and `${bin2cpp_file_object_file_path}` which are much simpler. Inspired by c generated code.
…s with markers.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #77