@powerlines/plugin-nodejs 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/components/env.cjs +188 -2
  3. package/dist/components/env.d.cts +9 -2
  4. package/dist/components/env.d.mts +9 -2
  5. package/dist/components/env.mjs +185 -1
  6. package/dist/components/index.cjs +2 -3
  7. package/dist/components/index.d.cts +1 -3
  8. package/dist/components/index.d.mts +1 -3
  9. package/dist/components/index.mjs +1 -2
  10. package/dist/deepkit/schemas/reflection.cjs +3940 -0
  11. package/dist/{plugin-D7kBf19k.d.cts → deepkit/schemas/reflection.d.cts} +1 -1078
  12. package/dist/{plugin-JL1BtFku.d.mts → deepkit/schemas/reflection.d.mts} +59 -1136
  13. package/dist/deepkit/schemas/reflection.mjs +3938 -0
  14. package/dist/deepkit/schemas/reflection2.cjs +4112 -0
  15. package/dist/deepkit/schemas/reflection2.mjs +4110 -0
  16. package/dist/deepkit/src/capnp.cjs +913 -0
  17. package/dist/deepkit/src/capnp.mjs +911 -0
  18. package/dist/deepkit/src/esbuild-plugin.cjs +47 -0
  19. package/dist/deepkit/src/esbuild-plugin.mjs +46 -0
  20. package/dist/deepkit/src/reflect-type.cjs +22 -0
  21. package/dist/deepkit/src/reflect-type.mjs +20 -0
  22. package/dist/deepkit/src/resolve-reflections.cjs +16 -0
  23. package/dist/deepkit/src/resolve-reflections.mjs +15 -0
  24. package/dist/deepkit/src/transformer.cjs +52 -0
  25. package/dist/deepkit/src/transformer.mjs +49 -0
  26. package/dist/deepkit/src/transpile.cjs +29 -0
  27. package/dist/deepkit/src/transpile.mjs +27 -0
  28. package/dist/deepkit/src/types.d.cts +10 -0
  29. package/dist/deepkit/src/types.d.mts +10 -0
  30. package/dist/deepkit/src/utilities.cjs +66 -0
  31. package/dist/deepkit/src/utilities.mjs +65 -0
  32. package/dist/index.cjs +14 -813
  33. package/dist/index.d.cts +5 -5
  34. package/dist/index.d.mts +5 -5
  35. package/dist/index.mjs +11 -803
  36. package/dist/plugin-alloy/src/core/components/output.cjs +45 -0
  37. package/dist/plugin-alloy/src/core/components/output.mjs +44 -0
  38. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +22 -0
  39. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +21 -0
  40. package/dist/plugin-alloy/src/core/components/source-file.cjs +64 -0
  41. package/dist/plugin-alloy/src/core/components/source-file.d.cts +23 -0
  42. package/dist/plugin-alloy/src/core/components/source-file.d.mts +23 -0
  43. package/dist/plugin-alloy/src/core/components/source-file.mjs +62 -0
  44. package/dist/plugin-alloy/src/core/contexts/context.cjs +60 -0
  45. package/dist/plugin-alloy/src/core/contexts/context.mjs +54 -0
  46. package/dist/plugin-alloy/src/core/contexts/index.cjs +2 -0
  47. package/dist/plugin-alloy/src/core/contexts/index.mjs +4 -0
  48. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +46 -0
  49. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +42 -0
  50. package/dist/plugin-alloy/src/helpers/refkey.cjs +16 -0
  51. package/dist/plugin-alloy/src/helpers/refkey.mjs +15 -0
  52. package/dist/plugin-alloy/src/index.cjs +99 -0
  53. package/dist/plugin-alloy/src/index.mjs +97 -0
  54. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +7 -0
  55. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +9 -0
  56. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +5 -0
  57. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +7 -0
  58. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +17 -0
  59. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +17 -0
  60. package/dist/plugin-alloy/src/types/components.d.cts +23 -0
  61. package/dist/plugin-alloy/src/types/components.d.mts +24 -0
  62. package/dist/plugin-alloy/src/types/index.d.cts +2 -0
  63. package/dist/plugin-alloy/src/types/index.d.mts +2 -0
  64. package/dist/plugin-alloy/src/types/plugin.d.cts +37 -0
  65. package/dist/plugin-alloy/src/types/plugin.d.mts +37 -0
  66. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +57 -0
  67. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +26 -0
  68. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +26 -0
  69. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +56 -0
  70. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +126 -0
  71. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +124 -0
  72. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +442 -0
  73. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +28 -0
  74. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +28 -0
  75. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +433 -0
  76. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +194 -0
  77. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +15 -0
  78. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +15 -0
  79. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +191 -0
  80. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +68 -0
  81. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +4 -0
  82. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +4 -0
  83. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +67 -0
  84. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +124 -0
  85. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +123 -0
  86. package/dist/plugin-automd/src/index.cjs +101 -0
  87. package/dist/plugin-automd/src/index.mjs +98 -0
  88. package/dist/plugin-automd/src/types/plugin.d.cts +38 -0
  89. package/dist/plugin-automd/src/types/plugin.d.mts +40 -0
  90. package/dist/plugin-automd/src/types/toc.d.cts +33 -0
  91. package/dist/plugin-automd/src/types/toc.d.mts +33 -0
  92. package/dist/plugin-babel/src/helpers/ast-utils.cjs +10 -0
  93. package/dist/plugin-babel/src/helpers/ast-utils.mjs +9 -0
  94. package/dist/plugin-babel/src/helpers/create-plugin.cjs +41 -0
  95. package/dist/plugin-babel/src/helpers/create-plugin.mjs +39 -0
  96. package/dist/plugin-babel/src/helpers/filters.cjs +23 -0
  97. package/dist/plugin-babel/src/helpers/filters.mjs +21 -0
  98. package/dist/plugin-babel/src/helpers/index.cjs +5 -0
  99. package/dist/plugin-babel/src/helpers/index.mjs +7 -0
  100. package/dist/plugin-babel/src/helpers/module-helpers.cjs +38 -0
  101. package/dist/plugin-babel/src/helpers/module-helpers.mjs +35 -0
  102. package/dist/plugin-babel/src/helpers/options.cjs +50 -0
  103. package/dist/plugin-babel/src/helpers/options.mjs +47 -0
  104. package/dist/plugin-babel/src/index.cjs +91 -0
  105. package/dist/plugin-babel/src/index.mjs +89 -0
  106. package/dist/plugin-babel/src/types/index.d.mts +1 -0
  107. package/dist/plugin-babel/src/types/plugin.d.cts +15 -0
  108. package/dist/plugin-babel/src/types/plugin.d.mts +15 -0
  109. package/dist/plugin-env/src/babel/index.cjs +1 -0
  110. package/dist/plugin-env/src/babel/index.mjs +3 -0
  111. package/dist/plugin-env/src/babel/plugin.cjs +121 -0
  112. package/dist/plugin-env/src/babel/plugin.mjs +119 -0
  113. package/dist/plugin-env/src/components/docs.cjs +9 -0
  114. package/dist/plugin-env/src/components/docs.mjs +11 -0
  115. package/dist/plugin-env/src/components/env.cjs +575 -0
  116. package/dist/plugin-env/src/components/env.d.cts +11 -0
  117. package/dist/plugin-env/src/components/env.d.mts +11 -0
  118. package/dist/plugin-env/src/components/env.mjs +572 -0
  119. package/dist/plugin-env/src/components/index.cjs +2 -0
  120. package/dist/plugin-env/src/components/index.mjs +4 -0
  121. package/dist/plugin-env/src/helpers/automd-generator.cjs +22 -0
  122. package/dist/plugin-env/src/helpers/automd-generator.mjs +21 -0
  123. package/dist/plugin-env/src/helpers/create-reflection-resource.cjs +55 -0
  124. package/dist/plugin-env/src/helpers/create-reflection-resource.mjs +54 -0
  125. package/dist/plugin-env/src/helpers/index.cjs +6 -0
  126. package/dist/plugin-env/src/helpers/index.mjs +8 -0
  127. package/dist/plugin-env/src/helpers/load.cjs +83 -0
  128. package/dist/plugin-env/src/helpers/load.mjs +80 -0
  129. package/dist/plugin-env/src/helpers/persistence.cjs +199 -0
  130. package/dist/plugin-env/src/helpers/persistence.mjs +188 -0
  131. package/dist/plugin-env/src/helpers/reflect.cjs +111 -0
  132. package/dist/plugin-env/src/helpers/reflect.mjs +103 -0
  133. package/dist/plugin-env/src/helpers/source-file-env.cjs +24 -0
  134. package/dist/plugin-env/src/helpers/source-file-env.mjs +23 -0
  135. package/dist/plugin-env/src/helpers/template-helpers.cjs +2 -0
  136. package/dist/plugin-env/src/helpers/template-helpers.mjs +4 -0
  137. package/dist/plugin-env/src/index.cjs +175 -0
  138. package/dist/plugin-env/src/index.mjs +173 -0
  139. package/dist/plugin-env/src/types/plugin.d.cts +152 -0
  140. package/dist/plugin-env/src/types/plugin.d.mts +153 -0
  141. package/dist/plugin-env/src/types/runtime.d.cts +792 -0
  142. package/dist/plugin-env/src/types/runtime.d.mts +792 -0
  143. package/dist/powerlines/src/lib/build/esbuild.cjs +102 -0
  144. package/dist/powerlines/src/lib/build/esbuild.mjs +100 -0
  145. package/dist/powerlines/src/lib/entry.cjs +12 -0
  146. package/dist/powerlines/src/lib/entry.mjs +14 -0
  147. package/dist/powerlines/src/lib/logger.cjs +41 -0
  148. package/dist/powerlines/src/lib/logger.mjs +39 -0
  149. package/dist/powerlines/src/lib/typescript/tsconfig.cjs +38 -0
  150. package/dist/powerlines/src/lib/typescript/tsconfig.mjs +35 -0
  151. package/dist/powerlines/src/lib/utilities/bundle.cjs +35 -0
  152. package/dist/powerlines/src/lib/utilities/bundle.mjs +34 -0
  153. package/dist/powerlines/src/lib/utilities/resolve.cjs +30 -0
  154. package/dist/powerlines/src/lib/utilities/resolve.mjs +29 -0
  155. package/dist/powerlines/src/plugin-utils/paths.cjs +1 -0
  156. package/dist/powerlines/src/plugin-utils/paths.mjs +3 -0
  157. package/dist/powerlines/src/types/babel.d.cts +22 -0
  158. package/dist/powerlines/src/types/babel.d.mts +22 -0
  159. package/dist/powerlines/src/types/build.d.cts +145 -0
  160. package/dist/powerlines/src/types/build.d.mts +145 -0
  161. package/dist/powerlines/src/types/commands.d.cts +8 -0
  162. package/dist/powerlines/src/types/commands.d.mts +9 -0
  163. package/dist/powerlines/src/types/config.d.cts +387 -0
  164. package/dist/powerlines/src/types/config.d.mts +388 -0
  165. package/dist/powerlines/src/types/context.d.cts +414 -0
  166. package/dist/powerlines/src/types/context.d.mts +416 -0
  167. package/dist/powerlines/src/types/fs.d.cts +486 -0
  168. package/dist/powerlines/src/types/fs.d.mts +486 -0
  169. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  170. package/dist/powerlines/src/types/plugin.d.cts +231 -0
  171. package/dist/powerlines/src/types/plugin.d.mts +231 -0
  172. package/dist/powerlines/src/types/resolved.d.cts +82 -0
  173. package/dist/powerlines/src/types/resolved.d.mts +82 -0
  174. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  175. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  176. package/dist/types/index.cjs +0 -2
  177. package/dist/types/index.d.cts +1 -3
  178. package/dist/types/index.d.mts +1 -3
  179. package/dist/types/index.mjs +0 -3
  180. package/dist/types/plugin.cjs +0 -1
  181. package/dist/types/plugin.d.cts +22 -2
  182. package/dist/types/plugin.d.mts +22 -2
  183. package/dist/types/plugin.mjs +0 -2
  184. package/package.json +6 -6
  185. package/dist/components-BWLXb7a2.cjs +0 -0
  186. package/dist/components-CXZYcH4q.d.mts +0 -1816
  187. package/dist/components-kh0CpIG2.mjs +0 -1
  188. package/dist/env-CAhIy_H3.cjs +0 -11713
  189. package/dist/env-CUyFiniR.d.cts +0 -107
  190. package/dist/env-IF4XhMjG.mjs +0 -11570
  191. package/dist/env-sRb-Y8mJ.d.mts +0 -89
  192. package/dist/index-CUbWeWHc.d.mts +0 -1
  193. package/dist/index-D6CnpA_r.d.cts +0 -1
  194. package/dist/index-DL0uimUT.d.mts +0 -1
  195. package/dist/index-DWPDThxu.d.cts +0 -1
  196. package/dist/plugin-ifZVa20V.mjs +0 -1
  197. package/dist/plugin-pBKbb5K9.cjs +0 -0
  198. package/dist/resolved-zsx09G03.d.cts +0 -1795
  199. package/dist/types-U3zd8PTP.mjs +0 -1
  200. package/dist/types-o3zWarRp.cjs +0 -0
