ScriptRegistrarGenerator.cs 620 B

12345678910111213141516171819
  1. using Microsoft.CodeAnalysis;
  2. namespace Godot.SourceGenerators
  3. {
  4. // Placeholder. Once we switch to native extensions this will act as the registrar for all
  5. // user Godot classes in the assembly. Think of it as something similar to `register_types`.
  6. public class ScriptRegistrarGenerator : ISourceGenerator
  7. {
  8. public void Initialize(GeneratorInitializationContext context)
  9. {
  10. throw new System.NotImplementedException();
  11. }
  12. public void Execute(GeneratorExecutionContext context)
  13. {
  14. throw new System.NotImplementedException();
  15. }
  16. }
  17. }