lark-parser / lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
MIT License
4.64k stars 397 forks source link

Improved typing around LALR and ParserState #1343

Closed erezsh closed 9 months ago

codecov-commenter commented 10 months ago

Codecov Report

Patch coverage: 97.87% and project coverage change: +0.07% :tada:

Comparison is base (c2e44ea) 89.23% compared to head (ac4e7a7) 89.31%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1343 +/- ## ========================================== + Coverage 89.23% 89.31% +0.07% ========================================== Files 51 52 +1 Lines 7591 7653 +62 ========================================== + Hits 6774 6835 +61 - Misses 817 818 +1 ``` | [Flag](https://app.codecov.io/gh/lark-parser/lark/pull/1343/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/lark-parser/lark/pull/1343/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | `89.31% <97.87%> (+0.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | Coverage Δ | | |---|---|---| | [lark/tools/standalone.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay90b29scy9zdGFuZGFsb25lLnB5) | `87.85% <ø> (-0.12%)` | :arrow_down: | | [lark/parsers/grammar\_analysis.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9wYXJzZXJzL2dyYW1tYXJfYW5hbHlzaXMucHk=) | `93.65% <95.65%> (-0.10%)` | :arrow_down: | | [lark/parsers/lalr\_parser\_state.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9wYXJzZXJzL2xhbHJfcGFyc2VyX3N0YXRlLnB5) | `97.36% <97.36%> (ø)` | | | [lark/parsers/lalr\_analysis.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9wYXJzZXJzL2xhbHJfYW5hbHlzaXMucHk=) | `98.67% <97.61%> (+0.10%)` | :arrow_up: | | [lark/common.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9jb21tb24ucHk=) | `98.03% <100.00%> (+0.16%)` | :arrow_up: | | [lark/exceptions.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9leGNlcHRpb25zLnB5) | `90.41% <100.00%> (ø)` | | | [lark/grammar.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9ncmFtbWFyLnB5) | `96.15% <100.00%> (+0.32%)` | :arrow_up: | | [lark/lexer.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9sZXhlci5weQ==) | `91.05% <100.00%> (ø)` | | | [lark/load\_grammar.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9sb2FkX2dyYW1tYXIucHk=) | `92.61% <100.00%> (+<0.01%)` | :arrow_up: | | [lark/parser\_frontends.py](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9wYXJzZXJfZnJvbnRlbmRzLnB5) | `95.90% <100.00%> (ø)` | | | ... and [2 more](https://app.codecov.io/gh/lark-parser/lark/pull/1343?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.