@@ -0,0 +1,4110 @@
1
+ import * as $ from "@stryke/capnp";
2
+
3
+ //#region ../deepkit/schemas/reflection.js
4
+ var __defProp = Object.defineProperty;
5
+ var __name = (target, value) => __defProp(target, "name", {
6
+ value,
7
+ configurable: true
8
+ });
9
+ var TagsReflection = class extends $.Struct {
10
+ static {
11
+ __name(this, "TagsReflection");
12
+ }
13
+ static _capnp = {
14
+ displayName: "TagsReflection",
15
+ id: "ab7e31d6b834bbf8",
16
+ size: new $.ObjectSize(8, 4)
17
+ };
18
+ _adoptAlias(value) {
19
+ $.utils.adopt(value, $.utils.getPointer(0, this));
20
+ }
21
+ _disownAlias() {
22
+ return $.utils.disown(this.alias);
23
+ }
24
+ get alias() {
25
+ return $.utils.getList(0, $.TextList, this);
26
+ }
27
+ _hasAlias() {
28
+ return !$.utils.isNull($.utils.getPointer(0, this));
29
+ }
30
+ _initAlias(length) {
31
+ return $.utils.initList(0, $.TextList, length, this);
32
+ }
33
+ set alias(value) {
34
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
35
+ }
36
+ get title() {
37
+ return $.utils.getText(1, this);
38
+ }
39
+ set title(value) {
40
+ $.utils.setText(1, value, this);
41
+ }
42
+ get hidden() {
43
+ return $.utils.getBit(0, this);
44
+ }
45
+ set hidden(value) {
46
+ $.utils.setBit(0, value, this);
47
+ }
48
+ get readonly() {
49
+ return $.utils.getBit(1, this);
50
+ }
51
+ set readonly(value) {
52
+ $.utils.setBit(1, value, this);
53
+ }
54
+ get ignore() {
55
+ return $.utils.getBit(2, this);
56
+ }
57
+ set ignore(value) {
58
+ $.utils.setBit(2, value, this);
59
+ }
60
+ get internal() {
61
+ return $.utils.getBit(3, this);
62
+ }
63
+ set internal(value) {
64
+ $.utils.setBit(3, value, this);
65
+ }
66
+ _adoptPermission(value) {
67
+ $.utils.adopt(value, $.utils.getPointer(2, this));
68
+ }
69
+ _disownPermission() {
70
+ return $.utils.disown(this.permission);
71
+ }
72
+ get permission() {
73
+ return $.utils.getList(2, $.TextList, this);
74
+ }
75
+ _hasPermission() {
76
+ return !$.utils.isNull($.utils.getPointer(2, this));
77
+ }
78
+ _initPermission(length) {
79
+ return $.utils.initList(2, $.TextList, length, this);
80
+ }
81
+ set permission(value) {
82
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
83
+ }
84
+ get domain() {
85
+ return $.utils.getText(3, this);
86
+ }
87
+ set domain(value) {
88
+ $.utils.setText(3, value, this);
89
+ }
90
+ toString() {
91
+ return "TagsReflection_" + super.toString();
92
+ }
93
+ };
94
+ var DefaultValueReflection_Value_Which = {
95
+ UNDEFINED: 0,
96
+ BOOLEAN: 1,
97
+ INTEGER: 2,
98
+ FLOAT: 3,
99
+ STRING: 4
100
+ };
101
+ var DefaultValueReflection_Value = class extends $.Struct {
102
+ static {
103
+ __name(this, "DefaultValueReflection_Value");
104
+ }
105
+ static UNDEFINED = DefaultValueReflection_Value_Which.UNDEFINED;
106
+ static BOOLEAN = DefaultValueReflection_Value_Which.BOOLEAN;
107
+ static INTEGER = DefaultValueReflection_Value_Which.INTEGER;
108
+ static FLOAT = DefaultValueReflection_Value_Which.FLOAT;
109
+ static STRING = DefaultValueReflection_Value_Which.STRING;
110
+ static _capnp = {
111
+ displayName: "value",
112
+ id: "8748135e0497fe81",
113
+ size: new $.ObjectSize(16, 1)
114
+ };
115
+ get _isUndefined() {
116
+ return $.utils.getUint16(0, this) === 0;
117
+ }
118
+ set undefined(_) {
119
+ $.utils.setUint16(0, 0, this);
120
+ }
121
+ get boolean() {
122
+ $.utils.testWhich("boolean", $.utils.getUint16(0, this), 1, this);
123
+ return $.utils.getBit(16, this);
124
+ }
125
+ get _isBoolean() {
126
+ return $.utils.getUint16(0, this) === 1;
127
+ }
128
+ set boolean(value) {
129
+ $.utils.setUint16(0, 1, this);
130
+ $.utils.setBit(16, value, this);
131
+ }
132
+ get integer() {
133
+ $.utils.testWhich("integer", $.utils.getUint16(0, this), 2, this);
134
+ return $.utils.getInt32(4, this);
135
+ }
136
+ get _isInteger() {
137
+ return $.utils.getUint16(0, this) === 2;
138
+ }
139
+ set integer(value) {
140
+ $.utils.setUint16(0, 2, this);
141
+ $.utils.setInt32(4, value, this);
142
+ }
143
+ get float() {
144
+ $.utils.testWhich("float", $.utils.getUint16(0, this), 3, this);
145
+ return $.utils.getFloat64(8, this);
146
+ }
147
+ get _isFloat() {
148
+ return $.utils.getUint16(0, this) === 3;
149
+ }
150
+ set float(value) {
151
+ $.utils.setUint16(0, 3, this);
152
+ $.utils.setFloat64(8, value, this);
153
+ }
154
+ get string() {
155
+ $.utils.testWhich("string", $.utils.getUint16(0, this), 4, this);
156
+ return $.utils.getText(0, this);
157
+ }
158
+ get _isString() {
159
+ return $.utils.getUint16(0, this) === 4;
160
+ }
161
+ set string(value) {
162
+ $.utils.setUint16(0, 4, this);
163
+ $.utils.setText(0, value, this);
164
+ }
165
+ toString() {
166
+ return "DefaultValueReflection_Value_" + super.toString();
167
+ }
168
+ which() {
169
+ return $.utils.getUint16(0, this);
170
+ }
171
+ };
172
+ var DefaultValueReflection = class extends $.Struct {
173
+ static {
174
+ __name(this, "DefaultValueReflection");
175
+ }
176
+ static _capnp = {
177
+ displayName: "DefaultValueReflection",
178
+ id: "96fe6f07954197c9",
179
+ size: new $.ObjectSize(16, 1)
180
+ };
181
+ get value() {
182
+ return $.utils.getAs(DefaultValueReflection_Value, this);
183
+ }
184
+ _initValue() {
185
+ return $.utils.getAs(DefaultValueReflection_Value, this);
186
+ }
187
+ toString() {
188
+ return "DefaultValueReflection_" + super.toString();
189
+ }
190
+ };
191
+ var SerializedTypeReference = class extends $.Struct {
192
+ static {
193
+ __name(this, "SerializedTypeReference");
194
+ }
195
+ static _capnp = {
196
+ displayName: "SerializedTypeReference",
197
+ id: "a83d8a28b5e80f3a",
198
+ size: new $.ObjectSize(8, 0)
199
+ };
200
+ get id() {
201
+ return $.utils.getUint32(0, this);
202
+ }
203
+ set id(value) {
204
+ $.utils.setUint32(0, value, this);
205
+ }
206
+ toString() {
207
+ return "SerializedTypeReference_" + super.toString();
208
+ }
209
+ };
210
+ var IndexAccessOrigin = class extends $.Struct {
211
+ static {
212
+ __name(this, "IndexAccessOrigin");
213
+ }
214
+ static _capnp = {
215
+ displayName: "IndexAccessOrigin",
216
+ id: "ca50b18186c87afe",
217
+ size: new $.ObjectSize(0, 2)
218
+ };
219
+ _adoptContainer(value) {
220
+ $.utils.adopt(value, $.utils.getPointer(0, this));
221
+ }
222
+ _disownContainer() {
223
+ return $.utils.disown(this.container);
224
+ }
225
+ get container() {
226
+ return $.utils.getStruct(0, SerializedTypeReference, this);
227
+ }
228
+ _hasContainer() {
229
+ return !$.utils.isNull($.utils.getPointer(0, this));
230
+ }
231
+ _initContainer() {
232
+ return $.utils.initStructAt(0, SerializedTypeReference, this);
233
+ }
234
+ set container(value) {
235
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
236
+ }
237
+ _adoptIndex(value) {
238
+ $.utils.adopt(value, $.utils.getPointer(1, this));
239
+ }
240
+ _disownIndex() {
241
+ return $.utils.disown(this.index);
242
+ }
243
+ get index() {
244
+ return $.utils.getStruct(1, SerializedTypeReference, this);
245
+ }
246
+ _hasIndex() {
247
+ return !$.utils.isNull($.utils.getPointer(1, this));
248
+ }
249
+ _initIndex() {
250
+ return $.utils.initStructAt(1, SerializedTypeReference, this);
251
+ }
252
+ set index(value) {
253
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
254
+ }
255
+ toString() {
256
+ return "IndexAccessOrigin_" + super.toString();
257
+ }
258
+ };
259
+ var EntityOptions_EntityIndexOptions = class extends $.Struct {
260
+ static {
261
+ __name(this, "EntityOptions_EntityIndexOptions");
262
+ }
263
+ static _capnp = {
264
+ displayName: "EntityIndexOptions",
265
+ id: "de584ad10b7c5004",
266
+ size: new $.ObjectSize(0, 2)
267
+ };
268
+ _adoptNames(value) {
269
+ $.utils.adopt(value, $.utils.getPointer(0, this));
270
+ }
271
+ _disownNames() {
272
+ return $.utils.disown(this.names);
273
+ }
274
+ get names() {
275
+ return $.utils.getList(0, $.TextList, this);
276
+ }
277
+ _hasNames() {
278
+ return !$.utils.isNull($.utils.getPointer(0, this));
279
+ }
280
+ _initNames(length) {
281
+ return $.utils.initList(0, $.TextList, length, this);
282
+ }
283
+ set names(value) {
284
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
285
+ }
286
+ /**
287
+ * JSON stringified options
288
+ *
289
+ */
290
+ get options() {
291
+ return $.utils.getText(1, this);
292
+ }
293
+ set options(value) {
294
+ $.utils.setText(1, value, this);
295
+ }
296
+ toString() {
297
+ return "EntityOptions_EntityIndexOptions_" + super.toString();
298
+ }
299
+ };
300
+ var EntityOptions = class _EntityOptions extends $.Struct {
301
+ static {
302
+ __name(this, "EntityOptions");
303
+ }
304
+ static EntityIndexOptions = EntityOptions_EntityIndexOptions;
305
+ static _capnp = {
306
+ displayName: "EntityOptions",
307
+ id: "948d2d02cf676d60",
308
+ size: new $.ObjectSize(8, 5)
309
+ };
310
+ static _Indexes;
311
+ get name() {
312
+ return $.utils.getText(0, this);
313
+ }
314
+ set name(value) {
315
+ $.utils.setText(0, value, this);
316
+ }
317
+ get description() {
318
+ return $.utils.getText(1, this);
319
+ }
320
+ set description(value) {
321
+ $.utils.setText(1, value, this);
322
+ }
323
+ get collection() {
324
+ return $.utils.getText(2, this);
325
+ }
326
+ set collection(value) {
327
+ $.utils.setText(2, value, this);
328
+ }
329
+ get database() {
330
+ return $.utils.getText(3, this);
331
+ }
332
+ set database(value) {
333
+ $.utils.setText(3, value, this);
334
+ }
335
+ get singleTableInheritance() {
336
+ return $.utils.getBit(0, this);
337
+ }
338
+ set singleTableInheritance(value) {
339
+ $.utils.setBit(0, value, this);
340
+ }
341
+ _adoptIndexes(value) {
342
+ $.utils.adopt(value, $.utils.getPointer(4, this));
343
+ }
344
+ _disownIndexes() {
345
+ return $.utils.disown(this.indexes);
346
+ }
347
+ get indexes() {
348
+ return $.utils.getList(4, _EntityOptions._Indexes, this);
349
+ }
350
+ _hasIndexes() {
351
+ return !$.utils.isNull($.utils.getPointer(4, this));
352
+ }
353
+ _initIndexes(length) {
354
+ return $.utils.initList(4, _EntityOptions._Indexes, length, this);
355
+ }
356
+ set indexes(value) {
357
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
358
+ }
359
+ toString() {
360
+ return "EntityOptions_" + super.toString();
361
+ }
362
+ };
363
+ var SerializedTypeObjectLiteral = class _SerializedTypeObjectLiteral extends $.Struct {
364
+ static {
365
+ __name(this, "SerializedTypeObjectLiteral");
366
+ }
367
+ static _capnp = {
368
+ displayName: "SerializedTypeObjectLiteral",
369
+ id: "8b56235ad9bcb2b1",
370
+ size: new $.ObjectSize(8, 6)
371
+ };
372
+ static _TypeArguments;
373
+ static _Decorators;
374
+ static _Types;
375
+ get typeName() {
376
+ return $.utils.getText(0, this);
377
+ }
378
+ set typeName(value) {
379
+ $.utils.setText(0, value, this);
380
+ }
381
+ _adoptTypeArguments(value) {
382
+ $.utils.adopt(value, $.utils.getPointer(1, this));
383
+ }
384
+ _disownTypeArguments() {
385
+ return $.utils.disown(this.typeArguments);
386
+ }
387
+ get typeArguments() {
388
+ return $.utils.getList(1, _SerializedTypeObjectLiteral._TypeArguments, this);
389
+ }
390
+ _hasTypeArguments() {
391
+ return !$.utils.isNull($.utils.getPointer(1, this));
392
+ }
393
+ _initTypeArguments(length) {
394
+ return $.utils.initList(1, _SerializedTypeObjectLiteral._TypeArguments, length, this);
395
+ }
396
+ set typeArguments(value) {
397
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
398
+ }
399
+ _adoptIndexAccessOrigin(value) {
400
+ $.utils.adopt(value, $.utils.getPointer(2, this));
401
+ }
402
+ _disownIndexAccessOrigin() {
403
+ return $.utils.disown(this.indexAccessOrigin);
404
+ }
405
+ get indexAccessOrigin() {
406
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
407
+ }
408
+ _hasIndexAccessOrigin() {
409
+ return !$.utils.isNull($.utils.getPointer(2, this));
410
+ }
411
+ _initIndexAccessOrigin() {
412
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
413
+ }
414
+ set indexAccessOrigin(value) {
415
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
416
+ }
417
+ _adoptDecorators(value) {
418
+ $.utils.adopt(value, $.utils.getPointer(3, this));
419
+ }
420
+ _disownDecorators() {
421
+ return $.utils.disown(this.decorators);
422
+ }
423
+ get decorators() {
424
+ return $.utils.getList(3, _SerializedTypeObjectLiteral._Decorators, this);
425
+ }
426
+ _hasDecorators() {
427
+ return !$.utils.isNull($.utils.getPointer(3, this));
428
+ }
429
+ _initDecorators(length) {
430
+ return $.utils.initList(3, _SerializedTypeObjectLiteral._Decorators, length, this);
431
+ }
432
+ set decorators(value) {
433
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
434
+ }
435
+ get kind() {
436
+ return $.utils.getUint16(0, this);
437
+ }
438
+ set kind(value) {
439
+ $.utils.setUint16(0, value, this);
440
+ }
441
+ _adoptTypes(value) {
442
+ $.utils.adopt(value, $.utils.getPointer(4, this));
443
+ }
444
+ _disownTypes() {
445
+ return $.utils.disown(this.types);
446
+ }
447
+ get types() {
448
+ return $.utils.getList(4, _SerializedTypeObjectLiteral._Types, this);
449
+ }
450
+ _hasTypes() {
451
+ return !$.utils.isNull($.utils.getPointer(4, this));
452
+ }
453
+ _initTypes(length) {
454
+ return $.utils.initList(4, _SerializedTypeObjectLiteral._Types, length, this);
455
+ }
456
+ set types(value) {
457
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
458
+ }
459
+ _adoptTags(value) {
460
+ $.utils.adopt(value, $.utils.getPointer(5, this));
461
+ }
462
+ _disownTags() {
463
+ return $.utils.disown(this.tags);
464
+ }
465
+ get tags() {
466
+ return $.utils.getStruct(5, TagsReflection, this);
467
+ }
468
+ _hasTags() {
469
+ return !$.utils.isNull($.utils.getPointer(5, this));
470
+ }
471
+ _initTags() {
472
+ return $.utils.initStructAt(5, TagsReflection, this);
473
+ }
474
+ set tags(value) {
475
+ $.utils.copyFrom(value, $.utils.getPointer(5, this));
476
+ }
477
+ toString() {
478
+ return "SerializedTypeObjectLiteral_" + super.toString();
479
+ }
480
+ };
481
+ var SerializedTypeClassType = class _SerializedTypeClassType extends $.Struct {
482
+ static {
483
+ __name(this, "SerializedTypeClassType");
484
+ }
485
+ static _capnp = {
486
+ displayName: "SerializedTypeClassType",
487
+ id: "9855392bf9c48b25",
488
+ size: new $.ObjectSize(8, 11)
489
+ };
490
+ static _TypeArguments;
491
+ static _Decorators;
492
+ static _ExtendsArguments;
493
+ static _Arguments;
494
+ static _Types;
495
+ get typeName() {
496
+ return $.utils.getText(0, this);
497
+ }
498
+ set typeName(value) {
499
+ $.utils.setText(0, value, this);
500
+ }
501
+ _adoptTypeArguments(value) {
502
+ $.utils.adopt(value, $.utils.getPointer(1, this));
503
+ }
504
+ _disownTypeArguments() {
505
+ return $.utils.disown(this.typeArguments);
506
+ }
507
+ get typeArguments() {
508
+ return $.utils.getList(1, _SerializedTypeClassType._TypeArguments, this);
509
+ }
510
+ _hasTypeArguments() {
511
+ return !$.utils.isNull($.utils.getPointer(1, this));
512
+ }
513
+ _initTypeArguments(length) {
514
+ return $.utils.initList(1, _SerializedTypeClassType._TypeArguments, length, this);
515
+ }
516
+ set typeArguments(value) {
517
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
518
+ }
519
+ _adoptIndexAccessOrigin(value) {
520
+ $.utils.adopt(value, $.utils.getPointer(2, this));
521
+ }
522
+ _disownIndexAccessOrigin() {
523
+ return $.utils.disown(this.indexAccessOrigin);
524
+ }
525
+ get indexAccessOrigin() {
526
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
527
+ }
528
+ _hasIndexAccessOrigin() {
529
+ return !$.utils.isNull($.utils.getPointer(2, this));
530
+ }
531
+ _initIndexAccessOrigin() {
532
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
533
+ }
534
+ set indexAccessOrigin(value) {
535
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
536
+ }
537
+ _adoptDecorators(value) {
538
+ $.utils.adopt(value, $.utils.getPointer(3, this));
539
+ }
540
+ _disownDecorators() {
541
+ return $.utils.disown(this.decorators);
542
+ }
543
+ get decorators() {
544
+ return $.utils.getList(3, _SerializedTypeClassType._Decorators, this);
545
+ }
546
+ _hasDecorators() {
547
+ return !$.utils.isNull($.utils.getPointer(3, this));
548
+ }
549
+ _initDecorators(length) {
550
+ return $.utils.initList(3, _SerializedTypeClassType._Decorators, length, this);
551
+ }
552
+ set decorators(value) {
553
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
554
+ }
555
+ get kind() {
556
+ return $.utils.getUint16(0, this);
557
+ }
558
+ set kind(value) {
559
+ $.utils.setUint16(0, value, this);
560
+ }
561
+ get name() {
562
+ return $.utils.getText(4, this);
563
+ }
564
+ set name(value) {
565
+ $.utils.setText(4, value, this);
566
+ }
567
+ get globalObject() {
568
+ return $.utils.getBit(16, this);
569
+ }
570
+ set globalObject(value) {
571
+ $.utils.setBit(16, value, this);
572
+ }
573
+ get classType() {
574
+ return $.utils.getText(5, this);
575
+ }
576
+ set classType(value) {
577
+ $.utils.setText(5, value, this);
578
+ }
579
+ _adoptExtendsArguments(value) {
580
+ $.utils.adopt(value, $.utils.getPointer(6, this));
581
+ }
582
+ _disownExtendsArguments() {
583
+ return $.utils.disown(this.extendsArguments);
584
+ }
585
+ get extendsArguments() {
586
+ return $.utils.getList(6, _SerializedTypeClassType._ExtendsArguments, this);
587
+ }
588
+ _hasExtendsArguments() {
589
+ return !$.utils.isNull($.utils.getPointer(6, this));
590
+ }
591
+ _initExtendsArguments(length) {
592
+ return $.utils.initList(6, _SerializedTypeClassType._ExtendsArguments, length, this);
593
+ }
594
+ set extendsArguments(value) {
595
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
596
+ }
597
+ _adoptArguments(value) {
598
+ $.utils.adopt(value, $.utils.getPointer(7, this));
599
+ }
600
+ _disownArguments() {
601
+ return $.utils.disown(this.arguments);
602
+ }
603
+ get arguments() {
604
+ return $.utils.getList(7, _SerializedTypeClassType._Arguments, this);
605
+ }
606
+ _hasArguments() {
607
+ return !$.utils.isNull($.utils.getPointer(7, this));
608
+ }
609
+ _initArguments(length) {
610
+ return $.utils.initList(7, _SerializedTypeClassType._Arguments, length, this);
611
+ }
612
+ set arguments(value) {
613
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
614
+ }
615
+ _adoptSuperClass(value) {
616
+ $.utils.adopt(value, $.utils.getPointer(8, this));
617
+ }
618
+ _disownSuperClass() {
619
+ return $.utils.disown(this.superClass);
620
+ }
621
+ get superClass() {
622
+ return $.utils.getStruct(8, SerializedTypeReference, this);
623
+ }
624
+ _hasSuperClass() {
625
+ return !$.utils.isNull($.utils.getPointer(8, this));
626
+ }
627
+ _initSuperClass() {
628
+ return $.utils.initStructAt(8, SerializedTypeReference, this);
629
+ }
630
+ set superClass(value) {
631
+ $.utils.copyFrom(value, $.utils.getPointer(8, this));
632
+ }
633
+ _adoptTypes(value) {
634
+ $.utils.adopt(value, $.utils.getPointer(9, this));
635
+ }
636
+ _disownTypes() {
637
+ return $.utils.disown(this.types);
638
+ }
639
+ get types() {
640
+ return $.utils.getList(9, _SerializedTypeClassType._Types, this);
641
+ }
642
+ _hasTypes() {
643
+ return !$.utils.isNull($.utils.getPointer(9, this));
644
+ }
645
+ _initTypes(length) {
646
+ return $.utils.initList(9, _SerializedTypeClassType._Types, length, this);
647
+ }
648
+ set types(value) {
649
+ $.utils.copyFrom(value, $.utils.getPointer(9, this));
650
+ }
651
+ _adoptTags(value) {
652
+ $.utils.adopt(value, $.utils.getPointer(10, this));
653
+ }
654
+ _disownTags() {
655
+ return $.utils.disown(this.tags);
656
+ }
657
+ get tags() {
658
+ return $.utils.getStruct(10, TagsReflection, this);
659
+ }
660
+ _hasTags() {
661
+ return !$.utils.isNull($.utils.getPointer(10, this));
662
+ }
663
+ _initTags() {
664
+ return $.utils.initStructAt(10, TagsReflection, this);
665
+ }
666
+ set tags(value) {
667
+ $.utils.copyFrom(value, $.utils.getPointer(10, this));
668
+ }
669
+ toString() {
670
+ return "SerializedTypeClassType_" + super.toString();
671
+ }
672
+ };
673
+ var SerializedTypeParameter = class _SerializedTypeParameter extends $.Struct {
674
+ static {
675
+ __name(this, "SerializedTypeParameter");
676
+ }
677
+ static _capnp = {
678
+ displayName: "SerializedTypeParameter",
679
+ id: "fcbaa08bb97b8b1a",
680
+ size: new $.ObjectSize(8, 8)
681
+ };
682
+ static _TypeArguments;
683
+ static _Decorators;
684
+ get typeName() {
685
+ return $.utils.getText(0, this);
686
+ }
687
+ set typeName(value) {
688
+ $.utils.setText(0, value, this);
689
+ }
690
+ _adoptTypeArguments(value) {
691
+ $.utils.adopt(value, $.utils.getPointer(1, this));
692
+ }
693
+ _disownTypeArguments() {
694
+ return $.utils.disown(this.typeArguments);
695
+ }
696
+ get typeArguments() {
697
+ return $.utils.getList(1, _SerializedTypeParameter._TypeArguments, this);
698
+ }
699
+ _hasTypeArguments() {
700
+ return !$.utils.isNull($.utils.getPointer(1, this));
701
+ }
702
+ _initTypeArguments(length) {
703
+ return $.utils.initList(1, _SerializedTypeParameter._TypeArguments, length, this);
704
+ }
705
+ set typeArguments(value) {
706
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
707
+ }
708
+ _adoptIndexAccessOrigin(value) {
709
+ $.utils.adopt(value, $.utils.getPointer(2, this));
710
+ }
711
+ _disownIndexAccessOrigin() {
712
+ return $.utils.disown(this.indexAccessOrigin);
713
+ }
714
+ get indexAccessOrigin() {
715
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
716
+ }
717
+ _hasIndexAccessOrigin() {
718
+ return !$.utils.isNull($.utils.getPointer(2, this));
719
+ }
720
+ _initIndexAccessOrigin() {
721
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
722
+ }
723
+ set indexAccessOrigin(value) {
724
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
725
+ }
726
+ _adoptDecorators(value) {
727
+ $.utils.adopt(value, $.utils.getPointer(3, this));
728
+ }
729
+ _disownDecorators() {
730
+ return $.utils.disown(this.decorators);
731
+ }
732
+ get decorators() {
733
+ return $.utils.getList(3, _SerializedTypeParameter._Decorators, this);
734
+ }
735
+ _hasDecorators() {
736
+ return !$.utils.isNull($.utils.getPointer(3, this));
737
+ }
738
+ _initDecorators(length) {
739
+ return $.utils.initList(3, _SerializedTypeParameter._Decorators, length, this);
740
+ }
741
+ set decorators(value) {
742
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
743
+ }
744
+ get kind() {
745
+ return $.utils.getUint16(0, this);
746
+ }
747
+ set kind(value) {
748
+ $.utils.setUint16(0, value, this);
749
+ }
750
+ get name() {
751
+ return $.utils.getText(4, this);
752
+ }
753
+ set name(value) {
754
+ $.utils.setText(4, value, this);
755
+ }
756
+ _adoptType(value) {
757
+ $.utils.adopt(value, $.utils.getPointer(5, this));
758
+ }
759
+ _disownType() {
760
+ return $.utils.disown(this.type);
761
+ }
762
+ get type() {
763
+ return $.utils.getStruct(5, SerializedTypeReference, this);
764
+ }
765
+ _hasType() {
766
+ return !$.utils.isNull($.utils.getPointer(5, this));
767
+ }
768
+ _initType() {
769
+ return $.utils.initStructAt(5, SerializedTypeReference, this);
770
+ }
771
+ set type(value) {
772
+ $.utils.copyFrom(value, $.utils.getPointer(5, this));
773
+ }
774
+ get visibility() {
775
+ return $.utils.getUint16(2, this);
776
+ }
777
+ set visibility(value) {
778
+ $.utils.setUint16(2, value, this);
779
+ }
780
+ get readonly() {
781
+ return $.utils.getBit(32, this);
782
+ }
783
+ set readonly(value) {
784
+ $.utils.setBit(32, value, this);
785
+ }
786
+ get optional() {
787
+ return $.utils.getBit(33, this);
788
+ }
789
+ set optional(value) {
790
+ $.utils.setBit(33, value, this);
791
+ }
792
+ _adoptDefault(value) {
793
+ $.utils.adopt(value, $.utils.getPointer(6, this));
794
+ }
795
+ _disownDefault() {
796
+ return $.utils.disown(this.default);
797
+ }
798
+ get default() {
799
+ return $.utils.getStruct(6, DefaultValueReflection, this);
800
+ }
801
+ _hasDefault() {
802
+ return !$.utils.isNull($.utils.getPointer(6, this));
803
+ }
804
+ _initDefault() {
805
+ return $.utils.initStructAt(6, DefaultValueReflection, this);
806
+ }
807
+ set default(value) {
808
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
809
+ }
810
+ _adoptTags(value) {
811
+ $.utils.adopt(value, $.utils.getPointer(7, this));
812
+ }
813
+ _disownTags() {
814
+ return $.utils.disown(this.tags);
815
+ }
816
+ get tags() {
817
+ return $.utils.getStruct(7, TagsReflection, this);
818
+ }
819
+ _hasTags() {
820
+ return !$.utils.isNull($.utils.getPointer(7, this));
821
+ }
822
+ _initTags() {
823
+ return $.utils.initStructAt(7, TagsReflection, this);
824
+ }
825
+ set tags(value) {
826
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
827
+ }
828
+ toString() {
829
+ return "SerializedTypeParameter_" + super.toString();
830
+ }
831
+ };
832
+ var SerializedTypeMethod = class _SerializedTypeMethod extends $.Struct {
833
+ static {
834
+ __name(this, "SerializedTypeMethod");
835
+ }
836
+ static _capnp = {
837
+ displayName: "SerializedTypeMethod",
838
+ id: "8b5eff6d9ec2fb06",
839
+ size: new $.ObjectSize(8, 8)
840
+ };
841
+ static _TypeArguments;
842
+ static _Decorators;
843
+ static _Parameters;
844
+ get typeName() {
845
+ return $.utils.getText(0, this);
846
+ }
847
+ set typeName(value) {
848
+ $.utils.setText(0, value, this);
849
+ }
850
+ _adoptTypeArguments(value) {
851
+ $.utils.adopt(value, $.utils.getPointer(1, this));
852
+ }
853
+ _disownTypeArguments() {
854
+ return $.utils.disown(this.typeArguments);
855
+ }
856
+ get typeArguments() {
857
+ return $.utils.getList(1, _SerializedTypeMethod._TypeArguments, this);
858
+ }
859
+ _hasTypeArguments() {
860
+ return !$.utils.isNull($.utils.getPointer(1, this));
861
+ }
862
+ _initTypeArguments(length) {
863
+ return $.utils.initList(1, _SerializedTypeMethod._TypeArguments, length, this);
864
+ }
865
+ set typeArguments(value) {
866
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
867
+ }
868
+ _adoptIndexAccessOrigin(value) {
869
+ $.utils.adopt(value, $.utils.getPointer(2, this));
870
+ }
871
+ _disownIndexAccessOrigin() {
872
+ return $.utils.disown(this.indexAccessOrigin);
873
+ }
874
+ get indexAccessOrigin() {
875
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
876
+ }
877
+ _hasIndexAccessOrigin() {
878
+ return !$.utils.isNull($.utils.getPointer(2, this));
879
+ }
880
+ _initIndexAccessOrigin() {
881
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
882
+ }
883
+ set indexAccessOrigin(value) {
884
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
885
+ }
886
+ _adoptDecorators(value) {
887
+ $.utils.adopt(value, $.utils.getPointer(3, this));
888
+ }
889
+ _disownDecorators() {
890
+ return $.utils.disown(this.decorators);
891
+ }
892
+ get decorators() {
893
+ return $.utils.getList(3, _SerializedTypeMethod._Decorators, this);
894
+ }
895
+ _hasDecorators() {
896
+ return !$.utils.isNull($.utils.getPointer(3, this));
897
+ }
898
+ _initDecorators(length) {
899
+ return $.utils.initList(3, _SerializedTypeMethod._Decorators, length, this);
900
+ }
901
+ set decorators(value) {
902
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
903
+ }
904
+ get visibility() {
905
+ return $.utils.getUint16(0, this);
906
+ }
907
+ set visibility(value) {
908
+ $.utils.setUint16(0, value, this);
909
+ }
910
+ get abstract() {
911
+ return $.utils.getBit(16, this);
912
+ }
913
+ set abstract(value) {
914
+ $.utils.setBit(16, value, this);
915
+ }
916
+ get optional() {
917
+ return $.utils.getBit(17, this);
918
+ }
919
+ set optional(value) {
920
+ $.utils.setBit(17, value, this);
921
+ }
922
+ get readonly() {
923
+ return $.utils.getBit(18, this);
924
+ }
925
+ set readonly(value) {
926
+ $.utils.setBit(18, value, this);
927
+ }
928
+ _adoptTags(value) {
929
+ $.utils.adopt(value, $.utils.getPointer(4, this));
930
+ }
931
+ _disownTags() {
932
+ return $.utils.disown(this.tags);
933
+ }
934
+ get tags() {
935
+ return $.utils.getStruct(4, TagsReflection, this);
936
+ }
937
+ _hasTags() {
938
+ return !$.utils.isNull($.utils.getPointer(4, this));
939
+ }
940
+ _initTags() {
941
+ return $.utils.initStructAt(4, TagsReflection, this);
942
+ }
943
+ set tags(value) {
944
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
945
+ }
946
+ get kind() {
947
+ return $.utils.getUint16(4, this);
948
+ }
949
+ set kind(value) {
950
+ $.utils.setUint16(4, value, this);
951
+ }
952
+ get name() {
953
+ return $.utils.getText(5, this);
954
+ }
955
+ set name(value) {
956
+ $.utils.setText(5, value, this);
957
+ }
958
+ _adoptParameters(value) {
959
+ $.utils.adopt(value, $.utils.getPointer(6, this));
960
+ }
961
+ _disownParameters() {
962
+ return $.utils.disown(this.parameters);
963
+ }
964
+ get parameters() {
965
+ return $.utils.getList(6, _SerializedTypeMethod._Parameters, this);
966
+ }
967
+ _hasParameters() {
968
+ return !$.utils.isNull($.utils.getPointer(6, this));
969
+ }
970
+ _initParameters(length) {
971
+ return $.utils.initList(6, _SerializedTypeMethod._Parameters, length, this);
972
+ }
973
+ set parameters(value) {
974
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
975
+ }
976
+ _adoptReturn(value) {
977
+ $.utils.adopt(value, $.utils.getPointer(7, this));
978
+ }
979
+ _disownReturn() {
980
+ return $.utils.disown(this.return);
981
+ }
982
+ get return() {
983
+ return $.utils.getStruct(7, SerializedTypeReference, this);
984
+ }
985
+ _hasReturn() {
986
+ return !$.utils.isNull($.utils.getPointer(7, this));
987
+ }
988
+ _initReturn() {
989
+ return $.utils.initStructAt(7, SerializedTypeReference, this);
990
+ }
991
+ set return(value) {
992
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
993
+ }
994
+ toString() {
995
+ return "SerializedTypeMethod_" + super.toString();
996
+ }
997
+ };
998
+ var SerializedTypeProperty = class _SerializedTypeProperty extends $.Struct {
999
+ static {
1000
+ __name(this, "SerializedTypeProperty");
1001
+ }
1002
+ static _capnp = {
1003
+ displayName: "SerializedTypeProperty",
1004
+ id: "91d9dbea2037f78b",
1005
+ size: new $.ObjectSize(8, 9)
1006
+ };
1007
+ static _TypeArguments;
1008
+ static _Decorators;
1009
+ get typeName() {
1010
+ return $.utils.getText(0, this);
1011
+ }
1012
+ set typeName(value) {
1013
+ $.utils.setText(0, value, this);
1014
+ }
1015
+ _adoptTypeArguments(value) {
1016
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1017
+ }
1018
+ _disownTypeArguments() {
1019
+ return $.utils.disown(this.typeArguments);
1020
+ }
1021
+ get typeArguments() {
1022
+ return $.utils.getList(1, _SerializedTypeProperty._TypeArguments, this);
1023
+ }
1024
+ _hasTypeArguments() {
1025
+ return !$.utils.isNull($.utils.getPointer(1, this));
1026
+ }
1027
+ _initTypeArguments(length) {
1028
+ return $.utils.initList(1, _SerializedTypeProperty._TypeArguments, length, this);
1029
+ }
1030
+ set typeArguments(value) {
1031
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1032
+ }
1033
+ _adoptIndexAccessOrigin(value) {
1034
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1035
+ }
1036
+ _disownIndexAccessOrigin() {
1037
+ return $.utils.disown(this.indexAccessOrigin);
1038
+ }
1039
+ get indexAccessOrigin() {
1040
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1041
+ }
1042
+ _hasIndexAccessOrigin() {
1043
+ return !$.utils.isNull($.utils.getPointer(2, this));
1044
+ }
1045
+ _initIndexAccessOrigin() {
1046
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1047
+ }
1048
+ set indexAccessOrigin(value) {
1049
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1050
+ }
1051
+ _adoptDecorators(value) {
1052
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1053
+ }
1054
+ _disownDecorators() {
1055
+ return $.utils.disown(this.decorators);
1056
+ }
1057
+ get decorators() {
1058
+ return $.utils.getList(3, _SerializedTypeProperty._Decorators, this);
1059
+ }
1060
+ _hasDecorators() {
1061
+ return !$.utils.isNull($.utils.getPointer(3, this));
1062
+ }
1063
+ _initDecorators(length) {
1064
+ return $.utils.initList(3, _SerializedTypeProperty._Decorators, length, this);
1065
+ }
1066
+ set decorators(value) {
1067
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1068
+ }
1069
+ get visibility() {
1070
+ return $.utils.getUint16(0, this);
1071
+ }
1072
+ set visibility(value) {
1073
+ $.utils.setUint16(0, value, this);
1074
+ }
1075
+ get abstract() {
1076
+ return $.utils.getBit(16, this);
1077
+ }
1078
+ set abstract(value) {
1079
+ $.utils.setBit(16, value, this);
1080
+ }
1081
+ get optional() {
1082
+ return $.utils.getBit(17, this);
1083
+ }
1084
+ set optional(value) {
1085
+ $.utils.setBit(17, value, this);
1086
+ }
1087
+ get readonly() {
1088
+ return $.utils.getBit(18, this);
1089
+ }
1090
+ set readonly(value) {
1091
+ $.utils.setBit(18, value, this);
1092
+ }
1093
+ _adoptTags(value) {
1094
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1095
+ }
1096
+ _disownTags() {
1097
+ return $.utils.disown(this.tags);
1098
+ }
1099
+ get tags() {
1100
+ return $.utils.getStruct(4, TagsReflection, this);
1101
+ }
1102
+ _hasTags() {
1103
+ return !$.utils.isNull($.utils.getPointer(4, this));
1104
+ }
1105
+ _initTags() {
1106
+ return $.utils.initStructAt(4, TagsReflection, this);
1107
+ }
1108
+ set tags(value) {
1109
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
1110
+ }
1111
+ get kind() {
1112
+ return $.utils.getUint16(4, this);
1113
+ }
1114
+ set kind(value) {
1115
+ $.utils.setUint16(4, value, this);
1116
+ }
1117
+ get name() {
1118
+ return $.utils.getText(5, this);
1119
+ }
1120
+ set name(value) {
1121
+ $.utils.setText(5, value, this);
1122
+ }
1123
+ get description() {
1124
+ return $.utils.getText(6, this);
1125
+ }
1126
+ set description(value) {
1127
+ $.utils.setText(6, value, this);
1128
+ }
1129
+ _adoptType(value) {
1130
+ $.utils.adopt(value, $.utils.getPointer(7, this));
1131
+ }
1132
+ _disownType() {
1133
+ return $.utils.disown(this.type);
1134
+ }
1135
+ get type() {
1136
+ return $.utils.getStruct(7, SerializedTypeReference, this);
1137
+ }
1138
+ _hasType() {
1139
+ return !$.utils.isNull($.utils.getPointer(7, this));
1140
+ }
1141
+ _initType() {
1142
+ return $.utils.initStructAt(7, SerializedTypeReference, this);
1143
+ }
1144
+ set type(value) {
1145
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
1146
+ }
1147
+ _adoptDefault(value) {
1148
+ $.utils.adopt(value, $.utils.getPointer(8, this));
1149
+ }
1150
+ _disownDefault() {
1151
+ return $.utils.disown(this.default);
1152
+ }
1153
+ get default() {
1154
+ return $.utils.getStruct(8, DefaultValueReflection, this);
1155
+ }
1156
+ _hasDefault() {
1157
+ return !$.utils.isNull($.utils.getPointer(8, this));
1158
+ }
1159
+ _initDefault() {
1160
+ return $.utils.initStructAt(8, DefaultValueReflection, this);
1161
+ }
1162
+ set default(value) {
1163
+ $.utils.copyFrom(value, $.utils.getPointer(8, this));
1164
+ }
1165
+ toString() {
1166
+ return "SerializedTypeProperty_" + super.toString();
1167
+ }
1168
+ };
1169
+ var SerializedTypeFunction = class _SerializedTypeFunction extends $.Struct {
1170
+ static {
1171
+ __name(this, "SerializedTypeFunction");
1172
+ }
1173
+ static _capnp = {
1174
+ displayName: "SerializedTypeFunction",
1175
+ id: "9130bccd82dfcfd4",
1176
+ size: new $.ObjectSize(8, 8)
1177
+ };
1178
+ static _TypeArguments;
1179
+ static _Decorators;
1180
+ static _Parameters;
1181
+ get typeName() {
1182
+ return $.utils.getText(0, this);
1183
+ }
1184
+ set typeName(value) {
1185
+ $.utils.setText(0, value, this);
1186
+ }
1187
+ _adoptTypeArguments(value) {
1188
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1189
+ }
1190
+ _disownTypeArguments() {
1191
+ return $.utils.disown(this.typeArguments);
1192
+ }
1193
+ get typeArguments() {
1194
+ return $.utils.getList(1, _SerializedTypeFunction._TypeArguments, this);
1195
+ }
1196
+ _hasTypeArguments() {
1197
+ return !$.utils.isNull($.utils.getPointer(1, this));
1198
+ }
1199
+ _initTypeArguments(length) {
1200
+ return $.utils.initList(1, _SerializedTypeFunction._TypeArguments, length, this);
1201
+ }
1202
+ set typeArguments(value) {
1203
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1204
+ }
1205
+ _adoptIndexAccessOrigin(value) {
1206
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1207
+ }
1208
+ _disownIndexAccessOrigin() {
1209
+ return $.utils.disown(this.indexAccessOrigin);
1210
+ }
1211
+ get indexAccessOrigin() {
1212
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1213
+ }
1214
+ _hasIndexAccessOrigin() {
1215
+ return !$.utils.isNull($.utils.getPointer(2, this));
1216
+ }
1217
+ _initIndexAccessOrigin() {
1218
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1219
+ }
1220
+ set indexAccessOrigin(value) {
1221
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1222
+ }
1223
+ _adoptDecorators(value) {
1224
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1225
+ }
1226
+ _disownDecorators() {
1227
+ return $.utils.disown(this.decorators);
1228
+ }
1229
+ get decorators() {
1230
+ return $.utils.getList(3, _SerializedTypeFunction._Decorators, this);
1231
+ }
1232
+ _hasDecorators() {
1233
+ return !$.utils.isNull($.utils.getPointer(3, this));
1234
+ }
1235
+ _initDecorators(length) {
1236
+ return $.utils.initList(3, _SerializedTypeFunction._Decorators, length, this);
1237
+ }
1238
+ set decorators(value) {
1239
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1240
+ }
1241
+ get visibility() {
1242
+ return $.utils.getUint16(0, this);
1243
+ }
1244
+ set visibility(value) {
1245
+ $.utils.setUint16(0, value, this);
1246
+ }
1247
+ get abstract() {
1248
+ return $.utils.getBit(16, this);
1249
+ }
1250
+ set abstract(value) {
1251
+ $.utils.setBit(16, value, this);
1252
+ }
1253
+ get optional() {
1254
+ return $.utils.getBit(17, this);
1255
+ }
1256
+ set optional(value) {
1257
+ $.utils.setBit(17, value, this);
1258
+ }
1259
+ get readonly() {
1260
+ return $.utils.getBit(18, this);
1261
+ }
1262
+ set readonly(value) {
1263
+ $.utils.setBit(18, value, this);
1264
+ }
1265
+ _adoptTags(value) {
1266
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1267
+ }
1268
+ _disownTags() {
1269
+ return $.utils.disown(this.tags);
1270
+ }
1271
+ get tags() {
1272
+ return $.utils.getStruct(4, TagsReflection, this);
1273
+ }
1274
+ _hasTags() {
1275
+ return !$.utils.isNull($.utils.getPointer(4, this));
1276
+ }
1277
+ _initTags() {
1278
+ return $.utils.initStructAt(4, TagsReflection, this);
1279
+ }
1280
+ set tags(value) {
1281
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
1282
+ }
1283
+ get kind() {
1284
+ return $.utils.getUint16(4, this);
1285
+ }
1286
+ set kind(value) {
1287
+ $.utils.setUint16(4, value, this);
1288
+ }
1289
+ get name() {
1290
+ return $.utils.getText(5, this);
1291
+ }
1292
+ set name(value) {
1293
+ $.utils.setText(5, value, this);
1294
+ }
1295
+ _adoptParameters(value) {
1296
+ $.utils.adopt(value, $.utils.getPointer(6, this));
1297
+ }
1298
+ _disownParameters() {
1299
+ return $.utils.disown(this.parameters);
1300
+ }
1301
+ get parameters() {
1302
+ return $.utils.getList(6, _SerializedTypeFunction._Parameters, this);
1303
+ }
1304
+ _hasParameters() {
1305
+ return !$.utils.isNull($.utils.getPointer(6, this));
1306
+ }
1307
+ _initParameters(length) {
1308
+ return $.utils.initList(6, _SerializedTypeFunction._Parameters, length, this);
1309
+ }
1310
+ set parameters(value) {
1311
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
1312
+ }
1313
+ _adoptReturn(value) {
1314
+ $.utils.adopt(value, $.utils.getPointer(7, this));
1315
+ }
1316
+ _disownReturn() {
1317
+ return $.utils.disown(this.return);
1318
+ }
1319
+ get return() {
1320
+ return $.utils.getStruct(7, SerializedTypeReference, this);
1321
+ }
1322
+ _hasReturn() {
1323
+ return !$.utils.isNull($.utils.getPointer(7, this));
1324
+ }
1325
+ _initReturn() {
1326
+ return $.utils.initStructAt(7, SerializedTypeReference, this);
1327
+ }
1328
+ set return(value) {
1329
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
1330
+ }
1331
+ toString() {
1332
+ return "SerializedTypeFunction_" + super.toString();
1333
+ }
1334
+ };
1335
+ var SerializedTypePromise = class _SerializedTypePromise extends $.Struct {
1336
+ static {
1337
+ __name(this, "SerializedTypePromise");
1338
+ }
1339
+ static _capnp = {
1340
+ displayName: "SerializedTypePromise",
1341
+ id: "e9b0cbe936a42398",
1342
+ size: new $.ObjectSize(8, 4)
1343
+ };
1344
+ static _TypeArguments;
1345
+ static _Decorators;
1346
+ get typeName() {
1347
+ return $.utils.getText(0, this);
1348
+ }
1349
+ set typeName(value) {
1350
+ $.utils.setText(0, value, this);
1351
+ }
1352
+ _adoptTypeArguments(value) {
1353
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1354
+ }
1355
+ _disownTypeArguments() {
1356
+ return $.utils.disown(this.typeArguments);
1357
+ }
1358
+ get typeArguments() {
1359
+ return $.utils.getList(1, _SerializedTypePromise._TypeArguments, this);
1360
+ }
1361
+ _hasTypeArguments() {
1362
+ return !$.utils.isNull($.utils.getPointer(1, this));
1363
+ }
1364
+ _initTypeArguments(length) {
1365
+ return $.utils.initList(1, _SerializedTypePromise._TypeArguments, length, this);
1366
+ }
1367
+ set typeArguments(value) {
1368
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1369
+ }
1370
+ _adoptIndexAccessOrigin(value) {
1371
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1372
+ }
1373
+ _disownIndexAccessOrigin() {
1374
+ return $.utils.disown(this.indexAccessOrigin);
1375
+ }
1376
+ get indexAccessOrigin() {
1377
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1378
+ }
1379
+ _hasIndexAccessOrigin() {
1380
+ return !$.utils.isNull($.utils.getPointer(2, this));
1381
+ }
1382
+ _initIndexAccessOrigin() {
1383
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1384
+ }
1385
+ set indexAccessOrigin(value) {
1386
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1387
+ }
1388
+ _adoptDecorators(value) {
1389
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1390
+ }
1391
+ _disownDecorators() {
1392
+ return $.utils.disown(this.decorators);
1393
+ }
1394
+ get decorators() {
1395
+ return $.utils.getList(3, _SerializedTypePromise._Decorators, this);
1396
+ }
1397
+ _hasDecorators() {
1398
+ return !$.utils.isNull($.utils.getPointer(3, this));
1399
+ }
1400
+ _initDecorators(length) {
1401
+ return $.utils.initList(3, _SerializedTypePromise._Decorators, length, this);
1402
+ }
1403
+ set decorators(value) {
1404
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1405
+ }
1406
+ get visibility() {
1407
+ return $.utils.getUint16(0, this);
1408
+ }
1409
+ set visibility(value) {
1410
+ $.utils.setUint16(0, value, this);
1411
+ }
1412
+ get abstract() {
1413
+ return $.utils.getBit(16, this);
1414
+ }
1415
+ set abstract(value) {
1416
+ $.utils.setBit(16, value, this);
1417
+ }
1418
+ toString() {
1419
+ return "SerializedTypePromise_" + super.toString();
1420
+ }
1421
+ };
1422
+ var SerializedTypeEnumEntry = class extends $.Struct {
1423
+ static {
1424
+ __name(this, "SerializedTypeEnumEntry");
1425
+ }
1426
+ static _capnp = {
1427
+ displayName: "SerializedTypeEnumEntry",
1428
+ id: "d5bcb8b7c49ba556",
1429
+ size: new $.ObjectSize(0, 2)
1430
+ };
1431
+ get name() {
1432
+ return $.utils.getText(0, this);
1433
+ }
1434
+ set name(value) {
1435
+ $.utils.setText(0, value, this);
1436
+ }
1437
+ get value() {
1438
+ return $.utils.getText(1, this);
1439
+ }
1440
+ set value(value) {
1441
+ $.utils.setText(1, value, this);
1442
+ }
1443
+ toString() {
1444
+ return "SerializedTypeEnumEntry_" + super.toString();
1445
+ }
1446
+ };
1447
+ var SerializedTypeEnum = class _SerializedTypeEnum extends $.Struct {
1448
+ static {
1449
+ __name(this, "SerializedTypeEnum");
1450
+ }
1451
+ static _capnp = {
1452
+ displayName: "SerializedTypeEnum",
1453
+ id: "d7d36f0ae79e3841",
1454
+ size: new $.ObjectSize(8, 8)
1455
+ };
1456
+ static _TypeArguments;
1457
+ static _Decorators;
1458
+ static _EnumEntries;
1459
+ get typeName() {
1460
+ return $.utils.getText(0, this);
1461
+ }
1462
+ set typeName(value) {
1463
+ $.utils.setText(0, value, this);
1464
+ }
1465
+ _adoptTypeArguments(value) {
1466
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1467
+ }
1468
+ _disownTypeArguments() {
1469
+ return $.utils.disown(this.typeArguments);
1470
+ }
1471
+ get typeArguments() {
1472
+ return $.utils.getList(1, _SerializedTypeEnum._TypeArguments, this);
1473
+ }
1474
+ _hasTypeArguments() {
1475
+ return !$.utils.isNull($.utils.getPointer(1, this));
1476
+ }
1477
+ _initTypeArguments(length) {
1478
+ return $.utils.initList(1, _SerializedTypeEnum._TypeArguments, length, this);
1479
+ }
1480
+ set typeArguments(value) {
1481
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1482
+ }
1483
+ _adoptIndexAccessOrigin(value) {
1484
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1485
+ }
1486
+ _disownIndexAccessOrigin() {
1487
+ return $.utils.disown(this.indexAccessOrigin);
1488
+ }
1489
+ get indexAccessOrigin() {
1490
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1491
+ }
1492
+ _hasIndexAccessOrigin() {
1493
+ return !$.utils.isNull($.utils.getPointer(2, this));
1494
+ }
1495
+ _initIndexAccessOrigin() {
1496
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1497
+ }
1498
+ set indexAccessOrigin(value) {
1499
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1500
+ }
1501
+ _adoptDecorators(value) {
1502
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1503
+ }
1504
+ _disownDecorators() {
1505
+ return $.utils.disown(this.decorators);
1506
+ }
1507
+ get decorators() {
1508
+ return $.utils.getList(3, _SerializedTypeEnum._Decorators, this);
1509
+ }
1510
+ _hasDecorators() {
1511
+ return !$.utils.isNull($.utils.getPointer(3, this));
1512
+ }
1513
+ _initDecorators(length) {
1514
+ return $.utils.initList(3, _SerializedTypeEnum._Decorators, length, this);
1515
+ }
1516
+ set decorators(value) {
1517
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1518
+ }
1519
+ get kind() {
1520
+ return $.utils.getUint16(0, this);
1521
+ }
1522
+ set kind(value) {
1523
+ $.utils.setUint16(0, value, this);
1524
+ }
1525
+ _adoptEnumEntries(value) {
1526
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1527
+ }
1528
+ _disownEnumEntries() {
1529
+ return $.utils.disown(this.enumEntries);
1530
+ }
1531
+ get enumEntries() {
1532
+ return $.utils.getList(4, _SerializedTypeEnum._EnumEntries, this);
1533
+ }
1534
+ _hasEnumEntries() {
1535
+ return !$.utils.isNull($.utils.getPointer(4, this));
1536
+ }
1537
+ _initEnumEntries(length) {
1538
+ return $.utils.initList(4, _SerializedTypeEnum._EnumEntries, length, this);
1539
+ }
1540
+ set enumEntries(value) {
1541
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
1542
+ }
1543
+ _adoptValues(value) {
1544
+ $.utils.adopt(value, $.utils.getPointer(5, this));
1545
+ }
1546
+ _disownValues() {
1547
+ return $.utils.disown(this.values);
1548
+ }
1549
+ get values() {
1550
+ return $.utils.getList(5, $.TextList, this);
1551
+ }
1552
+ _hasValues() {
1553
+ return !$.utils.isNull($.utils.getPointer(5, this));
1554
+ }
1555
+ _initValues(length) {
1556
+ return $.utils.initList(5, $.TextList, length, this);
1557
+ }
1558
+ set values(value) {
1559
+ $.utils.copyFrom(value, $.utils.getPointer(5, this));
1560
+ }
1561
+ _adoptIndexType(value) {
1562
+ $.utils.adopt(value, $.utils.getPointer(6, this));
1563
+ }
1564
+ _disownIndexType() {
1565
+ return $.utils.disown(this.indexType);
1566
+ }
1567
+ get indexType() {
1568
+ return $.utils.getStruct(6, SerializedTypeReference, this);
1569
+ }
1570
+ _hasIndexType() {
1571
+ return !$.utils.isNull($.utils.getPointer(6, this));
1572
+ }
1573
+ _initIndexType() {
1574
+ return $.utils.initStructAt(6, SerializedTypeReference, this);
1575
+ }
1576
+ set indexType(value) {
1577
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
1578
+ }
1579
+ _adoptTags(value) {
1580
+ $.utils.adopt(value, $.utils.getPointer(7, this));
1581
+ }
1582
+ _disownTags() {
1583
+ return $.utils.disown(this.tags);
1584
+ }
1585
+ get tags() {
1586
+ return $.utils.getStruct(7, TagsReflection, this);
1587
+ }
1588
+ _hasTags() {
1589
+ return !$.utils.isNull($.utils.getPointer(7, this));
1590
+ }
1591
+ _initTags() {
1592
+ return $.utils.initStructAt(7, TagsReflection, this);
1593
+ }
1594
+ set tags(value) {
1595
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
1596
+ }
1597
+ toString() {
1598
+ return "SerializedTypeEnum_" + super.toString();
1599
+ }
1600
+ };
1601
+ var SerializedTypeUnion = class _SerializedTypeUnion extends $.Struct {
1602
+ static {
1603
+ __name(this, "SerializedTypeUnion");
1604
+ }
1605
+ static _capnp = {
1606
+ displayName: "SerializedTypeUnion",
1607
+ id: "a9ae4c95e41ff4ab",
1608
+ size: new $.ObjectSize(8, 5)
1609
+ };
1610
+ static _TypeArguments;
1611
+ static _Decorators;
1612
+ static _Types;
1613
+ get typeName() {
1614
+ return $.utils.getText(0, this);
1615
+ }
1616
+ set typeName(value) {
1617
+ $.utils.setText(0, value, this);
1618
+ }
1619
+ _adoptTypeArguments(value) {
1620
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1621
+ }
1622
+ _disownTypeArguments() {
1623
+ return $.utils.disown(this.typeArguments);
1624
+ }
1625
+ get typeArguments() {
1626
+ return $.utils.getList(1, _SerializedTypeUnion._TypeArguments, this);
1627
+ }
1628
+ _hasTypeArguments() {
1629
+ return !$.utils.isNull($.utils.getPointer(1, this));
1630
+ }
1631
+ _initTypeArguments(length) {
1632
+ return $.utils.initList(1, _SerializedTypeUnion._TypeArguments, length, this);
1633
+ }
1634
+ set typeArguments(value) {
1635
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1636
+ }
1637
+ _adoptIndexAccessOrigin(value) {
1638
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1639
+ }
1640
+ _disownIndexAccessOrigin() {
1641
+ return $.utils.disown(this.indexAccessOrigin);
1642
+ }
1643
+ get indexAccessOrigin() {
1644
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1645
+ }
1646
+ _hasIndexAccessOrigin() {
1647
+ return !$.utils.isNull($.utils.getPointer(2, this));
1648
+ }
1649
+ _initIndexAccessOrigin() {
1650
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1651
+ }
1652
+ set indexAccessOrigin(value) {
1653
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1654
+ }
1655
+ _adoptDecorators(value) {
1656
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1657
+ }
1658
+ _disownDecorators() {
1659
+ return $.utils.disown(this.decorators);
1660
+ }
1661
+ get decorators() {
1662
+ return $.utils.getList(3, _SerializedTypeUnion._Decorators, this);
1663
+ }
1664
+ _hasDecorators() {
1665
+ return !$.utils.isNull($.utils.getPointer(3, this));
1666
+ }
1667
+ _initDecorators(length) {
1668
+ return $.utils.initList(3, _SerializedTypeUnion._Decorators, length, this);
1669
+ }
1670
+ set decorators(value) {
1671
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1672
+ }
1673
+ get kind() {
1674
+ return $.utils.getUint16(0, this);
1675
+ }
1676
+ set kind(value) {
1677
+ $.utils.setUint16(0, value, this);
1678
+ }
1679
+ _adoptTypes(value) {
1680
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1681
+ }
1682
+ _disownTypes() {
1683
+ return $.utils.disown(this.types);
1684
+ }
1685
+ get types() {
1686
+ return $.utils.getList(4, _SerializedTypeUnion._Types, this);
1687
+ }
1688
+ _hasTypes() {
1689
+ return !$.utils.isNull($.utils.getPointer(4, this));
1690
+ }
1691
+ _initTypes(length) {
1692
+ return $.utils.initList(4, _SerializedTypeUnion._Types, length, this);
1693
+ }
1694
+ set types(value) {
1695
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
1696
+ }
1697
+ toString() {
1698
+ return "SerializedTypeUnion_" + super.toString();
1699
+ }
1700
+ };
1701
+ var SerializedTypeIntersection = class _SerializedTypeIntersection extends $.Struct {
1702
+ static {
1703
+ __name(this, "SerializedTypeIntersection");
1704
+ }
1705
+ static _capnp = {
1706
+ displayName: "SerializedTypeIntersection",
1707
+ id: "9ae42bd17511c09b",
1708
+ size: new $.ObjectSize(8, 5)
1709
+ };
1710
+ static _TypeArguments;
1711
+ static _Decorators;
1712
+ static _Types;
1713
+ get typeName() {
1714
+ return $.utils.getText(0, this);
1715
+ }
1716
+ set typeName(value) {
1717
+ $.utils.setText(0, value, this);
1718
+ }
1719
+ _adoptTypeArguments(value) {
1720
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1721
+ }
1722
+ _disownTypeArguments() {
1723
+ return $.utils.disown(this.typeArguments);
1724
+ }
1725
+ get typeArguments() {
1726
+ return $.utils.getList(1, _SerializedTypeIntersection._TypeArguments, this);
1727
+ }
1728
+ _hasTypeArguments() {
1729
+ return !$.utils.isNull($.utils.getPointer(1, this));
1730
+ }
1731
+ _initTypeArguments(length) {
1732
+ return $.utils.initList(1, _SerializedTypeIntersection._TypeArguments, length, this);
1733
+ }
1734
+ set typeArguments(value) {
1735
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1736
+ }
1737
+ _adoptIndexAccessOrigin(value) {
1738
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1739
+ }
1740
+ _disownIndexAccessOrigin() {
1741
+ return $.utils.disown(this.indexAccessOrigin);
1742
+ }
1743
+ get indexAccessOrigin() {
1744
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1745
+ }
1746
+ _hasIndexAccessOrigin() {
1747
+ return !$.utils.isNull($.utils.getPointer(2, this));
1748
+ }
1749
+ _initIndexAccessOrigin() {
1750
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1751
+ }
1752
+ set indexAccessOrigin(value) {
1753
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1754
+ }
1755
+ _adoptDecorators(value) {
1756
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1757
+ }
1758
+ _disownDecorators() {
1759
+ return $.utils.disown(this.decorators);
1760
+ }
1761
+ get decorators() {
1762
+ return $.utils.getList(3, _SerializedTypeIntersection._Decorators, this);
1763
+ }
1764
+ _hasDecorators() {
1765
+ return !$.utils.isNull($.utils.getPointer(3, this));
1766
+ }
1767
+ _initDecorators(length) {
1768
+ return $.utils.initList(3, _SerializedTypeIntersection._Decorators, length, this);
1769
+ }
1770
+ set decorators(value) {
1771
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1772
+ }
1773
+ get kind() {
1774
+ return $.utils.getUint16(0, this);
1775
+ }
1776
+ set kind(value) {
1777
+ $.utils.setUint16(0, value, this);
1778
+ }
1779
+ _adoptTypes(value) {
1780
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1781
+ }
1782
+ _disownTypes() {
1783
+ return $.utils.disown(this.types);
1784
+ }
1785
+ get types() {
1786
+ return $.utils.getList(4, _SerializedTypeIntersection._Types, this);
1787
+ }
1788
+ _hasTypes() {
1789
+ return !$.utils.isNull($.utils.getPointer(4, this));
1790
+ }
1791
+ _initTypes(length) {
1792
+ return $.utils.initList(4, _SerializedTypeIntersection._Types, length, this);
1793
+ }
1794
+ set types(value) {
1795
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
1796
+ }
1797
+ toString() {
1798
+ return "SerializedTypeIntersection_" + super.toString();
1799
+ }
1800
+ };
1801
+ var SerializedTypeArray = class _SerializedTypeArray extends $.Struct {
1802
+ static {
1803
+ __name(this, "SerializedTypeArray");
1804
+ }
1805
+ static _capnp = {
1806
+ displayName: "SerializedTypeArray",
1807
+ id: "97d1d75240151501",
1808
+ size: new $.ObjectSize(8, 6)
1809
+ };
1810
+ static _TypeArguments;
1811
+ static _Decorators;
1812
+ get typeName() {
1813
+ return $.utils.getText(0, this);
1814
+ }
1815
+ set typeName(value) {
1816
+ $.utils.setText(0, value, this);
1817
+ }
1818
+ _adoptTypeArguments(value) {
1819
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1820
+ }
1821
+ _disownTypeArguments() {
1822
+ return $.utils.disown(this.typeArguments);
1823
+ }
1824
+ get typeArguments() {
1825
+ return $.utils.getList(1, _SerializedTypeArray._TypeArguments, this);
1826
+ }
1827
+ _hasTypeArguments() {
1828
+ return !$.utils.isNull($.utils.getPointer(1, this));
1829
+ }
1830
+ _initTypeArguments(length) {
1831
+ return $.utils.initList(1, _SerializedTypeArray._TypeArguments, length, this);
1832
+ }
1833
+ set typeArguments(value) {
1834
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1835
+ }
1836
+ _adoptIndexAccessOrigin(value) {
1837
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1838
+ }
1839
+ _disownIndexAccessOrigin() {
1840
+ return $.utils.disown(this.indexAccessOrigin);
1841
+ }
1842
+ get indexAccessOrigin() {
1843
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1844
+ }
1845
+ _hasIndexAccessOrigin() {
1846
+ return !$.utils.isNull($.utils.getPointer(2, this));
1847
+ }
1848
+ _initIndexAccessOrigin() {
1849
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1850
+ }
1851
+ set indexAccessOrigin(value) {
1852
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1853
+ }
1854
+ _adoptDecorators(value) {
1855
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1856
+ }
1857
+ _disownDecorators() {
1858
+ return $.utils.disown(this.decorators);
1859
+ }
1860
+ get decorators() {
1861
+ return $.utils.getList(3, _SerializedTypeArray._Decorators, this);
1862
+ }
1863
+ _hasDecorators() {
1864
+ return !$.utils.isNull($.utils.getPointer(3, this));
1865
+ }
1866
+ _initDecorators(length) {
1867
+ return $.utils.initList(3, _SerializedTypeArray._Decorators, length, this);
1868
+ }
1869
+ set decorators(value) {
1870
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1871
+ }
1872
+ get kind() {
1873
+ return $.utils.getUint16(0, this);
1874
+ }
1875
+ set kind(value) {
1876
+ $.utils.setUint16(0, value, this);
1877
+ }
1878
+ _adoptType(value) {
1879
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1880
+ }
1881
+ _disownType() {
1882
+ return $.utils.disown(this.type);
1883
+ }
1884
+ get type() {
1885
+ return $.utils.getStruct(4, SerializedTypeReference, this);
1886
+ }
1887
+ _hasType() {
1888
+ return !$.utils.isNull($.utils.getPointer(4, this));
1889
+ }
1890
+ _initType() {
1891
+ return $.utils.initStructAt(4, SerializedTypeReference, this);
1892
+ }
1893
+ set type(value) {
1894
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
1895
+ }
1896
+ _adoptTags(value) {
1897
+ $.utils.adopt(value, $.utils.getPointer(5, this));
1898
+ }
1899
+ _disownTags() {
1900
+ return $.utils.disown(this.tags);
1901
+ }
1902
+ get tags() {
1903
+ return $.utils.getStruct(5, TagsReflection, this);
1904
+ }
1905
+ _hasTags() {
1906
+ return !$.utils.isNull($.utils.getPointer(5, this));
1907
+ }
1908
+ _initTags() {
1909
+ return $.utils.initStructAt(5, TagsReflection, this);
1910
+ }
1911
+ set tags(value) {
1912
+ $.utils.copyFrom(value, $.utils.getPointer(5, this));
1913
+ }
1914
+ toString() {
1915
+ return "SerializedTypeArray_" + super.toString();
1916
+ }
1917
+ };
1918
+ var SerializedTypeIndexSignature = class _SerializedTypeIndexSignature extends $.Struct {
1919
+ static {
1920
+ __name(this, "SerializedTypeIndexSignature");
1921
+ }
1922
+ static _capnp = {
1923
+ displayName: "SerializedTypeIndexSignature",
1924
+ id: "93e335e2756821d8",
1925
+ size: new $.ObjectSize(8, 6)
1926
+ };
1927
+ static _TypeArguments;
1928
+ static _Decorators;
1929
+ get typeName() {
1930
+ return $.utils.getText(0, this);
1931
+ }
1932
+ set typeName(value) {
1933
+ $.utils.setText(0, value, this);
1934
+ }
1935
+ _adoptTypeArguments(value) {
1936
+ $.utils.adopt(value, $.utils.getPointer(1, this));
1937
+ }
1938
+ _disownTypeArguments() {
1939
+ return $.utils.disown(this.typeArguments);
1940
+ }
1941
+ get typeArguments() {
1942
+ return $.utils.getList(1, _SerializedTypeIndexSignature._TypeArguments, this);
1943
+ }
1944
+ _hasTypeArguments() {
1945
+ return !$.utils.isNull($.utils.getPointer(1, this));
1946
+ }
1947
+ _initTypeArguments(length) {
1948
+ return $.utils.initList(1, _SerializedTypeIndexSignature._TypeArguments, length, this);
1949
+ }
1950
+ set typeArguments(value) {
1951
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
1952
+ }
1953
+ _adoptIndexAccessOrigin(value) {
1954
+ $.utils.adopt(value, $.utils.getPointer(2, this));
1955
+ }
1956
+ _disownIndexAccessOrigin() {
1957
+ return $.utils.disown(this.indexAccessOrigin);
1958
+ }
1959
+ get indexAccessOrigin() {
1960
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
1961
+ }
1962
+ _hasIndexAccessOrigin() {
1963
+ return !$.utils.isNull($.utils.getPointer(2, this));
1964
+ }
1965
+ _initIndexAccessOrigin() {
1966
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
1967
+ }
1968
+ set indexAccessOrigin(value) {
1969
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
1970
+ }
1971
+ _adoptDecorators(value) {
1972
+ $.utils.adopt(value, $.utils.getPointer(3, this));
1973
+ }
1974
+ _disownDecorators() {
1975
+ return $.utils.disown(this.decorators);
1976
+ }
1977
+ get decorators() {
1978
+ return $.utils.getList(3, _SerializedTypeIndexSignature._Decorators, this);
1979
+ }
1980
+ _hasDecorators() {
1981
+ return !$.utils.isNull($.utils.getPointer(3, this));
1982
+ }
1983
+ _initDecorators(length) {
1984
+ return $.utils.initList(3, _SerializedTypeIndexSignature._Decorators, length, this);
1985
+ }
1986
+ set decorators(value) {
1987
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
1988
+ }
1989
+ get kind() {
1990
+ return $.utils.getUint16(0, this);
1991
+ }
1992
+ set kind(value) {
1993
+ $.utils.setUint16(0, value, this);
1994
+ }
1995
+ _adoptIndex(value) {
1996
+ $.utils.adopt(value, $.utils.getPointer(4, this));
1997
+ }
1998
+ _disownIndex() {
1999
+ return $.utils.disown(this.index);
2000
+ }
2001
+ get index() {
2002
+ return $.utils.getStruct(4, SerializedTypeReference, this);
2003
+ }
2004
+ _hasIndex() {
2005
+ return !$.utils.isNull($.utils.getPointer(4, this));
2006
+ }
2007
+ _initIndex() {
2008
+ return $.utils.initStructAt(4, SerializedTypeReference, this);
2009
+ }
2010
+ set index(value) {
2011
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
2012
+ }
2013
+ _adoptType(value) {
2014
+ $.utils.adopt(value, $.utils.getPointer(5, this));
2015
+ }
2016
+ _disownType() {
2017
+ return $.utils.disown(this.type);
2018
+ }
2019
+ get type() {
2020
+ return $.utils.getStruct(5, SerializedTypeReference, this);
2021
+ }
2022
+ _hasType() {
2023
+ return !$.utils.isNull($.utils.getPointer(5, this));
2024
+ }
2025
+ _initType() {
2026
+ return $.utils.initStructAt(5, SerializedTypeReference, this);
2027
+ }
2028
+ set type(value) {
2029
+ $.utils.copyFrom(value, $.utils.getPointer(5, this));
2030
+ }
2031
+ toString() {
2032
+ return "SerializedTypeIndexSignature_" + super.toString();
2033
+ }
2034
+ };
2035
+ var SerializedTypePropertySignature = class _SerializedTypePropertySignature extends $.Struct {
2036
+ static {
2037
+ __name(this, "SerializedTypePropertySignature");
2038
+ }
2039
+ static _capnp = {
2040
+ displayName: "SerializedTypePropertySignature",
2041
+ id: "9bc1cebd2ca1569a",
2042
+ size: new $.ObjectSize(8, 9)
2043
+ };
2044
+ static _TypeArguments;
2045
+ static _Decorators;
2046
+ get typeName() {
2047
+ return $.utils.getText(0, this);
2048
+ }
2049
+ set typeName(value) {
2050
+ $.utils.setText(0, value, this);
2051
+ }
2052
+ _adoptTypeArguments(value) {
2053
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2054
+ }
2055
+ _disownTypeArguments() {
2056
+ return $.utils.disown(this.typeArguments);
2057
+ }
2058
+ get typeArguments() {
2059
+ return $.utils.getList(1, _SerializedTypePropertySignature._TypeArguments, this);
2060
+ }
2061
+ _hasTypeArguments() {
2062
+ return !$.utils.isNull($.utils.getPointer(1, this));
2063
+ }
2064
+ _initTypeArguments(length) {
2065
+ return $.utils.initList(1, _SerializedTypePropertySignature._TypeArguments, length, this);
2066
+ }
2067
+ set typeArguments(value) {
2068
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2069
+ }
2070
+ _adoptIndexAccessOrigin(value) {
2071
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2072
+ }
2073
+ _disownIndexAccessOrigin() {
2074
+ return $.utils.disown(this.indexAccessOrigin);
2075
+ }
2076
+ get indexAccessOrigin() {
2077
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2078
+ }
2079
+ _hasIndexAccessOrigin() {
2080
+ return !$.utils.isNull($.utils.getPointer(2, this));
2081
+ }
2082
+ _initIndexAccessOrigin() {
2083
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2084
+ }
2085
+ set indexAccessOrigin(value) {
2086
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2087
+ }
2088
+ _adoptDecorators(value) {
2089
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2090
+ }
2091
+ _disownDecorators() {
2092
+ return $.utils.disown(this.decorators);
2093
+ }
2094
+ get decorators() {
2095
+ return $.utils.getList(3, _SerializedTypePropertySignature._Decorators, this);
2096
+ }
2097
+ _hasDecorators() {
2098
+ return !$.utils.isNull($.utils.getPointer(3, this));
2099
+ }
2100
+ _initDecorators(length) {
2101
+ return $.utils.initList(3, _SerializedTypePropertySignature._Decorators, length, this);
2102
+ }
2103
+ set decorators(value) {
2104
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2105
+ }
2106
+ get kind() {
2107
+ return $.utils.getUint16(0, this);
2108
+ }
2109
+ set kind(value) {
2110
+ $.utils.setUint16(0, value, this);
2111
+ }
2112
+ get name() {
2113
+ return $.utils.getText(4, this);
2114
+ }
2115
+ set name(value) {
2116
+ $.utils.setText(4, value, this);
2117
+ }
2118
+ get optional() {
2119
+ return $.utils.getBit(16, this);
2120
+ }
2121
+ set optional(value) {
2122
+ $.utils.setBit(16, value, this);
2123
+ }
2124
+ get readonly() {
2125
+ return $.utils.getBit(17, this);
2126
+ }
2127
+ set readonly(value) {
2128
+ $.utils.setBit(17, value, this);
2129
+ }
2130
+ get description() {
2131
+ return $.utils.getText(5, this);
2132
+ }
2133
+ set description(value) {
2134
+ $.utils.setText(5, value, this);
2135
+ }
2136
+ _adoptDefault(value) {
2137
+ $.utils.adopt(value, $.utils.getPointer(6, this));
2138
+ }
2139
+ _disownDefault() {
2140
+ return $.utils.disown(this.default);
2141
+ }
2142
+ get default() {
2143
+ return $.utils.getStruct(6, DefaultValueReflection, this);
2144
+ }
2145
+ _hasDefault() {
2146
+ return !$.utils.isNull($.utils.getPointer(6, this));
2147
+ }
2148
+ _initDefault() {
2149
+ return $.utils.initStructAt(6, DefaultValueReflection, this);
2150
+ }
2151
+ set default(value) {
2152
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
2153
+ }
2154
+ _adoptType(value) {
2155
+ $.utils.adopt(value, $.utils.getPointer(7, this));
2156
+ }
2157
+ _disownType() {
2158
+ return $.utils.disown(this.type);
2159
+ }
2160
+ get type() {
2161
+ return $.utils.getStruct(7, SerializedTypeReference, this);
2162
+ }
2163
+ _hasType() {
2164
+ return !$.utils.isNull($.utils.getPointer(7, this));
2165
+ }
2166
+ _initType() {
2167
+ return $.utils.initStructAt(7, SerializedTypeReference, this);
2168
+ }
2169
+ set type(value) {
2170
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
2171
+ }
2172
+ _adoptTags(value) {
2173
+ $.utils.adopt(value, $.utils.getPointer(8, this));
2174
+ }
2175
+ _disownTags() {
2176
+ return $.utils.disown(this.tags);
2177
+ }
2178
+ get tags() {
2179
+ return $.utils.getStruct(8, TagsReflection, this);
2180
+ }
2181
+ _hasTags() {
2182
+ return !$.utils.isNull($.utils.getPointer(8, this));
2183
+ }
2184
+ _initTags() {
2185
+ return $.utils.initStructAt(8, TagsReflection, this);
2186
+ }
2187
+ set tags(value) {
2188
+ $.utils.copyFrom(value, $.utils.getPointer(8, this));
2189
+ }
2190
+ toString() {
2191
+ return "SerializedTypePropertySignature_" + super.toString();
2192
+ }
2193
+ };
2194
+ var SerializedTypeMethodSignature = class _SerializedTypeMethodSignature extends $.Struct {
2195
+ static {
2196
+ __name(this, "SerializedTypeMethodSignature");
2197
+ }
2198
+ static _capnp = {
2199
+ displayName: "SerializedTypeMethodSignature",
2200
+ id: "e25a2cc39d5930c8",
2201
+ size: new $.ObjectSize(8, 8)
2202
+ };
2203
+ static _TypeArguments;
2204
+ static _Decorators;
2205
+ static _Parameters;
2206
+ get typeName() {
2207
+ return $.utils.getText(0, this);
2208
+ }
2209
+ set typeName(value) {
2210
+ $.utils.setText(0, value, this);
2211
+ }
2212
+ _adoptTypeArguments(value) {
2213
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2214
+ }
2215
+ _disownTypeArguments() {
2216
+ return $.utils.disown(this.typeArguments);
2217
+ }
2218
+ get typeArguments() {
2219
+ return $.utils.getList(1, _SerializedTypeMethodSignature._TypeArguments, this);
2220
+ }
2221
+ _hasTypeArguments() {
2222
+ return !$.utils.isNull($.utils.getPointer(1, this));
2223
+ }
2224
+ _initTypeArguments(length) {
2225
+ return $.utils.initList(1, _SerializedTypeMethodSignature._TypeArguments, length, this);
2226
+ }
2227
+ set typeArguments(value) {
2228
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2229
+ }
2230
+ _adoptIndexAccessOrigin(value) {
2231
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2232
+ }
2233
+ _disownIndexAccessOrigin() {
2234
+ return $.utils.disown(this.indexAccessOrigin);
2235
+ }
2236
+ get indexAccessOrigin() {
2237
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2238
+ }
2239
+ _hasIndexAccessOrigin() {
2240
+ return !$.utils.isNull($.utils.getPointer(2, this));
2241
+ }
2242
+ _initIndexAccessOrigin() {
2243
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2244
+ }
2245
+ set indexAccessOrigin(value) {
2246
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2247
+ }
2248
+ _adoptDecorators(value) {
2249
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2250
+ }
2251
+ _disownDecorators() {
2252
+ return $.utils.disown(this.decorators);
2253
+ }
2254
+ get decorators() {
2255
+ return $.utils.getList(3, _SerializedTypeMethodSignature._Decorators, this);
2256
+ }
2257
+ _hasDecorators() {
2258
+ return !$.utils.isNull($.utils.getPointer(3, this));
2259
+ }
2260
+ _initDecorators(length) {
2261
+ return $.utils.initList(3, _SerializedTypeMethodSignature._Decorators, length, this);
2262
+ }
2263
+ set decorators(value) {
2264
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2265
+ }
2266
+ get kind() {
2267
+ return $.utils.getUint16(0, this);
2268
+ }
2269
+ set kind(value) {
2270
+ $.utils.setUint16(0, value, this);
2271
+ }
2272
+ get name() {
2273
+ return $.utils.getText(4, this);
2274
+ }
2275
+ set name(value) {
2276
+ $.utils.setText(4, value, this);
2277
+ }
2278
+ get optional() {
2279
+ return $.utils.getBit(16, this);
2280
+ }
2281
+ set optional(value) {
2282
+ $.utils.setBit(16, value, this);
2283
+ }
2284
+ _adoptParameters(value) {
2285
+ $.utils.adopt(value, $.utils.getPointer(5, this));
2286
+ }
2287
+ _disownParameters() {
2288
+ return $.utils.disown(this.parameters);
2289
+ }
2290
+ get parameters() {
2291
+ return $.utils.getList(5, _SerializedTypeMethodSignature._Parameters, this);
2292
+ }
2293
+ _hasParameters() {
2294
+ return !$.utils.isNull($.utils.getPointer(5, this));
2295
+ }
2296
+ _initParameters(length) {
2297
+ return $.utils.initList(5, _SerializedTypeMethodSignature._Parameters, length, this);
2298
+ }
2299
+ set parameters(value) {
2300
+ $.utils.copyFrom(value, $.utils.getPointer(5, this));
2301
+ }
2302
+ _adoptReturn(value) {
2303
+ $.utils.adopt(value, $.utils.getPointer(6, this));
2304
+ }
2305
+ _disownReturn() {
2306
+ return $.utils.disown(this.return);
2307
+ }
2308
+ get return() {
2309
+ return $.utils.getStruct(6, SerializedTypeReference, this);
2310
+ }
2311
+ _hasReturn() {
2312
+ return !$.utils.isNull($.utils.getPointer(6, this));
2313
+ }
2314
+ _initReturn() {
2315
+ return $.utils.initStructAt(6, SerializedTypeReference, this);
2316
+ }
2317
+ set return(value) {
2318
+ $.utils.copyFrom(value, $.utils.getPointer(6, this));
2319
+ }
2320
+ _adoptTags(value) {
2321
+ $.utils.adopt(value, $.utils.getPointer(7, this));
2322
+ }
2323
+ _disownTags() {
2324
+ return $.utils.disown(this.tags);
2325
+ }
2326
+ get tags() {
2327
+ return $.utils.getStruct(7, TagsReflection, this);
2328
+ }
2329
+ _hasTags() {
2330
+ return !$.utils.isNull($.utils.getPointer(7, this));
2331
+ }
2332
+ _initTags() {
2333
+ return $.utils.initStructAt(7, TagsReflection, this);
2334
+ }
2335
+ set tags(value) {
2336
+ $.utils.copyFrom(value, $.utils.getPointer(7, this));
2337
+ }
2338
+ toString() {
2339
+ return "SerializedTypeMethodSignature_" + super.toString();
2340
+ }
2341
+ };
2342
+ var SerializedTypeTypeParameter = class _SerializedTypeTypeParameter extends $.Struct {
2343
+ static {
2344
+ __name(this, "SerializedTypeTypeParameter");
2345
+ }
2346
+ static _capnp = {
2347
+ displayName: "SerializedTypeTypeParameter",
2348
+ id: "81210361a54d5d71",
2349
+ size: new $.ObjectSize(8, 5)
2350
+ };
2351
+ static _TypeArguments;
2352
+ static _Decorators;
2353
+ get typeName() {
2354
+ return $.utils.getText(0, this);
2355
+ }
2356
+ set typeName(value) {
2357
+ $.utils.setText(0, value, this);
2358
+ }
2359
+ _adoptTypeArguments(value) {
2360
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2361
+ }
2362
+ _disownTypeArguments() {
2363
+ return $.utils.disown(this.typeArguments);
2364
+ }
2365
+ get typeArguments() {
2366
+ return $.utils.getList(1, _SerializedTypeTypeParameter._TypeArguments, this);
2367
+ }
2368
+ _hasTypeArguments() {
2369
+ return !$.utils.isNull($.utils.getPointer(1, this));
2370
+ }
2371
+ _initTypeArguments(length) {
2372
+ return $.utils.initList(1, _SerializedTypeTypeParameter._TypeArguments, length, this);
2373
+ }
2374
+ set typeArguments(value) {
2375
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2376
+ }
2377
+ _adoptIndexAccessOrigin(value) {
2378
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2379
+ }
2380
+ _disownIndexAccessOrigin() {
2381
+ return $.utils.disown(this.indexAccessOrigin);
2382
+ }
2383
+ get indexAccessOrigin() {
2384
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2385
+ }
2386
+ _hasIndexAccessOrigin() {
2387
+ return !$.utils.isNull($.utils.getPointer(2, this));
2388
+ }
2389
+ _initIndexAccessOrigin() {
2390
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2391
+ }
2392
+ set indexAccessOrigin(value) {
2393
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2394
+ }
2395
+ _adoptDecorators(value) {
2396
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2397
+ }
2398
+ _disownDecorators() {
2399
+ return $.utils.disown(this.decorators);
2400
+ }
2401
+ get decorators() {
2402
+ return $.utils.getList(3, _SerializedTypeTypeParameter._Decorators, this);
2403
+ }
2404
+ _hasDecorators() {
2405
+ return !$.utils.isNull($.utils.getPointer(3, this));
2406
+ }
2407
+ _initDecorators(length) {
2408
+ return $.utils.initList(3, _SerializedTypeTypeParameter._Decorators, length, this);
2409
+ }
2410
+ set decorators(value) {
2411
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2412
+ }
2413
+ get kind() {
2414
+ return $.utils.getUint16(0, this);
2415
+ }
2416
+ set kind(value) {
2417
+ $.utils.setUint16(0, value, this);
2418
+ }
2419
+ get name() {
2420
+ return $.utils.getText(4, this);
2421
+ }
2422
+ set name(value) {
2423
+ $.utils.setText(4, value, this);
2424
+ }
2425
+ toString() {
2426
+ return "SerializedTypeTypeParameter_" + super.toString();
2427
+ }
2428
+ };
2429
+ var SerializedTypeInfer = class _SerializedTypeInfer extends $.Struct {
2430
+ static {
2431
+ __name(this, "SerializedTypeInfer");
2432
+ }
2433
+ static _capnp = {
2434
+ displayName: "SerializedTypeInfer",
2435
+ id: "91c6dd1e13f2b14d",
2436
+ size: new $.ObjectSize(8, 4)
2437
+ };
2438
+ static _TypeArguments;
2439
+ static _Decorators;
2440
+ get typeName() {
2441
+ return $.utils.getText(0, this);
2442
+ }
2443
+ set typeName(value) {
2444
+ $.utils.setText(0, value, this);
2445
+ }
2446
+ _adoptTypeArguments(value) {
2447
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2448
+ }
2449
+ _disownTypeArguments() {
2450
+ return $.utils.disown(this.typeArguments);
2451
+ }
2452
+ get typeArguments() {
2453
+ return $.utils.getList(1, _SerializedTypeInfer._TypeArguments, this);
2454
+ }
2455
+ _hasTypeArguments() {
2456
+ return !$.utils.isNull($.utils.getPointer(1, this));
2457
+ }
2458
+ _initTypeArguments(length) {
2459
+ return $.utils.initList(1, _SerializedTypeInfer._TypeArguments, length, this);
2460
+ }
2461
+ set typeArguments(value) {
2462
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2463
+ }
2464
+ _adoptIndexAccessOrigin(value) {
2465
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2466
+ }
2467
+ _disownIndexAccessOrigin() {
2468
+ return $.utils.disown(this.indexAccessOrigin);
2469
+ }
2470
+ get indexAccessOrigin() {
2471
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2472
+ }
2473
+ _hasIndexAccessOrigin() {
2474
+ return !$.utils.isNull($.utils.getPointer(2, this));
2475
+ }
2476
+ _initIndexAccessOrigin() {
2477
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2478
+ }
2479
+ set indexAccessOrigin(value) {
2480
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2481
+ }
2482
+ _adoptDecorators(value) {
2483
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2484
+ }
2485
+ _disownDecorators() {
2486
+ return $.utils.disown(this.decorators);
2487
+ }
2488
+ get decorators() {
2489
+ return $.utils.getList(3, _SerializedTypeInfer._Decorators, this);
2490
+ }
2491
+ _hasDecorators() {
2492
+ return !$.utils.isNull($.utils.getPointer(3, this));
2493
+ }
2494
+ _initDecorators(length) {
2495
+ return $.utils.initList(3, _SerializedTypeInfer._Decorators, length, this);
2496
+ }
2497
+ set decorators(value) {
2498
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2499
+ }
2500
+ get kind() {
2501
+ return $.utils.getUint16(0, this);
2502
+ }
2503
+ set kind(value) {
2504
+ $.utils.setUint16(0, value, this);
2505
+ }
2506
+ toString() {
2507
+ return "SerializedTypeInfer_" + super.toString();
2508
+ }
2509
+ };
2510
+ var SerializedTypeTupleMember = class _SerializedTypeTupleMember extends $.Struct {
2511
+ static {
2512
+ __name(this, "SerializedTypeTupleMember");
2513
+ }
2514
+ static _capnp = {
2515
+ displayName: "SerializedTypeTupleMember",
2516
+ id: "e21c2a18d0d56fdf",
2517
+ size: new $.ObjectSize(8, 6)
2518
+ };
2519
+ static _TypeArguments;
2520
+ static _Decorators;
2521
+ get typeName() {
2522
+ return $.utils.getText(0, this);
2523
+ }
2524
+ set typeName(value) {
2525
+ $.utils.setText(0, value, this);
2526
+ }
2527
+ _adoptTypeArguments(value) {
2528
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2529
+ }
2530
+ _disownTypeArguments() {
2531
+ return $.utils.disown(this.typeArguments);
2532
+ }
2533
+ get typeArguments() {
2534
+ return $.utils.getList(1, _SerializedTypeTupleMember._TypeArguments, this);
2535
+ }
2536
+ _hasTypeArguments() {
2537
+ return !$.utils.isNull($.utils.getPointer(1, this));
2538
+ }
2539
+ _initTypeArguments(length) {
2540
+ return $.utils.initList(1, _SerializedTypeTupleMember._TypeArguments, length, this);
2541
+ }
2542
+ set typeArguments(value) {
2543
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2544
+ }
2545
+ _adoptIndexAccessOrigin(value) {
2546
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2547
+ }
2548
+ _disownIndexAccessOrigin() {
2549
+ return $.utils.disown(this.indexAccessOrigin);
2550
+ }
2551
+ get indexAccessOrigin() {
2552
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2553
+ }
2554
+ _hasIndexAccessOrigin() {
2555
+ return !$.utils.isNull($.utils.getPointer(2, this));
2556
+ }
2557
+ _initIndexAccessOrigin() {
2558
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2559
+ }
2560
+ set indexAccessOrigin(value) {
2561
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2562
+ }
2563
+ _adoptDecorators(value) {
2564
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2565
+ }
2566
+ _disownDecorators() {
2567
+ return $.utils.disown(this.decorators);
2568
+ }
2569
+ get decorators() {
2570
+ return $.utils.getList(3, _SerializedTypeTupleMember._Decorators, this);
2571
+ }
2572
+ _hasDecorators() {
2573
+ return !$.utils.isNull($.utils.getPointer(3, this));
2574
+ }
2575
+ _initDecorators(length) {
2576
+ return $.utils.initList(3, _SerializedTypeTupleMember._Decorators, length, this);
2577
+ }
2578
+ set decorators(value) {
2579
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2580
+ }
2581
+ get kind() {
2582
+ return $.utils.getUint16(0, this);
2583
+ }
2584
+ set kind(value) {
2585
+ $.utils.setUint16(0, value, this);
2586
+ }
2587
+ _adoptType(value) {
2588
+ $.utils.adopt(value, $.utils.getPointer(4, this));
2589
+ }
2590
+ _disownType() {
2591
+ return $.utils.disown(this.type);
2592
+ }
2593
+ get type() {
2594
+ return $.utils.getStruct(4, SerializedTypeReference, this);
2595
+ }
2596
+ _hasType() {
2597
+ return !$.utils.isNull($.utils.getPointer(4, this));
2598
+ }
2599
+ _initType() {
2600
+ return $.utils.initStructAt(4, SerializedTypeReference, this);
2601
+ }
2602
+ set type(value) {
2603
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
2604
+ }
2605
+ get optional() {
2606
+ return $.utils.getBit(16, this);
2607
+ }
2608
+ set optional(value) {
2609
+ $.utils.setBit(16, value, this);
2610
+ }
2611
+ get name() {
2612
+ return $.utils.getText(5, this);
2613
+ }
2614
+ set name(value) {
2615
+ $.utils.setText(5, value, this);
2616
+ }
2617
+ toString() {
2618
+ return "SerializedTypeTupleMember_" + super.toString();
2619
+ }
2620
+ };
2621
+ var SerializedTypeTuple = class _SerializedTypeTuple extends $.Struct {
2622
+ static {
2623
+ __name(this, "SerializedTypeTuple");
2624
+ }
2625
+ static _capnp = {
2626
+ displayName: "SerializedTypeTuple",
2627
+ id: "eb7501eb1ee4fb6d",
2628
+ size: new $.ObjectSize(8, 5)
2629
+ };
2630
+ static _TypeArguments;
2631
+ static _Decorators;
2632
+ static _Types;
2633
+ get typeName() {
2634
+ return $.utils.getText(0, this);
2635
+ }
2636
+ set typeName(value) {
2637
+ $.utils.setText(0, value, this);
2638
+ }
2639
+ _adoptTypeArguments(value) {
2640
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2641
+ }
2642
+ _disownTypeArguments() {
2643
+ return $.utils.disown(this.typeArguments);
2644
+ }
2645
+ get typeArguments() {
2646
+ return $.utils.getList(1, _SerializedTypeTuple._TypeArguments, this);
2647
+ }
2648
+ _hasTypeArguments() {
2649
+ return !$.utils.isNull($.utils.getPointer(1, this));
2650
+ }
2651
+ _initTypeArguments(length) {
2652
+ return $.utils.initList(1, _SerializedTypeTuple._TypeArguments, length, this);
2653
+ }
2654
+ set typeArguments(value) {
2655
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2656
+ }
2657
+ _adoptIndexAccessOrigin(value) {
2658
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2659
+ }
2660
+ _disownIndexAccessOrigin() {
2661
+ return $.utils.disown(this.indexAccessOrigin);
2662
+ }
2663
+ get indexAccessOrigin() {
2664
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2665
+ }
2666
+ _hasIndexAccessOrigin() {
2667
+ return !$.utils.isNull($.utils.getPointer(2, this));
2668
+ }
2669
+ _initIndexAccessOrigin() {
2670
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2671
+ }
2672
+ set indexAccessOrigin(value) {
2673
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2674
+ }
2675
+ _adoptDecorators(value) {
2676
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2677
+ }
2678
+ _disownDecorators() {
2679
+ return $.utils.disown(this.decorators);
2680
+ }
2681
+ get decorators() {
2682
+ return $.utils.getList(3, _SerializedTypeTuple._Decorators, this);
2683
+ }
2684
+ _hasDecorators() {
2685
+ return !$.utils.isNull($.utils.getPointer(3, this));
2686
+ }
2687
+ _initDecorators(length) {
2688
+ return $.utils.initList(3, _SerializedTypeTuple._Decorators, length, this);
2689
+ }
2690
+ set decorators(value) {
2691
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2692
+ }
2693
+ get kind() {
2694
+ return $.utils.getUint16(0, this);
2695
+ }
2696
+ set kind(value) {
2697
+ $.utils.setUint16(0, value, this);
2698
+ }
2699
+ _adoptTypes(value) {
2700
+ $.utils.adopt(value, $.utils.getPointer(4, this));
2701
+ }
2702
+ _disownTypes() {
2703
+ return $.utils.disown(this.types);
2704
+ }
2705
+ get types() {
2706
+ return $.utils.getList(4, _SerializedTypeTuple._Types, this);
2707
+ }
2708
+ _hasTypes() {
2709
+ return !$.utils.isNull($.utils.getPointer(4, this));
2710
+ }
2711
+ _initTypes(length) {
2712
+ return $.utils.initList(4, _SerializedTypeTuple._Types, length, this);
2713
+ }
2714
+ set types(value) {
2715
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
2716
+ }
2717
+ toString() {
2718
+ return "SerializedTypeTuple_" + super.toString();
2719
+ }
2720
+ };
2721
+ var SerializedTypeRest = class _SerializedTypeRest extends $.Struct {
2722
+ static {
2723
+ __name(this, "SerializedTypeRest");
2724
+ }
2725
+ static _capnp = {
2726
+ displayName: "SerializedTypeRest",
2727
+ id: "f9e684a435cce5d1",
2728
+ size: new $.ObjectSize(8, 5)
2729
+ };
2730
+ static _TypeArguments;
2731
+ static _Decorators;
2732
+ get typeName() {
2733
+ return $.utils.getText(0, this);
2734
+ }
2735
+ set typeName(value) {
2736
+ $.utils.setText(0, value, this);
2737
+ }
2738
+ _adoptTypeArguments(value) {
2739
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2740
+ }
2741
+ _disownTypeArguments() {
2742
+ return $.utils.disown(this.typeArguments);
2743
+ }
2744
+ get typeArguments() {
2745
+ return $.utils.getList(1, _SerializedTypeRest._TypeArguments, this);
2746
+ }
2747
+ _hasTypeArguments() {
2748
+ return !$.utils.isNull($.utils.getPointer(1, this));
2749
+ }
2750
+ _initTypeArguments(length) {
2751
+ return $.utils.initList(1, _SerializedTypeRest._TypeArguments, length, this);
2752
+ }
2753
+ set typeArguments(value) {
2754
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2755
+ }
2756
+ _adoptIndexAccessOrigin(value) {
2757
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2758
+ }
2759
+ _disownIndexAccessOrigin() {
2760
+ return $.utils.disown(this.indexAccessOrigin);
2761
+ }
2762
+ get indexAccessOrigin() {
2763
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2764
+ }
2765
+ _hasIndexAccessOrigin() {
2766
+ return !$.utils.isNull($.utils.getPointer(2, this));
2767
+ }
2768
+ _initIndexAccessOrigin() {
2769
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2770
+ }
2771
+ set indexAccessOrigin(value) {
2772
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2773
+ }
2774
+ _adoptDecorators(value) {
2775
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2776
+ }
2777
+ _disownDecorators() {
2778
+ return $.utils.disown(this.decorators);
2779
+ }
2780
+ get decorators() {
2781
+ return $.utils.getList(3, _SerializedTypeRest._Decorators, this);
2782
+ }
2783
+ _hasDecorators() {
2784
+ return !$.utils.isNull($.utils.getPointer(3, this));
2785
+ }
2786
+ _initDecorators(length) {
2787
+ return $.utils.initList(3, _SerializedTypeRest._Decorators, length, this);
2788
+ }
2789
+ set decorators(value) {
2790
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2791
+ }
2792
+ get kind() {
2793
+ return $.utils.getUint16(0, this);
2794
+ }
2795
+ set kind(value) {
2796
+ $.utils.setUint16(0, value, this);
2797
+ }
2798
+ _adoptType(value) {
2799
+ $.utils.adopt(value, $.utils.getPointer(4, this));
2800
+ }
2801
+ _disownType() {
2802
+ return $.utils.disown(this.type);
2803
+ }
2804
+ get type() {
2805
+ return $.utils.getStruct(4, SerializedTypeReference, this);
2806
+ }
2807
+ _hasType() {
2808
+ return !$.utils.isNull($.utils.getPointer(4, this));
2809
+ }
2810
+ _initType() {
2811
+ return $.utils.initStructAt(4, SerializedTypeReference, this);
2812
+ }
2813
+ set type(value) {
2814
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
2815
+ }
2816
+ toString() {
2817
+ return "SerializedTypeRest_" + super.toString();
2818
+ }
2819
+ };
2820
+ var SimpleSerializedType = class _SimpleSerializedType extends $.Struct {
2821
+ static {
2822
+ __name(this, "SimpleSerializedType");
2823
+ }
2824
+ static _capnp = {
2825
+ displayName: "SimpleSerializedType",
2826
+ id: "80f983e4b811c3ca",
2827
+ size: new $.ObjectSize(8, 5)
2828
+ };
2829
+ static _TypeArguments;
2830
+ static _Decorators;
2831
+ get typeName() {
2832
+ return $.utils.getText(0, this);
2833
+ }
2834
+ set typeName(value) {
2835
+ $.utils.setText(0, value, this);
2836
+ }
2837
+ _adoptTypeArguments(value) {
2838
+ $.utils.adopt(value, $.utils.getPointer(1, this));
2839
+ }
2840
+ _disownTypeArguments() {
2841
+ return $.utils.disown(this.typeArguments);
2842
+ }
2843
+ get typeArguments() {
2844
+ return $.utils.getList(1, _SimpleSerializedType._TypeArguments, this);
2845
+ }
2846
+ _hasTypeArguments() {
2847
+ return !$.utils.isNull($.utils.getPointer(1, this));
2848
+ }
2849
+ _initTypeArguments(length) {
2850
+ return $.utils.initList(1, _SimpleSerializedType._TypeArguments, length, this);
2851
+ }
2852
+ set typeArguments(value) {
2853
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
2854
+ }
2855
+ _adoptIndexAccessOrigin(value) {
2856
+ $.utils.adopt(value, $.utils.getPointer(2, this));
2857
+ }
2858
+ _disownIndexAccessOrigin() {
2859
+ return $.utils.disown(this.indexAccessOrigin);
2860
+ }
2861
+ get indexAccessOrigin() {
2862
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
2863
+ }
2864
+ _hasIndexAccessOrigin() {
2865
+ return !$.utils.isNull($.utils.getPointer(2, this));
2866
+ }
2867
+ _initIndexAccessOrigin() {
2868
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
2869
+ }
2870
+ set indexAccessOrigin(value) {
2871
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
2872
+ }
2873
+ _adoptDecorators(value) {
2874
+ $.utils.adopt(value, $.utils.getPointer(3, this));
2875
+ }
2876
+ _disownDecorators() {
2877
+ return $.utils.disown(this.decorators);
2878
+ }
2879
+ get decorators() {
2880
+ return $.utils.getList(3, _SimpleSerializedType._Decorators, this);
2881
+ }
2882
+ _hasDecorators() {
2883
+ return !$.utils.isNull($.utils.getPointer(3, this));
2884
+ }
2885
+ _initDecorators(length) {
2886
+ return $.utils.initList(3, _SimpleSerializedType._Decorators, length, this);
2887
+ }
2888
+ set decorators(value) {
2889
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
2890
+ }
2891
+ get kind() {
2892
+ return $.utils.getUint16(0, this);
2893
+ }
2894
+ set kind(value) {
2895
+ $.utils.setUint16(0, value, this);
2896
+ }
2897
+ _adoptOrigin(value) {
2898
+ $.utils.adopt(value, $.utils.getPointer(4, this));
2899
+ }
2900
+ _disownOrigin() {
2901
+ return $.utils.disown(this.origin);
2902
+ }
2903
+ get origin() {
2904
+ return $.utils.getStruct(4, SerializedTypeReference, this);
2905
+ }
2906
+ _hasOrigin() {
2907
+ return !$.utils.isNull($.utils.getPointer(4, this));
2908
+ }
2909
+ _initOrigin() {
2910
+ return $.utils.initStructAt(4, SerializedTypeReference, this);
2911
+ }
2912
+ set origin(value) {
2913
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
2914
+ }
2915
+ toString() {
2916
+ return "SimpleSerializedType_" + super.toString();
2917
+ }
2918
+ };
2919
+ var SerializedTypeLiteralSymbol = class extends $.Struct {
2920
+ static {
2921
+ __name(this, "SerializedTypeLiteralSymbol");
2922
+ }
2923
+ static _capnp = {
2924
+ displayName: "SerializedTypeLiteralSymbol",
2925
+ id: "f3dd6a3c6054bd55",
2926
+ size: new $.ObjectSize(0, 2)
2927
+ };
2928
+ /**
2929
+ * "symbol"
2930
+ *
2931
+ */
2932
+ get type() {
2933
+ return $.utils.getText(0, this);
2934
+ }
2935
+ set type(value) {
2936
+ $.utils.setText(0, value, this);
2937
+ }
2938
+ get name() {
2939
+ return $.utils.getText(1, this);
2940
+ }
2941
+ set name(value) {
2942
+ $.utils.setText(1, value, this);
2943
+ }
2944
+ toString() {
2945
+ return "SerializedTypeLiteralSymbol_" + super.toString();
2946
+ }
2947
+ };
2948
+ var SerializedTypeLiteralBigInt = class extends $.Struct {
2949
+ static {
2950
+ __name(this, "SerializedTypeLiteralBigInt");
2951
+ }
2952
+ static _capnp = {
2953
+ displayName: "SerializedTypeLiteralBigInt",
2954
+ id: "821a872d8be30bb2",
2955
+ size: new $.ObjectSize(0, 2)
2956
+ };
2957
+ /**
2958
+ * "bigint"
2959
+ *
2960
+ */
2961
+ get type() {
2962
+ return $.utils.getText(0, this);
2963
+ }
2964
+ set type(value) {
2965
+ $.utils.setText(0, value, this);
2966
+ }
2967
+ get value() {
2968
+ return $.utils.getText(1, this);
2969
+ }
2970
+ set value(value) {
2971
+ $.utils.setText(1, value, this);
2972
+ }
2973
+ toString() {
2974
+ return "SerializedTypeLiteralBigInt_" + super.toString();
2975
+ }
2976
+ };
2977
+ var SerializedTypeLiteralRegex = class extends $.Struct {
2978
+ static {
2979
+ __name(this, "SerializedTypeLiteralRegex");
2980
+ }
2981
+ static _capnp = {
2982
+ displayName: "SerializedTypeLiteralRegex",
2983
+ id: "cc89f97b47927d99",
2984
+ size: new $.ObjectSize(0, 2)
2985
+ };
2986
+ /**
2987
+ * "regex"
2988
+ *
2989
+ */
2990
+ get type() {
2991
+ return $.utils.getText(0, this);
2992
+ }
2993
+ set type(value) {
2994
+ $.utils.setText(0, value, this);
2995
+ }
2996
+ get regex() {
2997
+ return $.utils.getText(1, this);
2998
+ }
2999
+ set regex(value) {
3000
+ $.utils.setText(1, value, this);
3001
+ }
3002
+ toString() {
3003
+ return "SerializedTypeLiteralRegex_" + super.toString();
3004
+ }
3005
+ };
3006
+ var SerializedTypeLiteral_Literal_Which = {
3007
+ SYMBOL: 0,
3008
+ STRING: 1,
3009
+ NUMBER: 2,
3010
+ BOOLEAN: 3,
3011
+ BIGINT: 4,
3012
+ REGEX: 5
3013
+ };
3014
+ var SerializedTypeLiteral_Literal = class extends $.Struct {
3015
+ static {
3016
+ __name(this, "SerializedTypeLiteral_Literal");
3017
+ }
3018
+ static SYMBOL = SerializedTypeLiteral_Literal_Which.SYMBOL;
3019
+ static STRING = SerializedTypeLiteral_Literal_Which.STRING;
3020
+ static NUMBER = SerializedTypeLiteral_Literal_Which.NUMBER;
3021
+ static BOOLEAN = SerializedTypeLiteral_Literal_Which.BOOLEAN;
3022
+ static BIGINT = SerializedTypeLiteral_Literal_Which.BIGINT;
3023
+ static REGEX = SerializedTypeLiteral_Literal_Which.REGEX;
3024
+ static _capnp = {
3025
+ displayName: "literal",
3026
+ id: "e4f0538973f3909f",
3027
+ size: new $.ObjectSize(16, 5)
3028
+ };
3029
+ _adoptSymbol(value) {
3030
+ $.utils.setUint16(2, 0, this);
3031
+ $.utils.adopt(value, $.utils.getPointer(4, this));
3032
+ }
3033
+ _disownSymbol() {
3034
+ return $.utils.disown(this.symbol);
3035
+ }
3036
+ get symbol() {
3037
+ $.utils.testWhich("symbol", $.utils.getUint16(2, this), 0, this);
3038
+ return $.utils.getStruct(4, SerializedTypeLiteralSymbol, this);
3039
+ }
3040
+ _hasSymbol() {
3041
+ return !$.utils.isNull($.utils.getPointer(4, this));
3042
+ }
3043
+ _initSymbol() {
3044
+ $.utils.setUint16(2, 0, this);
3045
+ return $.utils.initStructAt(4, SerializedTypeLiteralSymbol, this);
3046
+ }
3047
+ get _isSymbol() {
3048
+ return $.utils.getUint16(2, this) === 0;
3049
+ }
3050
+ set symbol(value) {
3051
+ $.utils.setUint16(2, 0, this);
3052
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
3053
+ }
3054
+ get string() {
3055
+ $.utils.testWhich("string", $.utils.getUint16(2, this), 1, this);
3056
+ return $.utils.getText(4, this);
3057
+ }
3058
+ get _isString() {
3059
+ return $.utils.getUint16(2, this) === 1;
3060
+ }
3061
+ set string(value) {
3062
+ $.utils.setUint16(2, 1, this);
3063
+ $.utils.setText(4, value, this);
3064
+ }
3065
+ get number() {
3066
+ $.utils.testWhich("number", $.utils.getUint16(2, this), 2, this);
3067
+ return $.utils.getFloat64(8, this);
3068
+ }
3069
+ get _isNumber() {
3070
+ return $.utils.getUint16(2, this) === 2;
3071
+ }
3072
+ set number(value) {
3073
+ $.utils.setUint16(2, 2, this);
3074
+ $.utils.setFloat64(8, value, this);
3075
+ }
3076
+ get boolean() {
3077
+ $.utils.testWhich("boolean", $.utils.getUint16(2, this), 3, this);
3078
+ return $.utils.getBit(64, this);
3079
+ }
3080
+ get _isBoolean() {
3081
+ return $.utils.getUint16(2, this) === 3;
3082
+ }
3083
+ set boolean(value) {
3084
+ $.utils.setUint16(2, 3, this);
3085
+ $.utils.setBit(64, value, this);
3086
+ }
3087
+ _adoptBigint(value) {
3088
+ $.utils.setUint16(2, 4, this);
3089
+ $.utils.adopt(value, $.utils.getPointer(4, this));
3090
+ }
3091
+ _disownBigint() {
3092
+ return $.utils.disown(this.bigint);
3093
+ }
3094
+ get bigint() {
3095
+ $.utils.testWhich("bigint", $.utils.getUint16(2, this), 4, this);
3096
+ return $.utils.getStruct(4, SerializedTypeLiteralBigInt, this);
3097
+ }
3098
+ _hasBigint() {
3099
+ return !$.utils.isNull($.utils.getPointer(4, this));
3100
+ }
3101
+ _initBigint() {
3102
+ $.utils.setUint16(2, 4, this);
3103
+ return $.utils.initStructAt(4, SerializedTypeLiteralBigInt, this);
3104
+ }
3105
+ get _isBigint() {
3106
+ return $.utils.getUint16(2, this) === 4;
3107
+ }
3108
+ set bigint(value) {
3109
+ $.utils.setUint16(2, 4, this);
3110
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
3111
+ }
3112
+ _adoptRegex(value) {
3113
+ $.utils.setUint16(2, 5, this);
3114
+ $.utils.adopt(value, $.utils.getPointer(4, this));
3115
+ }
3116
+ _disownRegex() {
3117
+ return $.utils.disown(this.regex);
3118
+ }
3119
+ get regex() {
3120
+ $.utils.testWhich("regex", $.utils.getUint16(2, this), 5, this);
3121
+ return $.utils.getStruct(4, SerializedTypeLiteralRegex, this);
3122
+ }
3123
+ _hasRegex() {
3124
+ return !$.utils.isNull($.utils.getPointer(4, this));
3125
+ }
3126
+ _initRegex() {
3127
+ $.utils.setUint16(2, 5, this);
3128
+ return $.utils.initStructAt(4, SerializedTypeLiteralRegex, this);
3129
+ }
3130
+ get _isRegex() {
3131
+ return $.utils.getUint16(2, this) === 5;
3132
+ }
3133
+ set regex(value) {
3134
+ $.utils.setUint16(2, 5, this);
3135
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
3136
+ }
3137
+ toString() {
3138
+ return "SerializedTypeLiteral_Literal_" + super.toString();
3139
+ }
3140
+ which() {
3141
+ return $.utils.getUint16(2, this);
3142
+ }
3143
+ };
3144
+ var SerializedTypeLiteral = class _SerializedTypeLiteral extends $.Struct {
3145
+ static {
3146
+ __name(this, "SerializedTypeLiteral");
3147
+ }
3148
+ static _capnp = {
3149
+ displayName: "SerializedTypeLiteral",
3150
+ id: "b876ba24d27d88c8",
3151
+ size: new $.ObjectSize(16, 5)
3152
+ };
3153
+ static _TypeArguments;
3154
+ static _Decorators;
3155
+ get typeName() {
3156
+ return $.utils.getText(0, this);
3157
+ }
3158
+ set typeName(value) {
3159
+ $.utils.setText(0, value, this);
3160
+ }
3161
+ _adoptTypeArguments(value) {
3162
+ $.utils.adopt(value, $.utils.getPointer(1, this));
3163
+ }
3164
+ _disownTypeArguments() {
3165
+ return $.utils.disown(this.typeArguments);
3166
+ }
3167
+ get typeArguments() {
3168
+ return $.utils.getList(1, _SerializedTypeLiteral._TypeArguments, this);
3169
+ }
3170
+ _hasTypeArguments() {
3171
+ return !$.utils.isNull($.utils.getPointer(1, this));
3172
+ }
3173
+ _initTypeArguments(length) {
3174
+ return $.utils.initList(1, _SerializedTypeLiteral._TypeArguments, length, this);
3175
+ }
3176
+ set typeArguments(value) {
3177
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
3178
+ }
3179
+ _adoptIndexAccessOrigin(value) {
3180
+ $.utils.adopt(value, $.utils.getPointer(2, this));
3181
+ }
3182
+ _disownIndexAccessOrigin() {
3183
+ return $.utils.disown(this.indexAccessOrigin);
3184
+ }
3185
+ get indexAccessOrigin() {
3186
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
3187
+ }
3188
+ _hasIndexAccessOrigin() {
3189
+ return !$.utils.isNull($.utils.getPointer(2, this));
3190
+ }
3191
+ _initIndexAccessOrigin() {
3192
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
3193
+ }
3194
+ set indexAccessOrigin(value) {
3195
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
3196
+ }
3197
+ _adoptDecorators(value) {
3198
+ $.utils.adopt(value, $.utils.getPointer(3, this));
3199
+ }
3200
+ _disownDecorators() {
3201
+ return $.utils.disown(this.decorators);
3202
+ }
3203
+ get decorators() {
3204
+ return $.utils.getList(3, _SerializedTypeLiteral._Decorators, this);
3205
+ }
3206
+ _hasDecorators() {
3207
+ return !$.utils.isNull($.utils.getPointer(3, this));
3208
+ }
3209
+ _initDecorators(length) {
3210
+ return $.utils.initList(3, _SerializedTypeLiteral._Decorators, length, this);
3211
+ }
3212
+ set decorators(value) {
3213
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
3214
+ }
3215
+ get kind() {
3216
+ return $.utils.getUint16(0, this);
3217
+ }
3218
+ set kind(value) {
3219
+ $.utils.setUint16(0, value, this);
3220
+ }
3221
+ get literal() {
3222
+ return $.utils.getAs(SerializedTypeLiteral_Literal, this);
3223
+ }
3224
+ _initLiteral() {
3225
+ return $.utils.getAs(SerializedTypeLiteral_Literal, this);
3226
+ }
3227
+ toString() {
3228
+ return "SerializedTypeLiteral_" + super.toString();
3229
+ }
3230
+ };
3231
+ var SerializedTypeTemplateLiteral = class _SerializedTypeTemplateLiteral extends $.Struct {
3232
+ static {
3233
+ __name(this, "SerializedTypeTemplateLiteral");
3234
+ }
3235
+ static _capnp = {
3236
+ displayName: "SerializedTypeTemplateLiteral",
3237
+ id: "8dd6c284d46cc265",
3238
+ size: new $.ObjectSize(8, 5)
3239
+ };
3240
+ static _TypeArguments;
3241
+ static _Decorators;
3242
+ static _Types;
3243
+ get typeName() {
3244
+ return $.utils.getText(0, this);
3245
+ }
3246
+ set typeName(value) {
3247
+ $.utils.setText(0, value, this);
3248
+ }
3249
+ _adoptTypeArguments(value) {
3250
+ $.utils.adopt(value, $.utils.getPointer(1, this));
3251
+ }
3252
+ _disownTypeArguments() {
3253
+ return $.utils.disown(this.typeArguments);
3254
+ }
3255
+ get typeArguments() {
3256
+ return $.utils.getList(1, _SerializedTypeTemplateLiteral._TypeArguments, this);
3257
+ }
3258
+ _hasTypeArguments() {
3259
+ return !$.utils.isNull($.utils.getPointer(1, this));
3260
+ }
3261
+ _initTypeArguments(length) {
3262
+ return $.utils.initList(1, _SerializedTypeTemplateLiteral._TypeArguments, length, this);
3263
+ }
3264
+ set typeArguments(value) {
3265
+ $.utils.copyFrom(value, $.utils.getPointer(1, this));
3266
+ }
3267
+ _adoptIndexAccessOrigin(value) {
3268
+ $.utils.adopt(value, $.utils.getPointer(2, this));
3269
+ }
3270
+ _disownIndexAccessOrigin() {
3271
+ return $.utils.disown(this.indexAccessOrigin);
3272
+ }
3273
+ get indexAccessOrigin() {
3274
+ return $.utils.getStruct(2, IndexAccessOrigin, this);
3275
+ }
3276
+ _hasIndexAccessOrigin() {
3277
+ return !$.utils.isNull($.utils.getPointer(2, this));
3278
+ }
3279
+ _initIndexAccessOrigin() {
3280
+ return $.utils.initStructAt(2, IndexAccessOrigin, this);
3281
+ }
3282
+ set indexAccessOrigin(value) {
3283
+ $.utils.copyFrom(value, $.utils.getPointer(2, this));
3284
+ }
3285
+ _adoptDecorators(value) {
3286
+ $.utils.adopt(value, $.utils.getPointer(3, this));
3287
+ }
3288
+ _disownDecorators() {
3289
+ return $.utils.disown(this.decorators);
3290
+ }
3291
+ get decorators() {
3292
+ return $.utils.getList(3, _SerializedTypeTemplateLiteral._Decorators, this);
3293
+ }
3294
+ _hasDecorators() {
3295
+ return !$.utils.isNull($.utils.getPointer(3, this));
3296
+ }
3297
+ _initDecorators(length) {
3298
+ return $.utils.initList(3, _SerializedTypeTemplateLiteral._Decorators, length, this);
3299
+ }
3300
+ set decorators(value) {
3301
+ $.utils.copyFrom(value, $.utils.getPointer(3, this));
3302
+ }
3303
+ get kind() {
3304
+ return $.utils.getUint16(0, this);
3305
+ }
3306
+ set kind(value) {
3307
+ $.utils.setUint16(0, value, this);
3308
+ }
3309
+ _adoptTypes(value) {
3310
+ $.utils.adopt(value, $.utils.getPointer(4, this));
3311
+ }
3312
+ _disownTypes() {
3313
+ return $.utils.disown(this.types);
3314
+ }
3315
+ get types() {
3316
+ return $.utils.getList(4, _SerializedTypeTemplateLiteral._Types, this);
3317
+ }
3318
+ _hasTypes() {
3319
+ return !$.utils.isNull($.utils.getPointer(4, this));
3320
+ }
3321
+ _initTypes(length) {
3322
+ return $.utils.initList(4, _SerializedTypeTemplateLiteral._Types, length, this);
3323
+ }
3324
+ set types(value) {
3325
+ $.utils.copyFrom(value, $.utils.getPointer(4, this));
3326
+ }
3327
+ toString() {
3328
+ return "SerializedTypeTemplateLiteral_" + super.toString();
3329
+ }
3330
+ };
3331
+ var SerializedTypeOther = class extends $.Struct {
3332
+ static {
3333
+ __name(this, "SerializedTypeOther");
3334
+ }
3335
+ static _capnp = {
3336
+ displayName: "SerializedTypeOther",
3337
+ id: "9e1048a692ff49ce",
3338
+ size: new $.ObjectSize(8, 1)
3339
+ };
3340
+ get typeName() {
3341
+ return $.utils.getText(0, this);
3342
+ }
3343
+ set typeName(value) {
3344
+ $.utils.setText(0, value, this);
3345
+ }
3346
+ get kind() {
3347
+ return $.utils.getUint16(0, this);
3348
+ }
3349
+ set kind(value) {
3350
+ $.utils.setUint16(0, value, this);
3351
+ }
3352
+ toString() {
3353
+ return "SerializedTypeOther_" + super.toString();
3354
+ }
3355
+ };
3356
+ var SerializedType_Type_Which = {
3357
+ SIMPLE: 0,
3358
+ LITERAL: 1,
3359
+ TEMPLATE_LITERAL: 2,
3360
+ PARAMETER: 3,
3361
+ FUNCTION: 4,
3362
+ METHOD: 5,
3363
+ PROPERTY: 6,
3364
+ PROMISE: 7,
3365
+ CLASS_TYPE: 8,
3366
+ ENUM: 9,
3367
+ UNION: 10,
3368
+ INTERSECTION: 11,
3369
+ ARRAY: 12,
3370
+ OBJECT_LITERAL: 13,
3371
+ INDEX_SIGNATURE: 14,
3372
+ PROPERTY_SIGNATURE: 15,
3373
+ METHOD_SIGNATURE: 16,
3374
+ TYPE_PARAMETER: 17,
3375
+ INFER: 18,
3376
+ TUPLE: 19,
3377
+ TUPLE_MEMBER: 20,
3378
+ REST: 21,
3379
+ OTHER: 22
3380
+ };
3381
+ var SerializedType_Type = class extends $.Struct {
3382
+ static {
3383
+ __name(this, "SerializedType_Type");
3384
+ }
3385
+ static SIMPLE = SerializedType_Type_Which.SIMPLE;
3386
+ static LITERAL = SerializedType_Type_Which.LITERAL;
3387
+ static TEMPLATE_LITERAL = SerializedType_Type_Which.TEMPLATE_LITERAL;
3388
+ static PARAMETER = SerializedType_Type_Which.PARAMETER;
3389
+ static FUNCTION = SerializedType_Type_Which.FUNCTION;
3390
+ static METHOD = SerializedType_Type_Which.METHOD;
3391
+ static PROPERTY = SerializedType_Type_Which.PROPERTY;
3392
+ static PROMISE = SerializedType_Type_Which.PROMISE;
3393
+ static CLASS_TYPE = SerializedType_Type_Which.CLASS_TYPE;
3394
+ static ENUM = SerializedType_Type_Which.ENUM;
3395
+ static UNION = SerializedType_Type_Which.UNION;
3396
+ static INTERSECTION = SerializedType_Type_Which.INTERSECTION;
3397
+ static ARRAY = SerializedType_Type_Which.ARRAY;
3398
+ static OBJECT_LITERAL = SerializedType_Type_Which.OBJECT_LITERAL;
3399
+ static INDEX_SIGNATURE = SerializedType_Type_Which.INDEX_SIGNATURE;
3400
+ static PROPERTY_SIGNATURE = SerializedType_Type_Which.PROPERTY_SIGNATURE;
3401
+ static METHOD_SIGNATURE = SerializedType_Type_Which.METHOD_SIGNATURE;
3402
+ static TYPE_PARAMETER = SerializedType_Type_Which.TYPE_PARAMETER;
3403
+ static INFER = SerializedType_Type_Which.INFER;
3404
+ static TUPLE = SerializedType_Type_Which.TUPLE;
3405
+ static TUPLE_MEMBER = SerializedType_Type_Which.TUPLE_MEMBER;
3406
+ static REST = SerializedType_Type_Which.REST;
3407
+ static OTHER = SerializedType_Type_Which.OTHER;
3408
+ static _capnp = {
3409
+ displayName: "type",
3410
+ id: "c677d7ed4a496eab",
3411
+ size: new $.ObjectSize(8, 1)
3412
+ };
3413
+ _adoptSimple(value) {
3414
+ $.utils.setUint16(0, 0, this);
3415
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3416
+ }
3417
+ _disownSimple() {
3418
+ return $.utils.disown(this.simple);
3419
+ }
3420
+ get simple() {
3421
+ $.utils.testWhich("simple", $.utils.getUint16(0, this), 0, this);
3422
+ return $.utils.getStruct(0, SimpleSerializedType, this);
3423
+ }
3424
+ _hasSimple() {
3425
+ return !$.utils.isNull($.utils.getPointer(0, this));
3426
+ }
3427
+ _initSimple() {
3428
+ $.utils.setUint16(0, 0, this);
3429
+ return $.utils.initStructAt(0, SimpleSerializedType, this);
3430
+ }
3431
+ get _isSimple() {
3432
+ return $.utils.getUint16(0, this) === 0;
3433
+ }
3434
+ set simple(value) {
3435
+ $.utils.setUint16(0, 0, this);
3436
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3437
+ }
3438
+ _adoptLiteral(value) {
3439
+ $.utils.setUint16(0, 1, this);
3440
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3441
+ }
3442
+ _disownLiteral() {
3443
+ return $.utils.disown(this.literal);
3444
+ }
3445
+ get literal() {
3446
+ $.utils.testWhich("literal", $.utils.getUint16(0, this), 1, this);
3447
+ return $.utils.getStruct(0, SerializedTypeLiteral, this);
3448
+ }
3449
+ _hasLiteral() {
3450
+ return !$.utils.isNull($.utils.getPointer(0, this));
3451
+ }
3452
+ _initLiteral() {
3453
+ $.utils.setUint16(0, 1, this);
3454
+ return $.utils.initStructAt(0, SerializedTypeLiteral, this);
3455
+ }
3456
+ get _isLiteral() {
3457
+ return $.utils.getUint16(0, this) === 1;
3458
+ }
3459
+ set literal(value) {
3460
+ $.utils.setUint16(0, 1, this);
3461
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3462
+ }
3463
+ _adoptTemplateLiteral(value) {
3464
+ $.utils.setUint16(0, 2, this);
3465
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3466
+ }
3467
+ _disownTemplateLiteral() {
3468
+ return $.utils.disown(this.templateLiteral);
3469
+ }
3470
+ get templateLiteral() {
3471
+ $.utils.testWhich("templateLiteral", $.utils.getUint16(0, this), 2, this);
3472
+ return $.utils.getStruct(0, SerializedTypeTemplateLiteral, this);
3473
+ }
3474
+ _hasTemplateLiteral() {
3475
+ return !$.utils.isNull($.utils.getPointer(0, this));
3476
+ }
3477
+ _initTemplateLiteral() {
3478
+ $.utils.setUint16(0, 2, this);
3479
+ return $.utils.initStructAt(0, SerializedTypeTemplateLiteral, this);
3480
+ }
3481
+ get _isTemplateLiteral() {
3482
+ return $.utils.getUint16(0, this) === 2;
3483
+ }
3484
+ set templateLiteral(value) {
3485
+ $.utils.setUint16(0, 2, this);
3486
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3487
+ }
3488
+ _adoptParameter(value) {
3489
+ $.utils.setUint16(0, 3, this);
3490
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3491
+ }
3492
+ _disownParameter() {
3493
+ return $.utils.disown(this.parameter);
3494
+ }
3495
+ get parameter() {
3496
+ $.utils.testWhich("parameter", $.utils.getUint16(0, this), 3, this);
3497
+ return $.utils.getStruct(0, SerializedTypeParameter, this);
3498
+ }
3499
+ _hasParameter() {
3500
+ return !$.utils.isNull($.utils.getPointer(0, this));
3501
+ }
3502
+ _initParameter() {
3503
+ $.utils.setUint16(0, 3, this);
3504
+ return $.utils.initStructAt(0, SerializedTypeParameter, this);
3505
+ }
3506
+ get _isParameter() {
3507
+ return $.utils.getUint16(0, this) === 3;
3508
+ }
3509
+ set parameter(value) {
3510
+ $.utils.setUint16(0, 3, this);
3511
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3512
+ }
3513
+ _adoptFunction(value) {
3514
+ $.utils.setUint16(0, 4, this);
3515
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3516
+ }
3517
+ _disownFunction() {
3518
+ return $.utils.disown(this.function);
3519
+ }
3520
+ get function() {
3521
+ $.utils.testWhich("function", $.utils.getUint16(0, this), 4, this);
3522
+ return $.utils.getStruct(0, SerializedTypeFunction, this);
3523
+ }
3524
+ _hasFunction() {
3525
+ return !$.utils.isNull($.utils.getPointer(0, this));
3526
+ }
3527
+ _initFunction() {
3528
+ $.utils.setUint16(0, 4, this);
3529
+ return $.utils.initStructAt(0, SerializedTypeFunction, this);
3530
+ }
3531
+ get _isFunction() {
3532
+ return $.utils.getUint16(0, this) === 4;
3533
+ }
3534
+ set function(value) {
3535
+ $.utils.setUint16(0, 4, this);
3536
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3537
+ }
3538
+ _adoptMethod(value) {
3539
+ $.utils.setUint16(0, 5, this);
3540
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3541
+ }
3542
+ _disownMethod() {
3543
+ return $.utils.disown(this.method);
3544
+ }
3545
+ get method() {
3546
+ $.utils.testWhich("method", $.utils.getUint16(0, this), 5, this);
3547
+ return $.utils.getStruct(0, SerializedTypeMethod, this);
3548
+ }
3549
+ _hasMethod() {
3550
+ return !$.utils.isNull($.utils.getPointer(0, this));
3551
+ }
3552
+ _initMethod() {
3553
+ $.utils.setUint16(0, 5, this);
3554
+ return $.utils.initStructAt(0, SerializedTypeMethod, this);
3555
+ }
3556
+ get _isMethod() {
3557
+ return $.utils.getUint16(0, this) === 5;
3558
+ }
3559
+ set method(value) {
3560
+ $.utils.setUint16(0, 5, this);
3561
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3562
+ }
3563
+ _adoptProperty(value) {
3564
+ $.utils.setUint16(0, 6, this);
3565
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3566
+ }
3567
+ _disownProperty() {
3568
+ return $.utils.disown(this.property);
3569
+ }
3570
+ get property() {
3571
+ $.utils.testWhich("property", $.utils.getUint16(0, this), 6, this);
3572
+ return $.utils.getStruct(0, SerializedTypeProperty, this);
3573
+ }
3574
+ _hasProperty() {
3575
+ return !$.utils.isNull($.utils.getPointer(0, this));
3576
+ }
3577
+ _initProperty() {
3578
+ $.utils.setUint16(0, 6, this);
3579
+ return $.utils.initStructAt(0, SerializedTypeProperty, this);
3580
+ }
3581
+ get _isProperty() {
3582
+ return $.utils.getUint16(0, this) === 6;
3583
+ }
3584
+ set property(value) {
3585
+ $.utils.setUint16(0, 6, this);
3586
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3587
+ }
3588
+ _adoptPromise(value) {
3589
+ $.utils.setUint16(0, 7, this);
3590
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3591
+ }
3592
+ _disownPromise() {
3593
+ return $.utils.disown(this.promise);
3594
+ }
3595
+ get promise() {
3596
+ $.utils.testWhich("promise", $.utils.getUint16(0, this), 7, this);
3597
+ return $.utils.getStruct(0, SerializedTypePromise, this);
3598
+ }
3599
+ _hasPromise() {
3600
+ return !$.utils.isNull($.utils.getPointer(0, this));
3601
+ }
3602
+ _initPromise() {
3603
+ $.utils.setUint16(0, 7, this);
3604
+ return $.utils.initStructAt(0, SerializedTypePromise, this);
3605
+ }
3606
+ get _isPromise() {
3607
+ return $.utils.getUint16(0, this) === 7;
3608
+ }
3609
+ set promise(value) {
3610
+ $.utils.setUint16(0, 7, this);
3611
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3612
+ }
3613
+ _adoptClassType(value) {
3614
+ $.utils.setUint16(0, 8, this);
3615
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3616
+ }
3617
+ _disownClassType() {
3618
+ return $.utils.disown(this.classType);
3619
+ }
3620
+ get classType() {
3621
+ $.utils.testWhich("classType", $.utils.getUint16(0, this), 8, this);
3622
+ return $.utils.getStruct(0, SerializedTypeClassType, this);
3623
+ }
3624
+ _hasClassType() {
3625
+ return !$.utils.isNull($.utils.getPointer(0, this));
3626
+ }
3627
+ _initClassType() {
3628
+ $.utils.setUint16(0, 8, this);
3629
+ return $.utils.initStructAt(0, SerializedTypeClassType, this);
3630
+ }
3631
+ get _isClassType() {
3632
+ return $.utils.getUint16(0, this) === 8;
3633
+ }
3634
+ set classType(value) {
3635
+ $.utils.setUint16(0, 8, this);
3636
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3637
+ }
3638
+ _adoptEnum(value) {
3639
+ $.utils.setUint16(0, 9, this);
3640
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3641
+ }
3642
+ _disownEnum() {
3643
+ return $.utils.disown(this.enum);
3644
+ }
3645
+ get enum() {
3646
+ $.utils.testWhich("enum", $.utils.getUint16(0, this), 9, this);
3647
+ return $.utils.getStruct(0, SerializedTypeEnum, this);
3648
+ }
3649
+ _hasEnum() {
3650
+ return !$.utils.isNull($.utils.getPointer(0, this));
3651
+ }
3652
+ _initEnum() {
3653
+ $.utils.setUint16(0, 9, this);
3654
+ return $.utils.initStructAt(0, SerializedTypeEnum, this);
3655
+ }
3656
+ get _isEnum() {
3657
+ return $.utils.getUint16(0, this) === 9;
3658
+ }
3659
+ set enum(value) {
3660
+ $.utils.setUint16(0, 9, this);
3661
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3662
+ }
3663
+ _adoptUnion(value) {
3664
+ $.utils.setUint16(0, 10, this);
3665
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3666
+ }
3667
+ _disownUnion() {
3668
+ return $.utils.disown(this.union);
3669
+ }
3670
+ get union() {
3671
+ $.utils.testWhich("union", $.utils.getUint16(0, this), 10, this);
3672
+ return $.utils.getStruct(0, SerializedTypeUnion, this);
3673
+ }
3674
+ _hasUnion() {
3675
+ return !$.utils.isNull($.utils.getPointer(0, this));
3676
+ }
3677
+ _initUnion() {
3678
+ $.utils.setUint16(0, 10, this);
3679
+ return $.utils.initStructAt(0, SerializedTypeUnion, this);
3680
+ }
3681
+ get _isUnion() {
3682
+ return $.utils.getUint16(0, this) === 10;
3683
+ }
3684
+ set union(value) {
3685
+ $.utils.setUint16(0, 10, this);
3686
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3687
+ }
3688
+ _adoptIntersection(value) {
3689
+ $.utils.setUint16(0, 11, this);
3690
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3691
+ }
3692
+ _disownIntersection() {
3693
+ return $.utils.disown(this.intersection);
3694
+ }
3695
+ get intersection() {
3696
+ $.utils.testWhich("intersection", $.utils.getUint16(0, this), 11, this);
3697
+ return $.utils.getStruct(0, SerializedTypeIntersection, this);
3698
+ }
3699
+ _hasIntersection() {
3700
+ return !$.utils.isNull($.utils.getPointer(0, this));
3701
+ }
3702
+ _initIntersection() {
3703
+ $.utils.setUint16(0, 11, this);
3704
+ return $.utils.initStructAt(0, SerializedTypeIntersection, this);
3705
+ }
3706
+ get _isIntersection() {
3707
+ return $.utils.getUint16(0, this) === 11;
3708
+ }
3709
+ set intersection(value) {
3710
+ $.utils.setUint16(0, 11, this);
3711
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3712
+ }
3713
+ _adoptArray(value) {
3714
+ $.utils.setUint16(0, 12, this);
3715
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3716
+ }
3717
+ _disownArray() {
3718
+ return $.utils.disown(this.array);
3719
+ }
3720
+ get array() {
3721
+ $.utils.testWhich("array", $.utils.getUint16(0, this), 12, this);
3722
+ return $.utils.getStruct(0, SerializedTypeArray, this);
3723
+ }
3724
+ _hasArray() {
3725
+ return !$.utils.isNull($.utils.getPointer(0, this));
3726
+ }
3727
+ _initArray() {
3728
+ $.utils.setUint16(0, 12, this);
3729
+ return $.utils.initStructAt(0, SerializedTypeArray, this);
3730
+ }
3731
+ get _isArray() {
3732
+ return $.utils.getUint16(0, this) === 12;
3733
+ }
3734
+ set array(value) {
3735
+ $.utils.setUint16(0, 12, this);
3736
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3737
+ }
3738
+ _adoptObjectLiteral(value) {
3739
+ $.utils.setUint16(0, 13, this);
3740
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3741
+ }
3742
+ _disownObjectLiteral() {
3743
+ return $.utils.disown(this.objectLiteral);
3744
+ }
3745
+ get objectLiteral() {
3746
+ $.utils.testWhich("objectLiteral", $.utils.getUint16(0, this), 13, this);
3747
+ return $.utils.getStruct(0, SerializedTypeObjectLiteral, this);
3748
+ }
3749
+ _hasObjectLiteral() {
3750
+ return !$.utils.isNull($.utils.getPointer(0, this));
3751
+ }
3752
+ _initObjectLiteral() {
3753
+ $.utils.setUint16(0, 13, this);
3754
+ return $.utils.initStructAt(0, SerializedTypeObjectLiteral, this);
3755
+ }
3756
+ get _isObjectLiteral() {
3757
+ return $.utils.getUint16(0, this) === 13;
3758
+ }
3759
+ set objectLiteral(value) {
3760
+ $.utils.setUint16(0, 13, this);
3761
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3762
+ }
3763
+ _adoptIndexSignature(value) {
3764
+ $.utils.setUint16(0, 14, this);
3765
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3766
+ }
3767
+ _disownIndexSignature() {
3768
+ return $.utils.disown(this.indexSignature);
3769
+ }
3770
+ get indexSignature() {
3771
+ $.utils.testWhich("indexSignature", $.utils.getUint16(0, this), 14, this);
3772
+ return $.utils.getStruct(0, SerializedTypeIndexSignature, this);
3773
+ }
3774
+ _hasIndexSignature() {
3775
+ return !$.utils.isNull($.utils.getPointer(0, this));
3776
+ }
3777
+ _initIndexSignature() {
3778
+ $.utils.setUint16(0, 14, this);
3779
+ return $.utils.initStructAt(0, SerializedTypeIndexSignature, this);
3780
+ }
3781
+ get _isIndexSignature() {
3782
+ return $.utils.getUint16(0, this) === 14;
3783
+ }
3784
+ set indexSignature(value) {
3785
+ $.utils.setUint16(0, 14, this);
3786
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3787
+ }
3788
+ _adoptPropertySignature(value) {
3789
+ $.utils.setUint16(0, 15, this);
3790
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3791
+ }
3792
+ _disownPropertySignature() {
3793
+ return $.utils.disown(this.propertySignature);
3794
+ }
3795
+ get propertySignature() {
3796
+ $.utils.testWhich("propertySignature", $.utils.getUint16(0, this), 15, this);
3797
+ return $.utils.getStruct(0, SerializedTypePropertySignature, this);
3798
+ }
3799
+ _hasPropertySignature() {
3800
+ return !$.utils.isNull($.utils.getPointer(0, this));
3801
+ }
3802
+ _initPropertySignature() {
3803
+ $.utils.setUint16(0, 15, this);
3804
+ return $.utils.initStructAt(0, SerializedTypePropertySignature, this);
3805
+ }
3806
+ get _isPropertySignature() {
3807
+ return $.utils.getUint16(0, this) === 15;
3808
+ }
3809
+ set propertySignature(value) {
3810
+ $.utils.setUint16(0, 15, this);
3811
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3812
+ }
3813
+ _adoptMethodSignature(value) {
3814
+ $.utils.setUint16(0, 16, this);
3815
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3816
+ }
3817
+ _disownMethodSignature() {
3818
+ return $.utils.disown(this.methodSignature);
3819
+ }
3820
+ get methodSignature() {
3821
+ $.utils.testWhich("methodSignature", $.utils.getUint16(0, this), 16, this);
3822
+ return $.utils.getStruct(0, SerializedTypeMethodSignature, this);
3823
+ }
3824
+ _hasMethodSignature() {
3825
+ return !$.utils.isNull($.utils.getPointer(0, this));
3826
+ }
3827
+ _initMethodSignature() {
3828
+ $.utils.setUint16(0, 16, this);
3829
+ return $.utils.initStructAt(0, SerializedTypeMethodSignature, this);
3830
+ }
3831
+ get _isMethodSignature() {
3832
+ return $.utils.getUint16(0, this) === 16;
3833
+ }
3834
+ set methodSignature(value) {
3835
+ $.utils.setUint16(0, 16, this);
3836
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3837
+ }
3838
+ _adoptTypeParameter(value) {
3839
+ $.utils.setUint16(0, 17, this);
3840
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3841
+ }
3842
+ _disownTypeParameter() {
3843
+ return $.utils.disown(this.typeParameter);
3844
+ }
3845
+ get typeParameter() {
3846
+ $.utils.testWhich("typeParameter", $.utils.getUint16(0, this), 17, this);
3847
+ return $.utils.getStruct(0, SerializedTypeTypeParameter, this);
3848
+ }
3849
+ _hasTypeParameter() {
3850
+ return !$.utils.isNull($.utils.getPointer(0, this));
3851
+ }
3852
+ _initTypeParameter() {
3853
+ $.utils.setUint16(0, 17, this);
3854
+ return $.utils.initStructAt(0, SerializedTypeTypeParameter, this);
3855
+ }
3856
+ get _isTypeParameter() {
3857
+ return $.utils.getUint16(0, this) === 17;
3858
+ }
3859
+ set typeParameter(value) {
3860
+ $.utils.setUint16(0, 17, this);
3861
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3862
+ }
3863
+ _adoptInfer(value) {
3864
+ $.utils.setUint16(0, 18, this);
3865
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3866
+ }
3867
+ _disownInfer() {
3868
+ return $.utils.disown(this.infer);
3869
+ }
3870
+ get infer() {
3871
+ $.utils.testWhich("infer", $.utils.getUint16(0, this), 18, this);
3872
+ return $.utils.getStruct(0, SerializedTypeInfer, this);
3873
+ }
3874
+ _hasInfer() {
3875
+ return !$.utils.isNull($.utils.getPointer(0, this));
3876
+ }
3877
+ _initInfer() {
3878
+ $.utils.setUint16(0, 18, this);
3879
+ return $.utils.initStructAt(0, SerializedTypeInfer, this);
3880
+ }
3881
+ get _isInfer() {
3882
+ return $.utils.getUint16(0, this) === 18;
3883
+ }
3884
+ set infer(value) {
3885
+ $.utils.setUint16(0, 18, this);
3886
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3887
+ }
3888
+ _adoptTuple(value) {
3889
+ $.utils.setUint16(0, 19, this);
3890
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3891
+ }
3892
+ _disownTuple() {
3893
+ return $.utils.disown(this.tuple);
3894
+ }
3895
+ get tuple() {
3896
+ $.utils.testWhich("tuple", $.utils.getUint16(0, this), 19, this);
3897
+ return $.utils.getStruct(0, SerializedTypeTuple, this);
3898
+ }
3899
+ _hasTuple() {
3900
+ return !$.utils.isNull($.utils.getPointer(0, this));
3901
+ }
3902
+ _initTuple() {
3903
+ $.utils.setUint16(0, 19, this);
3904
+ return $.utils.initStructAt(0, SerializedTypeTuple, this);
3905
+ }
3906
+ get _isTuple() {
3907
+ return $.utils.getUint16(0, this) === 19;
3908
+ }
3909
+ set tuple(value) {
3910
+ $.utils.setUint16(0, 19, this);
3911
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3912
+ }
3913
+ _adoptTupleMember(value) {
3914
+ $.utils.setUint16(0, 20, this);
3915
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3916
+ }
3917
+ _disownTupleMember() {
3918
+ return $.utils.disown(this.tupleMember);
3919
+ }
3920
+ get tupleMember() {
3921
+ $.utils.testWhich("tupleMember", $.utils.getUint16(0, this), 20, this);
3922
+ return $.utils.getStruct(0, SerializedTypeTupleMember, this);
3923
+ }
3924
+ _hasTupleMember() {
3925
+ return !$.utils.isNull($.utils.getPointer(0, this));
3926
+ }
3927
+ _initTupleMember() {
3928
+ $.utils.setUint16(0, 20, this);
3929
+ return $.utils.initStructAt(0, SerializedTypeTupleMember, this);
3930
+ }
3931
+ get _isTupleMember() {
3932
+ return $.utils.getUint16(0, this) === 20;
3933
+ }
3934
+ set tupleMember(value) {
3935
+ $.utils.setUint16(0, 20, this);
3936
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3937
+ }
3938
+ _adoptRest(value) {
3939
+ $.utils.setUint16(0, 21, this);
3940
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3941
+ }
3942
+ _disownRest() {
3943
+ return $.utils.disown(this.rest);
3944
+ }
3945
+ get rest() {
3946
+ $.utils.testWhich("rest", $.utils.getUint16(0, this), 21, this);
3947
+ return $.utils.getStruct(0, SerializedTypeRest, this);
3948
+ }
3949
+ _hasRest() {
3950
+ return !$.utils.isNull($.utils.getPointer(0, this));
3951
+ }
3952
+ _initRest() {
3953
+ $.utils.setUint16(0, 21, this);
3954
+ return $.utils.initStructAt(0, SerializedTypeRest, this);
3955
+ }
3956
+ get _isRest() {
3957
+ return $.utils.getUint16(0, this) === 21;
3958
+ }
3959
+ set rest(value) {
3960
+ $.utils.setUint16(0, 21, this);
3961
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3962
+ }
3963
+ _adoptOther(value) {
3964
+ $.utils.setUint16(0, 22, this);
3965
+ $.utils.adopt(value, $.utils.getPointer(0, this));
3966
+ }
3967
+ _disownOther() {
3968
+ return $.utils.disown(this.other);
3969
+ }
3970
+ /**
3971
+ * For any other type that is not explicitly defined
3972
+ *
3973
+ */
3974
+ get other() {
3975
+ $.utils.testWhich("other", $.utils.getUint16(0, this), 22, this);
3976
+ return $.utils.getStruct(0, SerializedTypeOther, this);
3977
+ }
3978
+ _hasOther() {
3979
+ return !$.utils.isNull($.utils.getPointer(0, this));
3980
+ }
3981
+ _initOther() {
3982
+ $.utils.setUint16(0, 22, this);
3983
+ return $.utils.initStructAt(0, SerializedTypeOther, this);
3984
+ }
3985
+ get _isOther() {
3986
+ return $.utils.getUint16(0, this) === 22;
3987
+ }
3988
+ set other(value) {
3989
+ $.utils.setUint16(0, 22, this);
3990
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
3991
+ }
3992
+ toString() {
3993
+ return "SerializedType_Type_" + super.toString();
3994
+ }
3995
+ which() {
3996
+ return $.utils.getUint16(0, this);
3997
+ }
3998
+ };
3999
+ var SerializedType = class extends $.Struct {
4000
+ static {
4001
+ __name(this, "SerializedType");
4002
+ }
4003
+ static _capnp = {
4004
+ displayName: "SerializedType",
4005
+ id: "96856dcc2dd3d58f",
4006
+ size: new $.ObjectSize(8, 1)
4007
+ };
4008
+ get type() {
4009
+ return $.utils.getAs(SerializedType_Type, this);
4010
+ }
4011
+ _initType() {
4012
+ return $.utils.getAs(SerializedType_Type, this);
4013
+ }
4014
+ toString() {
4015
+ return "SerializedType_" + super.toString();
4016
+ }
4017
+ };
4018
+ var SerializedTypes = class _SerializedTypes extends $.Struct {
4019
+ static {
4020
+ __name(this, "SerializedTypes");
4021
+ }
4022
+ static _capnp = {
4023
+ displayName: "SerializedTypes",
4024
+ id: "ac55398ab0ef4958",
4025
+ size: new $.ObjectSize(0, 1)
4026
+ };
4027
+ static _Types;
4028
+ _adoptTypes(value) {
4029
+ $.utils.adopt(value, $.utils.getPointer(0, this));
4030
+ }
4031
+ _disownTypes() {
4032
+ return $.utils.disown(this.types);
4033
+ }
4034
+ get types() {
4035
+ return $.utils.getList(0, _SerializedTypes._Types, this);
4036
+ }
4037
+ _hasTypes() {
4038
+ return !$.utils.isNull($.utils.getPointer(0, this));
4039
+ }
4040
+ _initTypes(length) {
4041
+ return $.utils.initList(0, _SerializedTypes._Types, length, this);
4042
+ }
4043
+ set types(value) {
4044
+ $.utils.copyFrom(value, $.utils.getPointer(0, this));
4045
+ }
4046
+ toString() {
4047
+ return "SerializedTypes_" + super.toString();
4048
+ }
4049
+ };
4050
+ EntityOptions._Indexes = $.CompositeList(EntityOptions_EntityIndexOptions);
4051
+ SerializedTypeObjectLiteral._TypeArguments = $.CompositeList(SerializedTypeReference);
4052
+ SerializedTypeObjectLiteral._Decorators = $.CompositeList(SerializedTypeReference);
4053
+ SerializedTypeObjectLiteral._Types = $.CompositeList(SerializedTypeReference);
4054
+ SerializedTypeClassType._TypeArguments = $.CompositeList(SerializedTypeReference);
4055
+ SerializedTypeClassType._Decorators = $.CompositeList(SerializedTypeReference);
4056
+ SerializedTypeClassType._ExtendsArguments = $.CompositeList(SerializedTypeReference);
4057
+ SerializedTypeClassType._Arguments = $.CompositeList(SerializedTypeReference);
4058
+ SerializedTypeClassType._Types = $.CompositeList(SerializedTypeReference);
4059
+ SerializedTypeParameter._TypeArguments = $.CompositeList(SerializedTypeReference);
4060
+ SerializedTypeParameter._Decorators = $.CompositeList(SerializedTypeReference);
4061
+ SerializedTypeMethod._TypeArguments = $.CompositeList(SerializedTypeReference);
4062
+ SerializedTypeMethod._Decorators = $.CompositeList(SerializedTypeReference);
4063
+ SerializedTypeMethod._Parameters = $.CompositeList(SerializedTypeParameter);
4064
+ SerializedTypeProperty._TypeArguments = $.CompositeList(SerializedTypeReference);
4065
+ SerializedTypeProperty._Decorators = $.CompositeList(SerializedTypeReference);
4066
+ SerializedTypeFunction._TypeArguments = $.CompositeList(SerializedTypeReference);
4067
+ SerializedTypeFunction._Decorators = $.CompositeList(SerializedTypeReference);
4068
+ SerializedTypeFunction._Parameters = $.CompositeList(SerializedTypeParameter);
4069
+ SerializedTypePromise._TypeArguments = $.CompositeList(SerializedTypeReference);
4070
+ SerializedTypePromise._Decorators = $.CompositeList(SerializedTypeReference);
4071
+ SerializedTypeEnum._TypeArguments = $.CompositeList(SerializedTypeReference);
4072
+ SerializedTypeEnum._Decorators = $.CompositeList(SerializedTypeReference);
4073
+ SerializedTypeEnum._EnumEntries = $.CompositeList(SerializedTypeEnumEntry);
4074
+ SerializedTypeUnion._TypeArguments = $.CompositeList(SerializedTypeReference);
4075
+ SerializedTypeUnion._Decorators = $.CompositeList(SerializedTypeReference);
4076
+ SerializedTypeUnion._Types = $.CompositeList(SerializedTypeReference);
4077
+ SerializedTypeIntersection._TypeArguments = $.CompositeList(SerializedTypeReference);
4078
+ SerializedTypeIntersection._Decorators = $.CompositeList(SerializedTypeReference);
4079
+ SerializedTypeIntersection._Types = $.CompositeList(SerializedTypeReference);
4080
+ SerializedTypeArray._TypeArguments = $.CompositeList(SerializedTypeReference);
4081
+ SerializedTypeArray._Decorators = $.CompositeList(SerializedTypeReference);
4082
+ SerializedTypeIndexSignature._TypeArguments = $.CompositeList(SerializedTypeReference);
4083
+ SerializedTypeIndexSignature._Decorators = $.CompositeList(SerializedTypeReference);
4084
+ SerializedTypePropertySignature._TypeArguments = $.CompositeList(SerializedTypeReference);
4085
+ SerializedTypePropertySignature._Decorators = $.CompositeList(SerializedTypeReference);
4086
+ SerializedTypeMethodSignature._TypeArguments = $.CompositeList(SerializedTypeReference);
4087
+ SerializedTypeMethodSignature._Decorators = $.CompositeList(SerializedTypeReference);
4088
+ SerializedTypeMethodSignature._Parameters = $.CompositeList(SerializedTypeParameter);
4089
+ SerializedTypeTypeParameter._TypeArguments = $.CompositeList(SerializedTypeReference);
4090
+ SerializedTypeTypeParameter._Decorators = $.CompositeList(SerializedTypeReference);
4091
+ SerializedTypeInfer._TypeArguments = $.CompositeList(SerializedTypeReference);
4092
+ SerializedTypeInfer._Decorators = $.CompositeList(SerializedTypeReference);
4093
+ SerializedTypeTupleMember._TypeArguments = $.CompositeList(SerializedTypeReference);
4094
+ SerializedTypeTupleMember._Decorators = $.CompositeList(SerializedTypeReference);
4095
+ SerializedTypeTuple._TypeArguments = $.CompositeList(SerializedTypeReference);
4096
+ SerializedTypeTuple._Decorators = $.CompositeList(SerializedTypeReference);
4097
+ SerializedTypeTuple._Types = $.CompositeList(SerializedTypeTupleMember);
4098
+ SerializedTypeRest._TypeArguments = $.CompositeList(SerializedTypeReference);
4099
+ SerializedTypeRest._Decorators = $.CompositeList(SerializedTypeReference);
4100
+ SimpleSerializedType._TypeArguments = $.CompositeList(SerializedTypeReference);
4101
+ SimpleSerializedType._Decorators = $.CompositeList(SerializedTypeReference);
4102
+ SerializedTypeLiteral._TypeArguments = $.CompositeList(SerializedTypeReference);
4103
+ SerializedTypeLiteral._Decorators = $.CompositeList(SerializedTypeReference);
4104
+ SerializedTypeTemplateLiteral._TypeArguments = $.CompositeList(SerializedTypeReference);
4105
+ SerializedTypeTemplateLiteral._Decorators = $.CompositeList(SerializedTypeReference);
4106
+ SerializedTypeTemplateLiteral._Types = $.CompositeList(SerializedTypeReference);
4107
+ SerializedTypes._Types = $.CompositeList(SerializedType);
4108
+
4109
+ //#endregion
4110
+ export { SerializedTypes };