-
Notifications
You must be signed in to change notification settings - Fork 10
refactor: Create accepting NFA states using RAII. #84
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
Merged
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
ad30714
Change concept of tagged transitions to spontaenous transitions.
SharafMohamed 8d8e5ee
Fix typo.
SharafMohamed 5c01aa3
Return by reference; Fix docstring.
SharafMohamed f695c56
Rename method to new_state_from_negative_captures for clarity.
SharafMohamed fc1ef67
Update docstring of new_state_from_negative_captures.
SharafMohamed dbd6d2c
Rename to new_start_and_end_states_from_positive_capture.
SharafMohamed cd7e3a9
Update spontaneous doc strings.
SharafMohamed 43c1764
Update Nfa::Serialize docstring.
SharafMohamed f42e341
Clean up NfaState; Fix double declaration of tag_id_t.
SharafMohamed 563a619
Clean up Nfa.hpp.
SharafMohamed c55b5b3
Remove overload of add_spontaneous_transitions; Fix compiler errors t…
SharafMohamed eb10e95
Use uniform initialization.
SharafMohamed ad23402
Clang-tidy.
SharafMohamed 452b6b4
Add const.
SharafMohamed 04a65c2
Fix typo.
SharafMohamed abc1006
Add noexcept; Add None case.
SharafMohamed 7967082
Fix docstring.
SharafMohamed 9cafc39
Remove noexcept.
SharafMohamed 01b4698
Rename to NfaSpontaneousTransition.hpp.
SharafMohamed 2a0d573
Removing unused constructor.
SharafMohamed a454838
Add ticks for var in return field.
SharafMohamed 472b674
Add [nodiscard] to comparator methods.
SharafMohamed 35fbcbd
Refactor serialize.
SharafMohamed 8a1fe9e
Remove None from TagOperationType; Add default case.
SharafMohamed 3f8e6fb
Change find to at.
SharafMohamed 3c611ef
Fix at call.
SharafMohamed 9ccd118
Fix cmake order.
SharafMohamed c9464ab
Clang tidy fixes for TDFA related files.
SharafMohamed 3c5de6a
Merge branch 'main' into raii-accepting-state
SharafMohamed 6535d53
Update src/log_surgeon/finite_automata/Nfa.hpp
SharafMohamed 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 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.