raa0121 / GoBCDice

GoBCDice is BCDice reimplemented by Go.
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

文法をPEGで表現する #31

Closed ochaochaocha3 closed 5 years ago

ochaochaocha3 commented 5 years ago

fixes #30

ダイスロールコマンドの xRnxUn を実装するために必要な構文解析処理の変更です。これまでの構文解析のテストはすべて通るように実装できました。

codecov[bot] commented 5 years ago

Codecov Report

Merging #31 into master will decrease coverage by 6.3%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #31      +/-   ##
========================================
- Coverage    82.3%    76%   -6.31%     
========================================
  Files          48     46       -2     
  Lines        1752   2267     +515     
========================================
+ Hits         1442   1723     +281     
- Misses        213    422     +209     
- Partials       97    122      +25
Impacted Files Coverage Δ
pkg/core/ast/command.go 100% <ø> (ø) :arrow_up:
pkg/core/ast/node.go 75% <ø> (-8.34%) :arrow_down:
pkg/core/parser/parser.go 66.77% <ø> (-0.28%) :arrow_down:
pkg/core/ast/infix_expression.go 75.75% <ø> (-5.2%) :arrow_down:
pkg/core/ast/b_roll_list.go 100% <ø> (ø) :arrow_up:
pkg/core/ast/choice.go 100% <ø> (ø) :arrow_up:
pkg/core/ast/prefix_expression.go 78.26% <ø> (-5.62%) :arrow_down:
pkg/core/ast/sum_roll_result.go 90.47% <ø> (ø) :arrow_up:
pkg/core/ast/calc.go 100% <100%> (ø) :arrow_up:
pkg/core/evaluator/eval_var_args.go 80.3% <100%> (ø) :arrow_up:
... and 20 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 e64e95d...c152bd9. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #31 into master will decrease coverage by 6.3%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #31      +/-   ##
========================================
- Coverage    82.3%    76%   -6.31%     
========================================
  Files          48     46       -2     
  Lines        1752   2267     +515     
========================================
+ Hits         1442   1723     +281     
- Misses        213    422     +209     
- Partials       97    122      +25
Impacted Files Coverage Δ
pkg/core/ast/command.go 100% <ø> (ø) :arrow_up:
pkg/core/ast/node.go 75% <ø> (-8.34%) :arrow_down:
pkg/core/parser/parser.go 66.77% <ø> (-0.28%) :arrow_down:
pkg/core/ast/infix_expression.go 75.75% <ø> (-5.2%) :arrow_down:
pkg/core/ast/b_roll_list.go 100% <ø> (ø) :arrow_up:
pkg/core/ast/choice.go 100% <ø> (ø) :arrow_up:
pkg/core/ast/prefix_expression.go 78.26% <ø> (-5.62%) :arrow_down:
pkg/core/ast/sum_roll_result.go 90.47% <ø> (ø) :arrow_up:
pkg/core/ast/calc.go 100% <100%> (ø) :arrow_up:
pkg/core/evaluator/eval_var_args.go 80.3% <100%> (ø) :arrow_up:
... and 19 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 e64e95d...7245d62. Read the comment docs.