-
Notifications
You must be signed in to change notification settings - Fork 25
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
Realize generic navigation structure #3472
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3472 +/- ##
============================================
+ Coverage 38.03% 38.04% +0.01%
- Complexity 17089 17117 +28
============================================
Files 2099 2105 +6
Lines 127274 127439 +165
Branches 21386 21401 +15
============================================
+ Hits 48409 48487 +78
- Misses 72892 72978 +86
- Partials 5973 5974 +1 ☔ View full report in Codecov by Sentry. |
Can you add functionality to the SyntaxElementCursor to go to the next node in the tree? |
Done! |
Related Issue
This pull request depends on #3436.
Intended Change
Previously, the
SyntaxElement
interface was introduced with the intent of a common supertype and navigation structure for generic AST elements. This PR adds functionality for navigation through ASTs. It serves as a ground for a rewrite of AST visitors, walkers, and matching; each of which will have their separate PR.Type of pull request
Ensuring quality
Additional information and contact(s)
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.