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

AfterShip / clickhouse-sql-parser / 27487335859
53%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2026 03:40AM UTC
Jobs 1
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jun 2026 03:39AM UTC coverage: 52.748%. Remained the same
27487335859

push

github

web-flow
Rename lexer state to match what it holds (#277)

l.lastToken and p.last() actually hold the *current* lookahead token -
the one the parser is looking at but has not consumed - not a
previously-consumed token. Likewise l.current held the input byte
offset, not a token. Rename for accuracy, no behavior change:

- lexerState.current (int)    -> offset
- lexerState.lastToken        -> current
- Parser.last()               -> cur()
- Parser.lastTokenKind()      -> curTokenKind()
- Parser.lastTokenString()    -> curTokenString()
- local `lastToken` vars      -> curToken (parser files)

The one genuinely-previous token - the local in Lexer.consumeToken used
to disambiguate unary +/- - is named prevToken.

Also give TokenKindDot its missing TokenKind type annotation.
---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

160 of 231 new or added lines in 8 files covered. (69.26%)

1 existing line in 1 file now uncovered.

8495 of 16105 relevant lines covered (52.75%)

2997.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
50.98
0.0% parser/parse_system.go
15
68.8
0.0% parser/parser_table.go
12
75.38
0.0% parser/parser_query.go
10
76.08
0.0% parser/parser_column.go
5
83.28
0.0% parser/parser_common.go
4
73.22
0.0% parser/parser_alter.go
4
66.78
0.0% parser/parser_view.go

Coverage Regressions

Lines Coverage ∆ File
1
83.28
0.0% parser/parser_common.go
Jobs
ID Job ID Ran Files Coverage
1 27487335859.1 14 Jun 2026 03:40AM UTC 17
52.75
GitHub Action Run
Source Files on build 27487335859
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4932a6cb on github
  • Prev Build on master (#27411228284)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc