mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Add MustBeVariant attribute and analyzer
- MustBeVariant attribute can be used to enforce that generic types must be a marshable from/to Variant. - Also renames all diagnostic ids to be valid unicode identifiers.
This commit is contained in:
		
							parent
							
								
									d0a2a4c981
								
							
						
					
					
						commit
						6468f9b37c
					
				
					 14 changed files with 227 additions and 18 deletions
				
			
		|  | @ -9,6 +9,7 @@ namespace Godot.SourceGenerators | |||
|         public const string ExportGroupAttr = "Godot.ExportGroupAttribute"; | ||||
|         public const string ExportSubgroupAttr = "Godot.ExportSubgroupAttribute"; | ||||
|         public const string SignalAttr = "Godot.SignalAttribute"; | ||||
|         public const string MustBeVariantAttr = "Godot.MustBeVariantAttribute"; | ||||
|         public const string GodotClassNameAttr = "Godot.GodotClassName"; | ||||
|         public const string SystemFlagsAttr = "System.FlagsAttribute"; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Raul Santos
						Raul Santos