{"id":13629020,"url":"https://github.com/feast107/CodeAnalysis","last_synced_at":"2025-04-17T04:32:49.642Z","repository":{"id":203010807,"uuid":"708125120","full_name":"feast107/CodeAnalysis","owner":"feast107","description":"SourceGenerator for SourceGenerators","archived":false,"fork":false,"pushed_at":"2024-12-16T16:34:07.000Z","size":289,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T09:12:00.523Z","etag":null,"topics":["codegenerator","enhancement","extension","roslyn"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feast107.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-21T15:46:59.000Z","updated_at":"2024-12-16T16:34:11.000Z","dependencies_parsed_at":"2023-12-19T09:29:47.928Z","dependency_job_id":"eaa78a8b-fa0c-4bcb-872b-5663afde77ff","html_url":"https://github.com/feast107/CodeAnalysis","commit_stats":null,"previous_names":["feast107/codeanalysis.extensions"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feast107%2FCodeAnalysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feast107%2FCodeAnalysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feast107%2FCodeAnalysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feast107%2FCodeAnalysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feast107","download_url":"https://codeload.github.com/feast107/CodeAnalysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249316025,"owners_count":21249878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codegenerator","enhancement","extension","roslyn"],"created_at":"2024-08-01T22:01:01.632Z","updated_at":"2025-04-17T04:32:45.899Z","avatar_url":"https://github.com/feast107.png","language":"C#","funding_links":[],"categories":["Content"],"sub_categories":["123. [CodeAnalysis](https://ignatandrei.github.io/RSCG_Examples/v2/docs/CodeAnalysis) , in the [CodeToString](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#codetostring) category"],"readme":"# CodeAnalysis\n自动生成提供给 `SourceGenerator` 的扩展\n\n## Requires\n\n+ [PolySharp](https://github.com/Sergio0694/PolySharp)\n\n## Supports\n\n+ `[Literal]`\n    \n    Auto generate full qualified string literal for target class\n    \n    if you have a class like\n    ```csharp\n    [Literal(\"Your.Program.Class\")]\n    public class Test\n    {\n        public IEnumerable\u003cstring\u003e Name { get; set; }\n    }\n    ```\n    Then it will generate a class like\n\n    ```csharp\n    namespace Your.Program{\n        public class Class{\n            public static string Text = \"\"\"\n    public class Test\n    {\n        public global::System.Collection.Generic.IEnumerable\u003cstring\u003e Name { get; set; }\n    }\n    \"\"\";\n        }\n    }\n    ```\n\n+ `Feast.CompileTime`\n    ```csharp\n    class Assembly : System.Reflection.Assembly;\n    class Module : System.Reflection.Module;\n    class Type : System.Type;\n    class MemberInfo : System.Reflection.MemberInfo;\n    class MethodInfo : System.Reflection.MethodInfo;\n    class EventInfo : System.Reflection.EventInfo;\n    class FieldInfo : System.Reflection.FieldInfo;\n    class PropertyInfo : System.Reflection.PropertyInfo;\n    class ParameterInfo : System.Reflection.ParameterInfo;\n    class ConstructorInfo : System.Reflection.ConstructorInfo;\n    ```\n\n## Comment\n\n我们需要 `源代码生成器`\n\n因为我们需要生成更多的代码\n\n我们需要 `源代码生成器` 的 `源代码生成器`\n\n因为 `源代码生成器` 现在还不够强大\n\n我们需要 `源代码生成器` 的 `源代码生成器` 的 `源代码生成器`\n\n因为 `源代码生成器` 的 `源代码生成器` 现在还不能自举\n\n由此可见\n\n道生一，一生二，二生三，三生万物\n\n总结\n\n玩源生玩的。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeast107%2FCodeAnalysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeast107%2FCodeAnalysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeast107%2FCodeAnalysis/lists"}