An open API service indexing awesome lists of open source software.

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

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.