klauer / blark

Beckhoff TwinCAT ST (IEC 61131-3) code parsing in Python using Lark (Earley)
https://klauer.github.io/blark/
GNU General Public License v2.0
42 stars 5 forks source link

FIX: miscellaneous transformer fixes to get JSON serialization working #42

Closed klauer closed 2 years ago

klauer commented 2 years ago

Closes #28

Some notes:

codecov-commenter commented 2 years ago

Codecov Report

Merging #42 (1a09e0c) into master (4ad8c51) will increase coverage by 4.95%. The diff coverage is 86.84%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   66.96%   71.92%   +4.95%     
==========================================
  Files          16       18       +2     
  Lines        3687     3754      +67     
==========================================
+ Hits         2469     2700     +231     
+ Misses       1218     1054     -164     
Impacted Files Coverage Δ
blark/__main__.py 0.00% <0.00%> (ø)
blark/parse.py 62.65% <76.92%> (+22.65%) :arrow_up:
blark/tests/conftest.py 83.63% <79.54%> (-16.37%) :arrow_down:
blark/main.py 86.66% <86.66%> (ø)
blark/tests/test_parsing.py 93.33% <90.90%> (+12.08%) :arrow_up:
blark/tests/test_cli.py 92.50% <92.50%> (ø)
blark/tests/test_transformer.py 100.00% <100.00%> (+4.09%) :arrow_up:
blark/transform.py 98.96% <100.00%> (+0.34%) :arrow_up:
blark/util.py 82.06% <0.00%> (+1.37%) :arrow_up:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4ad8c51...1a09e0c. Read the comment docs.