virtualx-engine/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators
Ignacio Roldán Etcheverry 92503ae8db C#: Add source generator for properties and exports default values
The editor no longer needs to create temporary instances to get the
default values. The initializer values of the exported properties are
still evaluated at runtime. For example, in the following example,
`GetInitialValue()` will be called when first looks for default values:

```
[Export] int MyValue = GetInitialValue();
```

Exporting fields with a non-supported type now results in a compiler
error rather than a runtime error when the script is used.
2022-08-22 03:36:51 +02:00
..
Common.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
ExtensionMethods.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
Godot.SourceGenerators.csproj C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
Godot.SourceGenerators.props C#/netcore: Add base desktop game export implementation 2022-08-22 03:36:51 +02:00
GodotClasses.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
GodotEnums.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
GodotMemberData.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
GodotPluginsInitializerGenerator.cs C#/netcore: Add base desktop game export implementation 2022-08-22 03:36:51 +02:00
MarshalType.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
MarshalUtils.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
ScriptMemberInvokerGenerator.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
ScriptPathAttributeGenerator.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
ScriptPropertiesGenerator.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
ScriptPropertyDefValGenerator.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
ScriptRegistrarGenerator.cs C#: Add initial implementation of source generator for script members 2022-08-22 03:36:51 +02:00