@powerlines/plugin-nodejs 0.1.8 → 0.1.10

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