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

Java lexer should support modern keywords #1958

Open
sbrannen opened this issue May 7, 2023 · 0 comments
Open

Java lexer should support modern keywords #1958

sbrannen opened this issue May 7, 2023 · 0 comments
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@sbrannen
Copy link

sbrannen commented May 7, 2023

Name of the lexer

Java

Additional context

Keywords and features added since Java 5 should be supported by the Java lexer.

There may be more missing, but it appears support for the following needs to be added.

  • @interface: should be treated the same as class and interface
  • enum: support exists but it should be treated the same as class, interface, and @interface
  • sealed
  • permits
  • record
  • yield
  • when
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

No branches or pull requests

1 participant