| 1 | using System.Collections.Generic; |
| 2 | |
| 3 | namespace Godot.SourceGenerators |
| 4 | { |
| 5 | internal readonly struct MethodInfo |
| 6 | { |
| 7 | public MethodInfo(string name, PropertyInfo returnVal, MethodFlags flags, |
| 8 | List<PropertyInfo>? arguments, |
| 9 | List<string?>? defaultArguments) |
| 10 | { |
| 11 | Name = name; |
| 12 | ReturnVal = returnVal; |
| 13 | Flags = flags; |
| 14 | Arguments = arguments; |
| 15 | DefaultArguments = defaultArguments; |
| 16 | } |
| 17 | |
| 18 | public string Name { get; } |
| 19 | public PropertyInfo ReturnVal { get; } |
| 20 | public MethodFlags Flags { get; } |
| 21 | public List<PropertyInfo>? Arguments { get; } |
| 22 | public List<string?>? DefaultArguments { get; } |
| 23 | } |
| 24 | } |