Closed JSAbrahams closed 5 years ago
Merging #115 into master will decrease coverage by
0.88%
. The diff coverage is70.78%
.
@@ Coverage Diff @@
## master #115 +/- ##
=========================================
- Coverage 83.39% 82.5% -0.89%
=========================================
Files 65 65
Lines 4372 4539 +167
=========================================
+ Hits 3646 3745 +99
- Misses 726 794 +68
Impacted Files | Coverage Ξ | |
---|---|---|
src/parser/_type.rs | 87.4% <ΓΈ> (-0.27%) |
:arrow_down: |
src/core/mod.rs | 64.46% <0%> (-4.94%) |
:arrow_down: |
src/parser/ast.rs | 22.29% <0%> (-2.02%) |
:arrow_down: |
src/desugar/node.rs | 62.31% <0%> (-6.7%) |
:arrow_down: |
src/core/construct.rs | 27.86% <0%> (-3.33%) |
:arrow_down: |
src/parser/expression.rs | 93.82% <100%> (ΓΈ) |
:arrow_up: |
tests/lexer/lexer.rs | 100% <100%> (ΓΈ) |
:arrow_up: |
src/lexer/mod.rs | 97.07% <100%> (+0.12%) |
:arrow_up: |
src/lexer/token.rs | 89.71% <100%> (+0.71%) |
:arrow_up: |
tests/parser/valid/operation.rs | 100% <100%> (ΓΈ) |
:arrow_up: |
... and 3 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 dc7fb32...1cd90e2. Read the comment docs.
Relevant issues
Fixes #109
Summary
Define operator precedence as follows:
Add bitwise operators
_and_
for Pythons&
binary AND_or_
for Python's|
binary OR_xor_
for Python's^
binary XOR<<
for Python's<<
binary left shift>>
for Python's>>
binary right shift_not_
for Pyton's~
binary one's complementAdded Tests
For the new bitwise operators.