BooleanCat / go-functional

go-functional is a library of iterators to augment the standard library
MIT License
452 stars 23 forks source link

Experiment: Add parser for generator directives #63

Closed BooleanCat closed 1 year ago

BooleanCat commented 1 year ago

Please provide a brief description of the change.

In order to generate chainable methods, we need a parser for generator directives. This is that.

Which issue does this change relate to?

None.

Contribution checklist.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (ac5d8a6) 100.00% compared to head (2c5625e) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #63 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 20 21 +1 Lines 474 488 +14 ========================================= + Hits 474 488 +14 ``` | [Files Changed](https://app.codecov.io/gh/BooleanCat/go-functional/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tom+Godkin) | Coverage Δ | | |---|---|---| | [internal/gen/directive/directive.go](https://app.codecov.io/gh/BooleanCat/go-functional/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tom+Godkin#diff-aW50ZXJuYWwvZ2VuL2RpcmVjdGl2ZS9kaXJlY3RpdmUuZ28=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.