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

https://github.com/SleepWellPupper/RhoMicro.CodeAnalysis

Source code generators, analyzers and utilities for code analysis
https://github.com/SleepWellPupper/RhoMicro.CodeAnalysis

Last synced: 3 months ago
JSON representation

Source code generators, analyzers and utilities for code analysis

Awesome Lists containing this project

README

          

# RhoMicro.CodeAnalysis

This repository contains my explorations on c# source code generation and analysis.

The [UnionsGenerator](UnionsGenerator) generator enables the use of union types in C#.

The [JsonSchemaGenerator](JsonSchemaGenerator) generator generates json schemata from C# class definitions.

The [UtilityGenerators](UtilityGenerators) generator helps you write code generators and analyzers.

The [CopyTo](CopyTo) generator generates methods to copy the contents of one instance to another. I created this generator for a friend, so it is not as feature rich as it could be.

The [VisitorGenerator](VisitorGenerator) generator generates visitor pattern implementations for various node kinds, for example for implementing syntax tree walkers.

The [OptionsGenerator](OptionsGenerator) generator generates an opinionated implementation of the options pattern.