• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AfterShip / clickhouse-sql-parser / 27322213549

11 Jun 2026 03:40AM UTC coverage: 52.198% (+0.2%) from 52.012%
27322213549

Pull #275

github

git-hulk
Make matchTokenKind variadic, drop kindClass bit set

matchTokenKind(TokenKindIdent, TokenKindKeyword) now expresses the
ident-or-any-keyword membership check directly, so the kindClass bit
set and matchTokenKindIn helper are no longer needed. Existing
single-kind call sites are unchanged.

Raw kind equality is checked for all kinds before the keyword-to-ident
coercion arm, so multi-kind calls that include TokenKindKeyword match
keyword tokens without the ToUpper/reserved-set lookup; allocs/op stay
at the master baseline (verified with BenchmarkParseSQLFiles).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #275: Split keywords into reserved and non-reserved sets

64 of 70 new or added lines in 5 files covered. (91.43%)

764 existing lines in 5 files now uncovered.

8417 of 16125 relevant lines covered (52.2%)

3028.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.7
/parser/parser_query.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc