JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
88 stars 4 forks source link

Add ImportAs and Import to Core language #72

Closed JSAbrahams closed 5 years ago

JSAbrahams commented 5 years ago

Relevant issues

...

Summary

Add ImportAs and Import to Core language, so it more closely reflects the ASTNode structure.

Added Tests

Modified existing tests to reflect the new structure.

Additional Context

...

codecov[bot] commented 5 years ago

Codecov Report

Merging #72 into master will increase coverage by 0.16%. The diff coverage is 78.12%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #72      +/-   ##
=========================================
+ Coverage   80.03%   80.2%   +0.16%     
=========================================
  Files          59      59              
  Lines        3947    3925      -22     
=========================================
- Hits         3159    3148      -11     
+ Misses        788     777      -11
Impacted Files Coverage Δ
tests/command.rs 85.36% <ø> (ø) :arrow_up:
src/core/mod.rs 67.53% <20%> (+3.33%) :arrow_up:
src/core/construct.rs 20.61% <50%> (+1.03%) :arrow_up:
src/desugar/node.rs 68.26% <88.88%> (+0.15%) :arrow_up:
tests/desugar/expression_and_statements.rs 90.32% <93.75%> (+0.71%) :arrow_up:

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 c273624...5a6aa9b. Read the comment docs.