-
Notifications
You must be signed in to change notification settings - Fork 12
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
Persisting the analysis state #38
Open
Merlijn-D
wants to merge
97
commits into
softwarelanguageslab:master
Choose a base branch
from
Merlijn-D:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
These encoders automatically open the array/map for you. They also add a function to `Writer` that allows you to write one or two values, these values wile be written differently based on what encoder you use.
… function You no longer need to overwrite the extension methods, but can override the normal functions that are used by the extension methods.
This is to avoid ambiguity when importing form multiply places
Only noEnvironment is currently implemented
`-s` is used to select the file you want to save your analysis to `-l` is used to select the file you want to load your analysis from
Encoders for super-types (e.g. Address) need to distinguish their sub-types, then encoding of these sub-types was sometimes done inside of the encoder of the super-type. This is now changed.
JSON keys can only be strings, so you should not be able to use any other type as key. If you are using ArrayKeyEncoder, you can use different types, because keys are stored as normal array elements, and not as keys.
The `Int`, `Boolean` and `String` were using `toString`, they are now correctly encoded.
This allows you to save the ID of components without specifying what kind of component you want to save.
Change name of parent folder for persistence code from `save` to `persistence` to increase clarity.
This allows for the non-inclusion of optional values inside of maps
This allows for the non-inclusion of optional values inside of maps
I was encoding the global worklist instead of the worklist that was given to the encoder
Instead of creating a new type `WorklistComponent`
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.
Adds persistence to the analysis state
Fixes #13