Skip to content
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

Add generic parameters for LanguageFrontend #1236

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Conversation

oxisto
Copy link
Member

@oxisto oxisto commented Jul 14, 2023

This PR adds generic parameters representing AST node types and type node types of the original parser. This also allows us to have a much cleaner approach to the methods that return location and code within the frontend.

This breaks the public API because the type parameters are necessary in order to implement a language frontend. This is a preparatory step for #1199

@oxisto oxisto force-pushed the generic-language-frontend branch from 34d3971 to 5ec2218 Compare July 14, 2023 11:41
@oxisto oxisto marked this pull request as ready for review July 14, 2023 11:45
@oxisto oxisto force-pushed the generic-language-frontend branch 4 times, most recently from 612d292 to 615689b Compare July 21, 2023 12:12
@oxisto oxisto force-pushed the generic-language-frontend branch 2 times, most recently from 9f26734 to 5d0b69b Compare July 24, 2023 17:09
@oxisto oxisto mentioned this pull request Jul 25, 2023
@oxisto oxisto enabled auto-merge (squash) July 25, 2023 10:29
@oxisto oxisto disabled auto-merge July 25, 2023 10:36
@oxisto oxisto force-pushed the generic-language-frontend branch 2 times, most recently from 7004ce9 to 80e1277 Compare July 26, 2023 16:36
This PR adds generic parameters representing AST node types and type node types of the original parser.
@oxisto oxisto force-pushed the generic-language-frontend branch from 80e1277 to 6e72424 Compare July 26, 2023 16:43
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

79.6% 79.6% Coverage
0.0% 0.0% Duplication

@oxisto oxisto merged commit 2b892fb into main Jul 26, 2023
@oxisto oxisto deleted the generic-language-frontend branch July 26, 2023 16:53
oxisto added a commit that referenced this pull request Jul 27, 2023

Verified

This commit was signed with the committer’s verified signature.
promatik António Almeida
This PR adds generic parameters representing AST node types and type node types of the original parser.
oxisto added a commit that referenced this pull request Jul 27, 2023
This PR adds generic parameters representing AST node types and type node types of the original parser.
oxisto added a commit that referenced this pull request Jul 27, 2023
This PR adds generic parameters representing AST node types and type node types of the original parser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants