-
Notifications
You must be signed in to change notification settings - Fork 14
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
Static Transformation properties (manifest) #154
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
7785649
Transformation: Make `reverse_traversal` a class attribute
mlange05 dcce803
Transformation: Make `use_file_graph` a class attribute
mlange05 d1a8ffd
Transformation: Make `item_filter` a class attribute
mlange05 5531d81
Transformation: Make program unit recursion configurable
mlange05 0e4c8c5
Transformation: Document new manifest properties in docstring
mlange05 8c578a4
Scheduler: Provide full meta-data for file-graph traversals
mlange05 99043a0
Transforamtion: Re-instate per-item recursion for complex traversals
mlange05 0faa31d
Transformation: Renaming recursion attributes and improve docstring
mlange05 906e5d4
Transformation: Fixing metadata for recursion with mutliple items
mlange05 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we may encounter additional traversal requirements in the future? In which case another variant of specifying these could be to introduce an
enum.Flag
which has orthogonal traversal optionsREVERSE_TRAVERSAL
,FILE_GRAPH_TRAVERSAL
etc. and then allows to combine them in a singletraversal
attribute onTransformation
that is queried by the scheduler. Introducing an additional traversal "mode" would then only require adding the relevant flag.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, in principle I agree, but I think we might want to wait with this until the SGraph is done, as it will introduce more traversal mechanisms. For the sake of it, I gave this a quick try, but it introduces yet more circular dependencies, so I think we might want to postpone for a dedicated PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, leave as is and we can pick this up when it actually becomes relevant.