Skip to content

Refactor FastEnumBoosterGenerator.Generate into static local functions - #130

Merged
xin9le merged 1 commit into
mainfrom
refactor/generator
Nov 23, 2026
Merged

xin9le merged 1 commit into
mainfrom
refactor/generator

Conversation

@xin9le

@xin9le xin9le commented Nov 23, 2026

Copy link
Copy Markdown
Owner

This pull request refactors the Generate method in FastEnumBoosterGenerator.cs by modularizing the code generation process into dedicated local functions. This improves readability, maintainability, and reduces code duplication by encapsulating each code emission step into its own method. The changes consistently use local variables for enum and container types, further simplifying the code.

Overall, this refactoring makes the code generator more modular, readable, and easier to extend or debug in the future.

@xin9le xin9le self-assigned this Nov 23, 2026
@xin9le
xin9le merged commit b488d4d into main Nov 23, 2026
2 checks passed
@xin9le
xin9le deleted the refactor/generator branch November 23, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant