https://github.com/dgp-studio/snap.hutao.sourcegeneration
Source Code Generator for Snap.Hutao
https://github.com/dgp-studio/snap.hutao.sourcegeneration
Last synced: 4 months ago
JSON representation
Source Code Generator for Snap.Hutao
- Host: GitHub
- URL: https://github.com/dgp-studio/snap.hutao.sourcegeneration
- Owner: DGP-Studio
- Created: 2023-11-28T11:47:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T11:27:23.000Z (over 1 year ago)
- Last Synced: 2025-05-15T07:08:36.859Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snap.Hutao.SourceGeneration
Source Code Generator for Snap.Hutao
# Development Guideline
Use https://roslynquoter.azurewebsites.net/ to get SyntaxTree
1. Every `IncrementalValue(s)Provider`'s step result should be an `IEquatable` to make it really becomes incremental.
2. So the intermediate models should be a `record (class/struct)` if possible
3. Intermediate array/enumerable should be a `ImmutableArray` if possible, the pipeline use IA internally and has special check for it.