|
| 1 | +/* Intro_+Global |
| 2 | +output _Categories { |
| 3 | + category: _Category |
| 4 | + type: _Type |
| 5 | + | _Category |
| 6 | + | _Type |
| 7 | +} |
| 8 | + |
| 9 | +output _Category { |
| 10 | + : _Aliased |
| 11 | + resolution: _Resolution |
| 12 | + output: _TypeRef<_TypeKind.Output> |
| 13 | + modifiers: _Modifiers[] |
| 14 | + } |
| 15 | + |
| 16 | +enum _Resolution { Parallel Sequential Single } |
| 17 | +output _Directives { |
| 18 | + directive: _Directive |
| 19 | + type: _Type |
| 20 | + | _Directive |
| 21 | + | _Type |
| 22 | +} |
| 23 | + |
| 24 | +output _Directive { |
| 25 | + : _Aliased |
| 26 | + parameters: _InputParam[] |
| 27 | + repeatable: Boolean |
| 28 | + locations: _[_Location] |
| 29 | + } |
| 30 | + |
| 31 | +enum _Location { Operation Variable Field Inline Spread Fragment } |
| 32 | + |
| 33 | +output _Setting { |
| 34 | + : _Named |
| 35 | + value: _Constant |
| 36 | +} |
| 37 | +*/ |
| 38 | + |
| 39 | +// Generated from Spec Intro_+Global |
| 40 | + |
| 41 | +/* |
| 42 | +*/ |
| 43 | + |
| 44 | +namespace GqlPlus.Model_Spec_Intro__Global; |
| 45 | + |
| 46 | +public interface I_Categories |
| 47 | +{ |
| 48 | + _Category category { get; } |
| 49 | + _Type type { get; } |
| 50 | + _Category As_Category { get; } |
| 51 | + _Type As_Type { get; } |
| 52 | +} |
| 53 | +public class Output_Categories |
| 54 | + : I_Categories |
| 55 | +{ |
| 56 | + public _Category category { get; set; } |
| 57 | + public _Type type { get; set; } |
| 58 | + public _Category As_Category { get; set; } |
| 59 | + public _Type As_Type { get; set; } |
| 60 | +} |
| 61 | + |
| 62 | +public interface I_Category |
| 63 | + : I_Aliased |
| 64 | +{ |
| 65 | + _Resolution resolution { get; } |
| 66 | + _TypeRef output { get; } |
| 67 | + _Modifiers modifiers { get; } |
| 68 | +} |
| 69 | +public class Output_Category |
| 70 | + : Output_Aliased |
| 71 | + , I_Category |
| 72 | +{ |
| 73 | + public _Resolution resolution { get; set; } |
| 74 | + public _TypeRef output { get; set; } |
| 75 | + public _Modifiers modifiers { get; set; } |
| 76 | +} |
| 77 | + |
| 78 | +public enum _Resolution |
| 79 | +{ |
| 80 | + Parallel, |
| 81 | + Sequential, |
| 82 | + Single, |
| 83 | +} |
| 84 | + |
| 85 | +public interface I_Directives |
| 86 | +{ |
| 87 | + _Directive directive { get; } |
| 88 | + _Type type { get; } |
| 89 | + _Directive As_Directive { get; } |
| 90 | + _Type As_Type { get; } |
| 91 | +} |
| 92 | +public class Output_Directives |
| 93 | + : I_Directives |
| 94 | +{ |
| 95 | + public _Directive directive { get; set; } |
| 96 | + public _Type type { get; set; } |
| 97 | + public _Directive As_Directive { get; set; } |
| 98 | + public _Type As_Type { get; set; } |
| 99 | +} |
| 100 | + |
| 101 | +public interface I_Directive |
| 102 | + : I_Aliased |
| 103 | +{ |
| 104 | + _InputParam parameters { get; } |
| 105 | + Boolean repeatable { get; } |
| 106 | + Unit locations { get; } |
| 107 | +} |
| 108 | +public class Output_Directive |
| 109 | + : Output_Aliased |
| 110 | + , I_Directive |
| 111 | +{ |
| 112 | + public _InputParam parameters { get; set; } |
| 113 | + public Boolean repeatable { get; set; } |
| 114 | + public Unit locations { get; set; } |
| 115 | +} |
| 116 | + |
| 117 | +public enum _Location |
| 118 | +{ |
| 119 | + Operation, |
| 120 | + Variable, |
| 121 | + Field, |
| 122 | + Inline, |
| 123 | + Spread, |
| 124 | + Fragment, |
| 125 | +} |
| 126 | + |
| 127 | +public interface I_Setting |
| 128 | + : I_Named |
| 129 | +{ |
| 130 | + _Constant value { get; } |
| 131 | +} |
| 132 | +public class Output_Setting |
| 133 | + : Output_Named |
| 134 | + , I_Setting |
| 135 | +{ |
| 136 | + public _Constant value { get; set; } |
| 137 | +} |
0 commit comments