ianlewis / lexparse

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

fix: Fix error handling in LexParse #33

Closed ianlewis closed 4 months ago

codecov-commenter commented 4 months ago

Codecov Report

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

Comparison is base (c87bdfd) 88.52% compared to head (4da4c1f) 89.68%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ianlewis/lexparse/pull/33/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/33?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 #33 +/- ## ========================================== + Coverage 88.52% 89.68% +1.16% ========================================== Files 3 3 Lines 305 320 +15 ========================================== + Hits 270 287 +17 + Misses 20 19 -1 + Partials 15 14 -1 ``` | [Files](https://app.codecov.io/gh/ianlewis/lexparse/pull/33?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/33?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-bGV4ZXIuZ28=) | `87.81% <100.00%> (+0.25%)` | :arrow_up: | | [lexparse.go](https://app.codecov.io/gh/ianlewis/lexparse/pull/33?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-bGV4cGFyc2UuZ28=) | `100.00% <100.00%> (ø)` | | | [parser.go](https://app.codecov.io/gh/ianlewis/lexparse/pull/33?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-cGFyc2VyLmdv) | `91.66% <ø> (+1.85%)` | :arrow_up: |