Skip to content

Conversation

@0xh3xa
Copy link
Contributor

@0xh3xa 0xh3xa commented Mar 28, 2025

Description

  • Added support for the record keyword declaration for Java 14 and later versions.
  • Updated the syntax parsing logic to recognize record as a valid class declaration type.
  • Changes in lib/rouge/lexers/java.rb
Before After
image image

@tancnle
Copy link
Collaborator

tancnle commented Apr 7, 2025

Thanks @0xh3xa. LGTM 🚀

@tancnle tancnle added this pull request to the merge queue Apr 7, 2025
Merged via the queue into rouge-ruby:master with commit 3c50ae1 Apr 7, 2025
8 checks passed
xaviermignot pushed a commit to xaviermignot/rouge that referenced this pull request Jun 17, 2025
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.

2 participants