@powerlines/plugin-nodejs 0.1.117 → 0.1.119

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