ianlewis / lexparse

Experimental lexer/parser library written in Go
Apache License 2.0
0 stars 1 forks source link

feat: Add positions to parser #32

Closed ianlewis closed 4 months ago

ianlewis commented 4 months ago

Fixes #17

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6dbd096) 85.85% compared to head (b59e70d) 88.52%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ianlewis/lexparse/pull/32/graphs/tree.svg?width=650&height=150&src=pr&token=PD7UEVGU5S&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis)](https://app.codecov.io/gh/ianlewis/lexparse/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis) ```diff @@ Coverage Diff @@ ## main #32 +/- ## ========================================== + Coverage 85.85% 88.52% +2.66% ========================================== Files 3 3 Lines 297 305 +8 ========================================== + Hits 255 270 +15 + Misses 27 20 -7 Partials 15 15 ``` | [Files](https://app.codecov.io/gh/ianlewis/lexparse/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis) | Coverage Δ | | |---|---|---| | [lexer.go](https://app.codecov.io/gh/ianlewis/lexparse/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-bGV4ZXIuZ28=) | `87.56% <ø> (+3.62%)` | :arrow_up: | | [parser.go](https://app.codecov.io/gh/ianlewis/lexparse/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-cGFyc2VyLmdv) | `89.81% <100.00%> (+0.81%)` | :arrow_up: |