Skip to content

Javascript - enhancing type mapping #5557

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 21 commits into from
Jun 12, 2025
Merged

Conversation

greg-at-moderne
Copy link
Contributor

@greg-at-moderne greg-at-moderne commented Jun 4, 2025

What's changed?

Advancing the type attribution in Javascript parser.
This brings the type attribution coverage in my naive local benchmark from ~37% to ~68%.

Still leaving a lot of blanks marked as TODOs in the type mapping code and consequently the type mapping output. The most important one being finding the counterpart of fully-qualified class names in the Java world.

What's your motivation?

This is a required step in new language support.

@greg-at-moderne greg-at-moderne marked this pull request as ready for review June 12, 2025 05:28
@greg-at-moderne greg-at-moderne merged commit e3c156d into main Jun 12, 2025
2 checks passed
@greg-at-moderne greg-at-moderne deleted the greg-js-type-mapping-1 branch June 12, 2025 05:29
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant