Commit cc088dd
feat(state): Add State Pattern source generator with deterministic transitions, comprehensive documentation and examples (#117)
* Initial plan
* Add State Pattern attributes and generator implementation
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Add comprehensive unit tests for StateMachineGenerator - all passing
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Add OrderFlow example for State Machine (generator not yet running on Examples project)
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Update AnalyzerReleases.Unshipped.md with State Pattern diagnostics
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Improve comment clarity for async guard in CanFire method
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Address code review feedback: improve documentation and simplify code
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Address PR review feedback: Add diagnostics, fix guards, improve enum handling, add tests
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
* Add comprehensive documentation and expanded examples for State Machine generator
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>1 parent 4e11dad commit cc088dd
12 files changed
Lines changed: 4318 additions & 0 deletions
File tree
- docs/generators
- src
- PatternKit.Examples/Generators/State
- PatternKit.Generators.Abstractions/State
- PatternKit.Generators
- test/PatternKit.Generators.Tests
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments