Skip to content

GROOVY-12322: Inline the nls parser rule - #2848

Merged
daniellansun merged 1 commit into
masterfrom
GROOVY-12322
Aug 30, 2026
Merged

GROOVY-12322: Inline the nls parser rule#2848
daniellansun merged 1 commit into
masterfrom
GROOVY-12322

Conversation

@daniellansun

Copy link
Copy Markdown
Contributor

@codecov-commenter

codecov-commenter commented Aug 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.7132%. Comparing base (cb37077) to head (922c146).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##               master      #2848        +/-   ##
==================================================
+ Coverage     70.7060%   70.7132%   +0.0072%     
- Complexity      36619      36648        +29     
==================================================
  Files            1571       1573         +2     
  Lines          134089     134146        +57     
  Branches        24729      24733         +4     
==================================================
+ Hits            94809      94859        +50     
  Misses          30771      30771                
- Partials         8509       8516         +7     
Files with missing lines Coverage Δ
.../apache/groovy/parser/antlr4/GroovydocManager.java 82.3529% <100.0000%> (+0.2634%) ⬆️

... and 22 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

A shared nls : NL* rule has FOLLOW that includes NL via sep, so its
star decision cannot be LL(1): every call pays adaptivePredict and an
NlsContext allocation, including empty matches. Inlining NL* gives
each call site its own star decision. GroovydocManager now reads NL
terminals that used to be wrapped in NlsContext.
@sonarqubecloud

Copy link
Copy Markdown

@testlens-app

testlens-app Bot commented Aug 30, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 922c146
▶️ Tests: 113957 executed
⚪️ Checks: 31/31 completed


Learn more about TestLens at testlens.app/docs.

@daniellansun
daniellansun merged commit 18c0f4f into master Aug 30, 2026
34 checks passed
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