KiBot/experiments/__doc__/coverage_mcpyrate
Salvador E. Tropea 78425d7870 Updated mcpyrate and applied "with a:" new feature. 2020-10-23 22:53:53 -03:00
..
.coveragerc Added `mcpyrate` test case to experiments. 2020-10-17 11:10:16 -03:00
Makefile Added `mcpyrate` test case to experiments. 2020-10-17 11:10:16 -03:00
README.md Added `mcpyrate` test case to experiments. 2020-10-17 11:10:16 -03:00
application.py Updated mcpyrate and the way `document` macro is defined. 2020-10-23 17:28:31 -03:00
mymacros.py Updated mcpyrate and applied "with a:" new feature. 2020-10-23 22:53:53 -03:00
try_mymacros.py Added `mcpyrate` test case to experiments. 2020-10-17 11:10:16 -03:00

README.md

Coverage and mcpyrate

This example implements the correct solution.

  • We must ensure all the new nodes has the proper line info.
    • mcpyrate can fill it, but will be the line number for the with statement.
    • We recycle the Str node and copy the line info to the newly created nodes.
  • Lines with just an Exp are optimized out and never show coverage.