@stryke/capnp 0.12.32 → 0.12.41
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.
- package/README.md +18 -9
- package/bin/capnpc.cjs +9 -8304
- package/bin/capnpc.d.cts +4 -2
- package/bin/capnpc.d.cts.map +1 -0
- package/bin/capnpc.d.mts +8 -0
- package/bin/capnpc.d.mts.map +1 -0
- package/bin/capnpc.mjs +11 -0
- package/bin/capnpc.mjs.map +1 -0
- package/dist/compile-DN7i0G3X.d.mts +40 -0
- package/dist/compile-DN7i0G3X.d.mts.map +1 -0
- package/dist/compile-DOMgXQRn.cjs +1 -0
- package/dist/compile-DccxA7WZ.d.cts +40 -0
- package/dist/compile-DccxA7WZ.d.cts.map +1 -0
- package/dist/compile-cQ918Wl_.mjs +2 -0
- package/dist/compile-cQ918Wl_.mjs.map +1 -0
- package/dist/compile.cjs +1 -11
- package/dist/compile.d.cts +3 -39
- package/dist/compile.d.mts +3 -0
- package/dist/compile.mjs +1 -0
- package/dist/dist-BzGdCkHS.cjs +1 -0
- package/dist/dist-CvDcvswe.mjs +2 -0
- package/dist/dist-CvDcvswe.mjs.map +1 -0
- package/dist/helpers-BIiGufva.cjs +6 -0
- package/dist/helpers-BYBeqv2d.mjs +7 -0
- package/dist/helpers-BYBeqv2d.mjs.map +1 -0
- package/dist/helpers.cjs +1 -7
- package/dist/helpers.d.cts +5 -4
- package/dist/helpers.d.cts.map +1 -0
- package/dist/{helpers.d.ts → helpers.d.mts} +5 -4
- package/dist/helpers.d.mts.map +1 -0
- package/dist/helpers.mjs +1 -0
- package/dist/index.cjs +1 -134
- package/dist/index.d.cts +4 -6
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +1 -0
- package/dist/rpc.cjs +1 -139
- package/dist/rpc.d.cts +62 -59
- package/dist/rpc.d.cts.map +1 -0
- package/dist/rpc.d.mts +74 -0
- package/dist/rpc.d.mts.map +1 -0
- package/dist/rpc.mjs +2 -0
- package/dist/rpc.mjs.map +1 -0
- package/dist/types-B2gKzfwi.cjs +1 -0
- package/dist/types-D52qMMoK.d.cts +55 -0
- package/dist/types-D52qMMoK.d.cts.map +1 -0
- package/dist/types-DBd3Wi0H.d.mts +55 -0
- package/dist/types-DBd3Wi0H.d.mts.map +1 -0
- package/dist/types-y_yfxLs5.mjs +2 -0
- package/dist/types-y_yfxLs5.mjs.map +1 -0
- package/dist/types.cjs +1 -7
- package/dist/types.d.cts +2 -53
- package/dist/types.d.mts +2 -0
- package/dist/types.mjs +1 -0
- package/package.json +42 -69
- package/schemas/cpp.cjs +1 -7
- package/schemas/cpp.d.cts +3 -1
- package/schemas/cpp.d.cts.map +1 -0
- package/schemas/cpp.d.mts +5 -0
- package/schemas/cpp.d.mts.map +1 -0
- package/schemas/cpp.mjs +2 -0
- package/schemas/cpp.mjs.map +1 -0
- package/schemas/index-CDymg4xL.d.mts +96 -0
- package/schemas/index-CDymg4xL.d.mts.map +1 -0
- package/schemas/index-b7dam4EA.d.cts +96 -0
- package/schemas/index-b7dam4EA.d.cts.map +1 -0
- package/schemas/persistent.cjs +1 -171
- package/schemas/persistent.d.cts +55 -55
- package/schemas/persistent.d.cts.map +1 -0
- package/schemas/{persistent.d.ts → persistent.d.mts} +55 -55
- package/schemas/persistent.d.mts.map +1 -0
- package/schemas/persistent.mjs +2 -0
- package/schemas/persistent.mjs.map +1 -0
- package/schemas/rpc-twoparty.cjs +1 -209
- package/schemas/rpc-twoparty.d.cts +76 -74
- package/schemas/rpc-twoparty.d.cts.map +1 -0
- package/schemas/{rpc-twoparty.d.ts → rpc-twoparty.d.mts} +76 -74
- package/schemas/rpc-twoparty.d.mts.map +1 -0
- package/schemas/rpc-twoparty.mjs +2 -0
- package/schemas/rpc-twoparty.mjs.map +1 -0
- package/schemas/rpc.cjs +1 -2563
- package/schemas/rpc.d.cts +749 -747
- package/schemas/rpc.d.cts.map +1 -0
- package/schemas/{rpc.d.ts → rpc.d.mts} +749 -747
- package/schemas/rpc.d.mts.map +1 -0
- package/schemas/rpc.mjs +2 -0
- package/schemas/rpc.mjs.map +1 -0
- package/schemas/schema.cjs +1 -2718
- package/schemas/schema.d.cts +984 -982
- package/schemas/schema.d.cts.map +1 -0
- package/schemas/schema.d.mts +1456 -0
- package/schemas/schema.d.mts.map +1 -0
- package/schemas/schema.mjs +2 -0
- package/schemas/schema.mjs.map +1 -0
- package/schemas/src-CtkguuVd.mjs +7 -0
- package/schemas/src-CtkguuVd.mjs.map +1 -0
- package/schemas/src-DqnIPdOg.cjs +6 -0
- package/schemas/ts.cjs +1 -7
- package/schemas/ts.d.cts +3 -1
- package/schemas/ts.d.cts.map +1 -0
- package/schemas/ts.d.mts +5 -0
- package/schemas/ts.d.mts.map +1 -0
- package/schemas/ts.mjs +2 -0
- package/schemas/ts.mjs.map +1 -0
- package/bin/capnpc.d.ts +0 -6
- package/bin/capnpc.js +0 -8273
- package/dist/chunk-CCU32X36.js +0 -15
- package/dist/chunk-GI42NGKQ.js +0 -3305
- package/dist/chunk-H32XGT26.js +0 -4107
- package/dist/chunk-JREA5Q77.js +0 -1082
- package/dist/chunk-KMCJ5MIQ.cjs +0 -3305
- package/dist/chunk-KO6NZLWH.cjs +0 -1082
- package/dist/chunk-LFP6TIPQ.cjs +0 -4760
- package/dist/chunk-NN62B5Z3.cjs +0 -4107
- package/dist/chunk-R2JXWA7Q.cjs +0 -15
- package/dist/chunk-SHUYVCID.js +0 -6
- package/dist/chunk-USNT2KNT.cjs +0 -6
- package/dist/chunk-ZIENMW4V.js +0 -4760
- package/dist/compile.d.ts +0 -39
- package/dist/compile.js +0 -11
- package/dist/helpers.js +0 -7
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -134
- package/dist/rpc.d.ts +0 -71
- package/dist/rpc.js +0 -139
- package/dist/types.d.ts +0 -53
- package/dist/types.js +0 -7
- package/schemas/chunk-RNSYVJGA.cjs +0 -4700
- package/schemas/chunk-SHUYVCID.js +0 -6
- package/schemas/chunk-SW2MRW3B.js +0 -4700
- package/schemas/chunk-USNT2KNT.cjs +0 -6
- package/schemas/cpp.d.ts +0 -3
- package/schemas/cpp.js +0 -7
- package/schemas/persistent.js +0 -171
- package/schemas/rpc-twoparty.js +0 -209
- package/schemas/rpc.js +0 -2563
- package/schemas/schema.d.ts +0 -1454
- package/schemas/schema.js +0 -2718
- package/schemas/ts.d.ts +0 -3
- package/schemas/ts.js +0 -7
package/schemas/schema.cjs
CHANGED
|
@@ -1,2718 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32; var _class33; var _class34; var _class35;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkRNSYVJGAcjs = require('./chunk-RNSYVJGA.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
|
|
11
|
-
|
|
12
|
-
// schemas/schema.ts
|
|
13
|
-
var _capnpFileId = BigInt("0xa93fc509624c72d9");
|
|
14
|
-
var Node_Parameter = (_class = class extends _chunkRNSYVJGAcjs.Struct {
|
|
15
|
-
static {
|
|
16
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_Parameter");
|
|
17
|
-
}
|
|
18
|
-
static __initStatic() {this._capnp = {
|
|
19
|
-
displayName: "Parameter",
|
|
20
|
-
id: "b9521bccf10fa3b1",
|
|
21
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(0, 1)
|
|
22
|
-
}}
|
|
23
|
-
get name() {
|
|
24
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
25
|
-
}
|
|
26
|
-
set name(value) {
|
|
27
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
28
|
-
}
|
|
29
|
-
toString() {
|
|
30
|
-
return "Node_Parameter_" + super.toString();
|
|
31
|
-
}
|
|
32
|
-
}, _class.__initStatic(), _class);
|
|
33
|
-
var Node_NestedNode = (_class2 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
34
|
-
static {
|
|
35
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_NestedNode");
|
|
36
|
-
}
|
|
37
|
-
static __initStatic2() {this._capnp = {
|
|
38
|
-
displayName: "NestedNode",
|
|
39
|
-
id: "debf55bbfa0fc242",
|
|
40
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 1)
|
|
41
|
-
}}
|
|
42
|
-
/**
|
|
43
|
-
* Unqualified symbol name. Unlike Node.displayName, this *can* be used programmatically.
|
|
44
|
-
*
|
|
45
|
-
* (On Zooko's triangle, this is the node's petname according to its parent scope.)
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
get name() {
|
|
49
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
50
|
-
}
|
|
51
|
-
set name(value) {
|
|
52
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* ID of the nested node. Typically, the target node's scopeId points back to this node, but
|
|
56
|
-
* robust code should avoid relying on this.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
get id() {
|
|
60
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
61
|
-
}
|
|
62
|
-
set id(value) {
|
|
63
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
64
|
-
}
|
|
65
|
-
toString() {
|
|
66
|
-
return "Node_NestedNode_" + super.toString();
|
|
67
|
-
}
|
|
68
|
-
}, _class2.__initStatic2(), _class2);
|
|
69
|
-
var Node_SourceInfo_Member = (_class3 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
70
|
-
static {
|
|
71
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_SourceInfo_Member");
|
|
72
|
-
}
|
|
73
|
-
static __initStatic3() {this._capnp = {
|
|
74
|
-
displayName: "Member",
|
|
75
|
-
id: "c2ba9038898e1fa2",
|
|
76
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(0, 1)
|
|
77
|
-
}}
|
|
78
|
-
/**
|
|
79
|
-
* Doc comment on the member.
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
get docComment() {
|
|
83
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
84
|
-
}
|
|
85
|
-
set docComment(value) {
|
|
86
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
87
|
-
}
|
|
88
|
-
toString() {
|
|
89
|
-
return "Node_SourceInfo_Member_" + super.toString();
|
|
90
|
-
}
|
|
91
|
-
}, _class3.__initStatic3(), _class3);
|
|
92
|
-
var Node_SourceInfo = (_class4 = class _Node_SourceInfo extends _chunkRNSYVJGAcjs.Struct {
|
|
93
|
-
static {
|
|
94
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_SourceInfo");
|
|
95
|
-
}
|
|
96
|
-
static __initStatic4() {this.Member = Node_SourceInfo_Member}
|
|
97
|
-
static __initStatic5() {this._capnp = {
|
|
98
|
-
displayName: "SourceInfo",
|
|
99
|
-
id: "f38e1de3041357ae",
|
|
100
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 2)
|
|
101
|
-
}}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* ID of the Node which this info describes.
|
|
105
|
-
*
|
|
106
|
-
*/
|
|
107
|
-
get id() {
|
|
108
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
109
|
-
}
|
|
110
|
-
set id(value) {
|
|
111
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* The top-level doc comment for the Node.
|
|
115
|
-
*
|
|
116
|
-
*/
|
|
117
|
-
get docComment() {
|
|
118
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
119
|
-
}
|
|
120
|
-
set docComment(value) {
|
|
121
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
122
|
-
}
|
|
123
|
-
_adoptMembers(value) {
|
|
124
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
125
|
-
}
|
|
126
|
-
_disownMembers() {
|
|
127
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.members);
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Information about each member -- i.e. fields (for structs), enumerants (for enums), or
|
|
131
|
-
* methods (for interfaces).
|
|
132
|
-
*
|
|
133
|
-
* This list is the same length and order as the corresponding list in the Node, i.e.
|
|
134
|
-
* Node.struct.fields, Node.enum.enumerants, or Node.interface.methods.
|
|
135
|
-
*
|
|
136
|
-
*/
|
|
137
|
-
get members() {
|
|
138
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _Node_SourceInfo._Members, this);
|
|
139
|
-
}
|
|
140
|
-
_hasMembers() {
|
|
141
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
142
|
-
}
|
|
143
|
-
_initMembers(length) {
|
|
144
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _Node_SourceInfo._Members, length, this);
|
|
145
|
-
}
|
|
146
|
-
set members(value) {
|
|
147
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
148
|
-
}
|
|
149
|
-
toString() {
|
|
150
|
-
return "Node_SourceInfo_" + super.toString();
|
|
151
|
-
}
|
|
152
|
-
}, _class4.__initStatic4(), _class4.__initStatic5(), _class4);
|
|
153
|
-
var Node_Struct = (_class5 = class _Node_Struct extends _chunkRNSYVJGAcjs.Struct {
|
|
154
|
-
static {
|
|
155
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_Struct");
|
|
156
|
-
}
|
|
157
|
-
static __initStatic6() {this._capnp = {
|
|
158
|
-
displayName: "struct",
|
|
159
|
-
id: "9ea0b19b37fb4435",
|
|
160
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(40, 6)
|
|
161
|
-
}}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Size of the data section, in words.
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
get dataWordCount() {
|
|
168
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(14, this);
|
|
169
|
-
}
|
|
170
|
-
set dataWordCount(value) {
|
|
171
|
-
_chunkRNSYVJGAcjs.utils.setUint16(14, value, this);
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Size of the pointer section, in pointers (which are one word each).
|
|
175
|
-
*
|
|
176
|
-
*/
|
|
177
|
-
get pointerCount() {
|
|
178
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(24, this);
|
|
179
|
-
}
|
|
180
|
-
set pointerCount(value) {
|
|
181
|
-
_chunkRNSYVJGAcjs.utils.setUint16(24, value, this);
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The preferred element size to use when encoding a list of this struct. If this is anything
|
|
185
|
-
* other than `inlineComposite` then the struct is one word or less in size and is a candidate
|
|
186
|
-
* for list packing optimization.
|
|
187
|
-
*
|
|
188
|
-
*/
|
|
189
|
-
get preferredListEncoding() {
|
|
190
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(26, this);
|
|
191
|
-
}
|
|
192
|
-
set preferredListEncoding(value) {
|
|
193
|
-
_chunkRNSYVJGAcjs.utils.setUint16(26, value, this);
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* If true, then this "struct" node is actually not an independent node, but merely represents
|
|
197
|
-
* some named union or group within a particular parent struct. This node's scopeId refers
|
|
198
|
-
* to the parent struct, which may itself be a union/group in yet another struct.
|
|
199
|
-
*
|
|
200
|
-
* All group nodes share the same dataWordCount and pointerCount as the top-level
|
|
201
|
-
* struct, and their fields live in the same ordinal and offset spaces as all other fields in
|
|
202
|
-
* the struct.
|
|
203
|
-
*
|
|
204
|
-
* Note that a named union is considered a special kind of group -- in fact, a named union
|
|
205
|
-
* is exactly equivalent to a group that contains nothing but an unnamed union.
|
|
206
|
-
*
|
|
207
|
-
*/
|
|
208
|
-
get isGroup() {
|
|
209
|
-
return _chunkRNSYVJGAcjs.utils.getBit(224, this);
|
|
210
|
-
}
|
|
211
|
-
set isGroup(value) {
|
|
212
|
-
_chunkRNSYVJGAcjs.utils.setBit(224, value, this);
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Number of fields in this struct which are members of an anonymous union, and thus may
|
|
216
|
-
* overlap. If this is non-zero, then a 16-bit discriminant is present indicating which
|
|
217
|
-
* of the overlapping fields is active. This can never be 1 -- if it is non-zero, it must be
|
|
218
|
-
* two or more.
|
|
219
|
-
*
|
|
220
|
-
* Note that the fields of an unnamed union are considered fields of the scope containing the
|
|
221
|
-
* union -- an unnamed union is not its own group. So, a top-level struct may contain a
|
|
222
|
-
* non-zero discriminant count. Named unions, on the other hand, are equivalent to groups
|
|
223
|
-
* containing unnamed unions. So, a named union has its own independent schema node, with
|
|
224
|
-
* `isGroup` = true.
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
get discriminantCount() {
|
|
228
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(30, this);
|
|
229
|
-
}
|
|
230
|
-
set discriminantCount(value) {
|
|
231
|
-
_chunkRNSYVJGAcjs.utils.setUint16(30, value, this);
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* If `discriminantCount` is non-zero, this is the offset of the union discriminant, in
|
|
235
|
-
* multiples of 16 bits.
|
|
236
|
-
*
|
|
237
|
-
*/
|
|
238
|
-
get discriminantOffset() {
|
|
239
|
-
return _chunkRNSYVJGAcjs.utils.getUint32(32, this);
|
|
240
|
-
}
|
|
241
|
-
set discriminantOffset(value) {
|
|
242
|
-
_chunkRNSYVJGAcjs.utils.setUint32(32, value, this);
|
|
243
|
-
}
|
|
244
|
-
_adoptFields(value) {
|
|
245
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
246
|
-
}
|
|
247
|
-
_disownFields() {
|
|
248
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.fields);
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* Fields defined within this scope (either the struct's top-level fields, or the fields of
|
|
252
|
-
* a particular group; see `isGroup`).
|
|
253
|
-
*
|
|
254
|
-
* The fields are sorted by ordinal number, but note that because groups share the same
|
|
255
|
-
* ordinal space, the field's index in this list is not necessarily exactly its ordinal.
|
|
256
|
-
* On the other hand, the field's position in this list does remain the same even as the
|
|
257
|
-
* protocol evolves, since it is not possible to insert or remove an earlier ordinal.
|
|
258
|
-
* Therefore, for most use cases, if you want to identify a field by number, it may make the
|
|
259
|
-
* most sense to use the field's index in this list rather than its ordinal.
|
|
260
|
-
*
|
|
261
|
-
*/
|
|
262
|
-
get fields() {
|
|
263
|
-
return _chunkRNSYVJGAcjs.utils.getList(3, _Node_Struct._Fields, this);
|
|
264
|
-
}
|
|
265
|
-
_hasFields() {
|
|
266
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
267
|
-
}
|
|
268
|
-
_initFields(length) {
|
|
269
|
-
return _chunkRNSYVJGAcjs.utils.initList(3, _Node_Struct._Fields, length, this);
|
|
270
|
-
}
|
|
271
|
-
set fields(value) {
|
|
272
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
273
|
-
}
|
|
274
|
-
toString() {
|
|
275
|
-
return "Node_Struct_" + super.toString();
|
|
276
|
-
}
|
|
277
|
-
}, _class5.__initStatic6(), _class5);
|
|
278
|
-
var Node_Enum = (_class6 = class _Node_Enum extends _chunkRNSYVJGAcjs.Struct {
|
|
279
|
-
static {
|
|
280
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_Enum");
|
|
281
|
-
}
|
|
282
|
-
static __initStatic7() {this._capnp = {
|
|
283
|
-
displayName: "enum",
|
|
284
|
-
id: "b54ab3364333f598",
|
|
285
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(40, 6)
|
|
286
|
-
}}
|
|
287
|
-
|
|
288
|
-
_adoptEnumerants(value) {
|
|
289
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
290
|
-
}
|
|
291
|
-
_disownEnumerants() {
|
|
292
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.enumerants);
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Enumerants ordered by numeric value (ordinal).
|
|
296
|
-
*
|
|
297
|
-
*/
|
|
298
|
-
get enumerants() {
|
|
299
|
-
return _chunkRNSYVJGAcjs.utils.getList(3, _Node_Enum._Enumerants, this);
|
|
300
|
-
}
|
|
301
|
-
_hasEnumerants() {
|
|
302
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
303
|
-
}
|
|
304
|
-
_initEnumerants(length) {
|
|
305
|
-
return _chunkRNSYVJGAcjs.utils.initList(3, _Node_Enum._Enumerants, length, this);
|
|
306
|
-
}
|
|
307
|
-
set enumerants(value) {
|
|
308
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
309
|
-
}
|
|
310
|
-
toString() {
|
|
311
|
-
return "Node_Enum_" + super.toString();
|
|
312
|
-
}
|
|
313
|
-
}, _class6.__initStatic7(), _class6);
|
|
314
|
-
var Node_Interface = (_class7 = class _Node_Interface extends _chunkRNSYVJGAcjs.Struct {
|
|
315
|
-
static {
|
|
316
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_Interface");
|
|
317
|
-
}
|
|
318
|
-
static __initStatic8() {this._capnp = {
|
|
319
|
-
displayName: "interface",
|
|
320
|
-
id: "e82753cff0c2218f",
|
|
321
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(40, 6)
|
|
322
|
-
}}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
_adoptMethods(value) {
|
|
326
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
327
|
-
}
|
|
328
|
-
_disownMethods() {
|
|
329
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.methods);
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* Methods ordered by ordinal.
|
|
333
|
-
*
|
|
334
|
-
*/
|
|
335
|
-
get methods() {
|
|
336
|
-
return _chunkRNSYVJGAcjs.utils.getList(3, _Node_Interface._Methods, this);
|
|
337
|
-
}
|
|
338
|
-
_hasMethods() {
|
|
339
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
340
|
-
}
|
|
341
|
-
_initMethods(length) {
|
|
342
|
-
return _chunkRNSYVJGAcjs.utils.initList(3, _Node_Interface._Methods, length, this);
|
|
343
|
-
}
|
|
344
|
-
set methods(value) {
|
|
345
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
346
|
-
}
|
|
347
|
-
_adoptSuperclasses(value) {
|
|
348
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
349
|
-
}
|
|
350
|
-
_disownSuperclasses() {
|
|
351
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.superclasses);
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* Superclasses of this interface.
|
|
355
|
-
*
|
|
356
|
-
*/
|
|
357
|
-
get superclasses() {
|
|
358
|
-
return _chunkRNSYVJGAcjs.utils.getList(4, _Node_Interface._Superclasses, this);
|
|
359
|
-
}
|
|
360
|
-
_hasSuperclasses() {
|
|
361
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
362
|
-
}
|
|
363
|
-
_initSuperclasses(length) {
|
|
364
|
-
return _chunkRNSYVJGAcjs.utils.initList(4, _Node_Interface._Superclasses, length, this);
|
|
365
|
-
}
|
|
366
|
-
set superclasses(value) {
|
|
367
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
368
|
-
}
|
|
369
|
-
toString() {
|
|
370
|
-
return "Node_Interface_" + super.toString();
|
|
371
|
-
}
|
|
372
|
-
}, _class7.__initStatic8(), _class7);
|
|
373
|
-
var Node_Const = (_class8 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
374
|
-
static {
|
|
375
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_Const");
|
|
376
|
-
}
|
|
377
|
-
static __initStatic9() {this._capnp = {
|
|
378
|
-
displayName: "const",
|
|
379
|
-
id: "b18aa5ac7a0d9420",
|
|
380
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(40, 6)
|
|
381
|
-
}}
|
|
382
|
-
_adoptType(value) {
|
|
383
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
384
|
-
}
|
|
385
|
-
_disownType() {
|
|
386
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.type);
|
|
387
|
-
}
|
|
388
|
-
get type() {
|
|
389
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(3, Type, this);
|
|
390
|
-
}
|
|
391
|
-
_hasType() {
|
|
392
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
393
|
-
}
|
|
394
|
-
_initType() {
|
|
395
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(3, Type, this);
|
|
396
|
-
}
|
|
397
|
-
set type(value) {
|
|
398
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
399
|
-
}
|
|
400
|
-
_adoptValue(value) {
|
|
401
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
402
|
-
}
|
|
403
|
-
_disownValue() {
|
|
404
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.value);
|
|
405
|
-
}
|
|
406
|
-
get value() {
|
|
407
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(4, Value, this);
|
|
408
|
-
}
|
|
409
|
-
_hasValue() {
|
|
410
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
411
|
-
}
|
|
412
|
-
_initValue() {
|
|
413
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(4, Value, this);
|
|
414
|
-
}
|
|
415
|
-
set value(value) {
|
|
416
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
417
|
-
}
|
|
418
|
-
toString() {
|
|
419
|
-
return "Node_Const_" + super.toString();
|
|
420
|
-
}
|
|
421
|
-
}, _class8.__initStatic9(), _class8);
|
|
422
|
-
var Node_Annotation = (_class9 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
423
|
-
static {
|
|
424
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node_Annotation");
|
|
425
|
-
}
|
|
426
|
-
static __initStatic10() {this._capnp = {
|
|
427
|
-
displayName: "annotation",
|
|
428
|
-
id: "ec1619d4400a0290",
|
|
429
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(40, 6)
|
|
430
|
-
}}
|
|
431
|
-
_adoptType(value) {
|
|
432
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
433
|
-
}
|
|
434
|
-
_disownType() {
|
|
435
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.type);
|
|
436
|
-
}
|
|
437
|
-
get type() {
|
|
438
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(3, Type, this);
|
|
439
|
-
}
|
|
440
|
-
_hasType() {
|
|
441
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
442
|
-
}
|
|
443
|
-
_initType() {
|
|
444
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(3, Type, this);
|
|
445
|
-
}
|
|
446
|
-
set type(value) {
|
|
447
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
448
|
-
}
|
|
449
|
-
get targetsFile() {
|
|
450
|
-
return _chunkRNSYVJGAcjs.utils.getBit(112, this);
|
|
451
|
-
}
|
|
452
|
-
set targetsFile(value) {
|
|
453
|
-
_chunkRNSYVJGAcjs.utils.setBit(112, value, this);
|
|
454
|
-
}
|
|
455
|
-
get targetsConst() {
|
|
456
|
-
return _chunkRNSYVJGAcjs.utils.getBit(113, this);
|
|
457
|
-
}
|
|
458
|
-
set targetsConst(value) {
|
|
459
|
-
_chunkRNSYVJGAcjs.utils.setBit(113, value, this);
|
|
460
|
-
}
|
|
461
|
-
get targetsEnum() {
|
|
462
|
-
return _chunkRNSYVJGAcjs.utils.getBit(114, this);
|
|
463
|
-
}
|
|
464
|
-
set targetsEnum(value) {
|
|
465
|
-
_chunkRNSYVJGAcjs.utils.setBit(114, value, this);
|
|
466
|
-
}
|
|
467
|
-
get targetsEnumerant() {
|
|
468
|
-
return _chunkRNSYVJGAcjs.utils.getBit(115, this);
|
|
469
|
-
}
|
|
470
|
-
set targetsEnumerant(value) {
|
|
471
|
-
_chunkRNSYVJGAcjs.utils.setBit(115, value, this);
|
|
472
|
-
}
|
|
473
|
-
get targetsStruct() {
|
|
474
|
-
return _chunkRNSYVJGAcjs.utils.getBit(116, this);
|
|
475
|
-
}
|
|
476
|
-
set targetsStruct(value) {
|
|
477
|
-
_chunkRNSYVJGAcjs.utils.setBit(116, value, this);
|
|
478
|
-
}
|
|
479
|
-
get targetsField() {
|
|
480
|
-
return _chunkRNSYVJGAcjs.utils.getBit(117, this);
|
|
481
|
-
}
|
|
482
|
-
set targetsField(value) {
|
|
483
|
-
_chunkRNSYVJGAcjs.utils.setBit(117, value, this);
|
|
484
|
-
}
|
|
485
|
-
get targetsUnion() {
|
|
486
|
-
return _chunkRNSYVJGAcjs.utils.getBit(118, this);
|
|
487
|
-
}
|
|
488
|
-
set targetsUnion(value) {
|
|
489
|
-
_chunkRNSYVJGAcjs.utils.setBit(118, value, this);
|
|
490
|
-
}
|
|
491
|
-
get targetsGroup() {
|
|
492
|
-
return _chunkRNSYVJGAcjs.utils.getBit(119, this);
|
|
493
|
-
}
|
|
494
|
-
set targetsGroup(value) {
|
|
495
|
-
_chunkRNSYVJGAcjs.utils.setBit(119, value, this);
|
|
496
|
-
}
|
|
497
|
-
get targetsInterface() {
|
|
498
|
-
return _chunkRNSYVJGAcjs.utils.getBit(120, this);
|
|
499
|
-
}
|
|
500
|
-
set targetsInterface(value) {
|
|
501
|
-
_chunkRNSYVJGAcjs.utils.setBit(120, value, this);
|
|
502
|
-
}
|
|
503
|
-
get targetsMethod() {
|
|
504
|
-
return _chunkRNSYVJGAcjs.utils.getBit(121, this);
|
|
505
|
-
}
|
|
506
|
-
set targetsMethod(value) {
|
|
507
|
-
_chunkRNSYVJGAcjs.utils.setBit(121, value, this);
|
|
508
|
-
}
|
|
509
|
-
get targetsParam() {
|
|
510
|
-
return _chunkRNSYVJGAcjs.utils.getBit(122, this);
|
|
511
|
-
}
|
|
512
|
-
set targetsParam(value) {
|
|
513
|
-
_chunkRNSYVJGAcjs.utils.setBit(122, value, this);
|
|
514
|
-
}
|
|
515
|
-
get targetsAnnotation() {
|
|
516
|
-
return _chunkRNSYVJGAcjs.utils.getBit(123, this);
|
|
517
|
-
}
|
|
518
|
-
set targetsAnnotation(value) {
|
|
519
|
-
_chunkRNSYVJGAcjs.utils.setBit(123, value, this);
|
|
520
|
-
}
|
|
521
|
-
toString() {
|
|
522
|
-
return "Node_Annotation_" + super.toString();
|
|
523
|
-
}
|
|
524
|
-
}, _class9.__initStatic10(), _class9);
|
|
525
|
-
var Node_Which = {
|
|
526
|
-
FILE: 0,
|
|
527
|
-
/**
|
|
528
|
-
* Name to present to humans to identify this Node. You should not attempt to parse this. Its
|
|
529
|
-
* format could change. It is not guaranteed to be unique.
|
|
530
|
-
*
|
|
531
|
-
* (On Zooko's triangle, this is the node's nickname.)
|
|
532
|
-
*
|
|
533
|
-
*/
|
|
534
|
-
STRUCT: 1,
|
|
535
|
-
/**
|
|
536
|
-
* If you want a shorter version of `displayName` (just naming this node, without its surrounding
|
|
537
|
-
* scope), chop off this many characters from the beginning of `displayName`.
|
|
538
|
-
*
|
|
539
|
-
*/
|
|
540
|
-
ENUM: 2,
|
|
541
|
-
/**
|
|
542
|
-
* ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back
|
|
543
|
-
* at this node, but robust code should avoid relying on this (and, in fact, group nodes are not
|
|
544
|
-
* listed in the outer struct's nestedNodes, since they are listed in the fields). `scopeId` is
|
|
545
|
-
* zero if the node has no parent, which is normally only the case with files, but should be
|
|
546
|
-
* allowed for any kind of node (in order to make runtime type generation easier).
|
|
547
|
-
*
|
|
548
|
-
*/
|
|
549
|
-
INTERFACE: 3,
|
|
550
|
-
/**
|
|
551
|
-
* List of nodes nested within this node, along with the names under which they were declared.
|
|
552
|
-
*
|
|
553
|
-
*/
|
|
554
|
-
CONST: 4,
|
|
555
|
-
/**
|
|
556
|
-
* Annotations applied to this node.
|
|
557
|
-
*
|
|
558
|
-
*/
|
|
559
|
-
ANNOTATION: 5
|
|
560
|
-
};
|
|
561
|
-
var Node = (_class10 = class _Node extends _chunkRNSYVJGAcjs.Struct {
|
|
562
|
-
static {
|
|
563
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Node");
|
|
564
|
-
}
|
|
565
|
-
static __initStatic11() {this.FILE = Node_Which.FILE}
|
|
566
|
-
static __initStatic12() {this.STRUCT = Node_Which.STRUCT}
|
|
567
|
-
static __initStatic13() {this.ENUM = Node_Which.ENUM}
|
|
568
|
-
static __initStatic14() {this.INTERFACE = Node_Which.INTERFACE}
|
|
569
|
-
static __initStatic15() {this.CONST = Node_Which.CONST}
|
|
570
|
-
static __initStatic16() {this.ANNOTATION = Node_Which.ANNOTATION}
|
|
571
|
-
static __initStatic17() {this.Parameter = Node_Parameter}
|
|
572
|
-
static __initStatic18() {this.NestedNode = Node_NestedNode}
|
|
573
|
-
static __initStatic19() {this.SourceInfo = Node_SourceInfo}
|
|
574
|
-
static __initStatic20() {this._capnp = {
|
|
575
|
-
displayName: "Node",
|
|
576
|
-
id: "e682ab4cf923a417",
|
|
577
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(40, 6)
|
|
578
|
-
}}
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
get id() {
|
|
583
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
584
|
-
}
|
|
585
|
-
set id(value) {
|
|
586
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* Name to present to humans to identify this Node. You should not attempt to parse this. Its
|
|
590
|
-
* format could change. It is not guaranteed to be unique.
|
|
591
|
-
*
|
|
592
|
-
* (On Zooko's triangle, this is the node's nickname.)
|
|
593
|
-
*
|
|
594
|
-
*/
|
|
595
|
-
get displayName() {
|
|
596
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
597
|
-
}
|
|
598
|
-
set displayName(value) {
|
|
599
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* If you want a shorter version of `displayName` (just naming this node, without its surrounding
|
|
603
|
-
* scope), chop off this many characters from the beginning of `displayName`.
|
|
604
|
-
*
|
|
605
|
-
*/
|
|
606
|
-
get displayNamePrefixLength() {
|
|
607
|
-
return _chunkRNSYVJGAcjs.utils.getUint32(8, this);
|
|
608
|
-
}
|
|
609
|
-
set displayNamePrefixLength(value) {
|
|
610
|
-
_chunkRNSYVJGAcjs.utils.setUint32(8, value, this);
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back
|
|
614
|
-
* at this node, but robust code should avoid relying on this (and, in fact, group nodes are not
|
|
615
|
-
* listed in the outer struct's nestedNodes, since they are listed in the fields). `scopeId` is
|
|
616
|
-
* zero if the node has no parent, which is normally only the case with files, but should be
|
|
617
|
-
* allowed for any kind of node (in order to make runtime type generation easier).
|
|
618
|
-
*
|
|
619
|
-
*/
|
|
620
|
-
get scopeId() {
|
|
621
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(16, this);
|
|
622
|
-
}
|
|
623
|
-
set scopeId(value) {
|
|
624
|
-
_chunkRNSYVJGAcjs.utils.setUint64(16, value, this);
|
|
625
|
-
}
|
|
626
|
-
_adoptParameters(value) {
|
|
627
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(5, this));
|
|
628
|
-
}
|
|
629
|
-
_disownParameters() {
|
|
630
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.parameters);
|
|
631
|
-
}
|
|
632
|
-
/**
|
|
633
|
-
* If this node is parameterized (generic), the list of parameters. Empty for non-generic types.
|
|
634
|
-
*
|
|
635
|
-
*/
|
|
636
|
-
get parameters() {
|
|
637
|
-
return _chunkRNSYVJGAcjs.utils.getList(5, _Node._Parameters, this);
|
|
638
|
-
}
|
|
639
|
-
_hasParameters() {
|
|
640
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(5, this));
|
|
641
|
-
}
|
|
642
|
-
_initParameters(length) {
|
|
643
|
-
return _chunkRNSYVJGAcjs.utils.initList(5, _Node._Parameters, length, this);
|
|
644
|
-
}
|
|
645
|
-
set parameters(value) {
|
|
646
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(5, this));
|
|
647
|
-
}
|
|
648
|
-
/**
|
|
649
|
-
* True if this node is generic, meaning that it or one of its parent scopes has a non-empty
|
|
650
|
-
* `parameters`.
|
|
651
|
-
*
|
|
652
|
-
*/
|
|
653
|
-
get isGeneric() {
|
|
654
|
-
return _chunkRNSYVJGAcjs.utils.getBit(288, this);
|
|
655
|
-
}
|
|
656
|
-
set isGeneric(value) {
|
|
657
|
-
_chunkRNSYVJGAcjs.utils.setBit(288, value, this);
|
|
658
|
-
}
|
|
659
|
-
_adoptNestedNodes(value) {
|
|
660
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
661
|
-
}
|
|
662
|
-
_disownNestedNodes() {
|
|
663
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.nestedNodes);
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* List of nodes nested within this node, along with the names under which they were declared.
|
|
667
|
-
*
|
|
668
|
-
*/
|
|
669
|
-
get nestedNodes() {
|
|
670
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _Node._NestedNodes, this);
|
|
671
|
-
}
|
|
672
|
-
_hasNestedNodes() {
|
|
673
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
674
|
-
}
|
|
675
|
-
_initNestedNodes(length) {
|
|
676
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _Node._NestedNodes, length, this);
|
|
677
|
-
}
|
|
678
|
-
set nestedNodes(value) {
|
|
679
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
680
|
-
}
|
|
681
|
-
_adoptAnnotations(value) {
|
|
682
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
683
|
-
}
|
|
684
|
-
_disownAnnotations() {
|
|
685
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.annotations);
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* Annotations applied to this node.
|
|
689
|
-
*
|
|
690
|
-
*/
|
|
691
|
-
get annotations() {
|
|
692
|
-
return _chunkRNSYVJGAcjs.utils.getList(2, _Node._Annotations, this);
|
|
693
|
-
}
|
|
694
|
-
_hasAnnotations() {
|
|
695
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
696
|
-
}
|
|
697
|
-
_initAnnotations(length) {
|
|
698
|
-
return _chunkRNSYVJGAcjs.utils.initList(2, _Node._Annotations, length, this);
|
|
699
|
-
}
|
|
700
|
-
set annotations(value) {
|
|
701
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
702
|
-
}
|
|
703
|
-
get _isFile() {
|
|
704
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this) === 0;
|
|
705
|
-
}
|
|
706
|
-
set file(_) {
|
|
707
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 0, this);
|
|
708
|
-
}
|
|
709
|
-
get struct() {
|
|
710
|
-
_chunkRNSYVJGAcjs.utils.testWhich("struct", _chunkRNSYVJGAcjs.utils.getUint16(12, this), 1, this);
|
|
711
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Struct, this);
|
|
712
|
-
}
|
|
713
|
-
_initStruct() {
|
|
714
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 1, this);
|
|
715
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Struct, this);
|
|
716
|
-
}
|
|
717
|
-
get _isStruct() {
|
|
718
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this) === 1;
|
|
719
|
-
}
|
|
720
|
-
set struct(_) {
|
|
721
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 1, this);
|
|
722
|
-
}
|
|
723
|
-
get enum() {
|
|
724
|
-
_chunkRNSYVJGAcjs.utils.testWhich("enum", _chunkRNSYVJGAcjs.utils.getUint16(12, this), 2, this);
|
|
725
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Enum, this);
|
|
726
|
-
}
|
|
727
|
-
_initEnum() {
|
|
728
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 2, this);
|
|
729
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Enum, this);
|
|
730
|
-
}
|
|
731
|
-
get _isEnum() {
|
|
732
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this) === 2;
|
|
733
|
-
}
|
|
734
|
-
set enum(_) {
|
|
735
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 2, this);
|
|
736
|
-
}
|
|
737
|
-
get interface() {
|
|
738
|
-
_chunkRNSYVJGAcjs.utils.testWhich("interface", _chunkRNSYVJGAcjs.utils.getUint16(12, this), 3, this);
|
|
739
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Interface, this);
|
|
740
|
-
}
|
|
741
|
-
_initInterface() {
|
|
742
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 3, this);
|
|
743
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Interface, this);
|
|
744
|
-
}
|
|
745
|
-
get _isInterface() {
|
|
746
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this) === 3;
|
|
747
|
-
}
|
|
748
|
-
set interface(_) {
|
|
749
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 3, this);
|
|
750
|
-
}
|
|
751
|
-
get const() {
|
|
752
|
-
_chunkRNSYVJGAcjs.utils.testWhich("const", _chunkRNSYVJGAcjs.utils.getUint16(12, this), 4, this);
|
|
753
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Const, this);
|
|
754
|
-
}
|
|
755
|
-
_initConst() {
|
|
756
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 4, this);
|
|
757
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Const, this);
|
|
758
|
-
}
|
|
759
|
-
get _isConst() {
|
|
760
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this) === 4;
|
|
761
|
-
}
|
|
762
|
-
set const(_) {
|
|
763
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 4, this);
|
|
764
|
-
}
|
|
765
|
-
get annotation() {
|
|
766
|
-
_chunkRNSYVJGAcjs.utils.testWhich("annotation", _chunkRNSYVJGAcjs.utils.getUint16(12, this), 5, this);
|
|
767
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Annotation, this);
|
|
768
|
-
}
|
|
769
|
-
_initAnnotation() {
|
|
770
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 5, this);
|
|
771
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Node_Annotation, this);
|
|
772
|
-
}
|
|
773
|
-
get _isAnnotation() {
|
|
774
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this) === 5;
|
|
775
|
-
}
|
|
776
|
-
set annotation(_) {
|
|
777
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, 5, this);
|
|
778
|
-
}
|
|
779
|
-
toString() {
|
|
780
|
-
return "Node_" + super.toString();
|
|
781
|
-
}
|
|
782
|
-
which() {
|
|
783
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this);
|
|
784
|
-
}
|
|
785
|
-
}, _class10.__initStatic11(), _class10.__initStatic12(), _class10.__initStatic13(), _class10.__initStatic14(), _class10.__initStatic15(), _class10.__initStatic16(), _class10.__initStatic17(), _class10.__initStatic18(), _class10.__initStatic19(), _class10.__initStatic20(), _class10);
|
|
786
|
-
var Field_Slot = (_class11 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
787
|
-
static {
|
|
788
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Field_Slot");
|
|
789
|
-
}
|
|
790
|
-
static __initStatic21() {this._capnp = {
|
|
791
|
-
displayName: "slot",
|
|
792
|
-
id: "c42305476bb4746f",
|
|
793
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 4)
|
|
794
|
-
}}
|
|
795
|
-
/**
|
|
796
|
-
* Offset, in units of the field's size, from the beginning of the section in which the field
|
|
797
|
-
* resides. E.g. for a UInt32 field, multiply this by 4 to get the byte offset from the
|
|
798
|
-
* beginning of the data section.
|
|
799
|
-
*
|
|
800
|
-
*/
|
|
801
|
-
get offset() {
|
|
802
|
-
return _chunkRNSYVJGAcjs.utils.getUint32(4, this);
|
|
803
|
-
}
|
|
804
|
-
set offset(value) {
|
|
805
|
-
_chunkRNSYVJGAcjs.utils.setUint32(4, value, this);
|
|
806
|
-
}
|
|
807
|
-
_adoptType(value) {
|
|
808
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
809
|
-
}
|
|
810
|
-
_disownType() {
|
|
811
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.type);
|
|
812
|
-
}
|
|
813
|
-
get type() {
|
|
814
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(2, Type, this);
|
|
815
|
-
}
|
|
816
|
-
_hasType() {
|
|
817
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
818
|
-
}
|
|
819
|
-
_initType() {
|
|
820
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(2, Type, this);
|
|
821
|
-
}
|
|
822
|
-
set type(value) {
|
|
823
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
824
|
-
}
|
|
825
|
-
_adoptDefaultValue(value) {
|
|
826
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
827
|
-
}
|
|
828
|
-
_disownDefaultValue() {
|
|
829
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.defaultValue);
|
|
830
|
-
}
|
|
831
|
-
get defaultValue() {
|
|
832
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(3, Value, this);
|
|
833
|
-
}
|
|
834
|
-
_hasDefaultValue() {
|
|
835
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
836
|
-
}
|
|
837
|
-
_initDefaultValue() {
|
|
838
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(3, Value, this);
|
|
839
|
-
}
|
|
840
|
-
set defaultValue(value) {
|
|
841
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* Whether the default value was specified explicitly. Non-explicit default values are always
|
|
845
|
-
* zero or empty values. Usually, whether the default value was explicit shouldn't matter.
|
|
846
|
-
* The main use case for this flag is for structs representing method parameters:
|
|
847
|
-
* explicitly-defaulted parameters may be allowed to be omitted when calling the method.
|
|
848
|
-
*
|
|
849
|
-
*/
|
|
850
|
-
get hadExplicitDefault() {
|
|
851
|
-
return _chunkRNSYVJGAcjs.utils.getBit(128, this);
|
|
852
|
-
}
|
|
853
|
-
set hadExplicitDefault(value) {
|
|
854
|
-
_chunkRNSYVJGAcjs.utils.setBit(128, value, this);
|
|
855
|
-
}
|
|
856
|
-
toString() {
|
|
857
|
-
return "Field_Slot_" + super.toString();
|
|
858
|
-
}
|
|
859
|
-
}, _class11.__initStatic21(), _class11);
|
|
860
|
-
var Field_Group = (_class12 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
861
|
-
static {
|
|
862
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Field_Group");
|
|
863
|
-
}
|
|
864
|
-
static __initStatic22() {this._capnp = {
|
|
865
|
-
displayName: "group",
|
|
866
|
-
id: "cafccddb68db1d11",
|
|
867
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 4)
|
|
868
|
-
}}
|
|
869
|
-
/**
|
|
870
|
-
* The ID of the group's node.
|
|
871
|
-
*
|
|
872
|
-
*/
|
|
873
|
-
get typeId() {
|
|
874
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(16, this);
|
|
875
|
-
}
|
|
876
|
-
set typeId(value) {
|
|
877
|
-
_chunkRNSYVJGAcjs.utils.setUint64(16, value, this);
|
|
878
|
-
}
|
|
879
|
-
toString() {
|
|
880
|
-
return "Field_Group_" + super.toString();
|
|
881
|
-
}
|
|
882
|
-
}, _class12.__initStatic22(), _class12);
|
|
883
|
-
var Field_Ordinal_Which = {
|
|
884
|
-
IMPLICIT: 0,
|
|
885
|
-
/**
|
|
886
|
-
* The original ordinal number given to the field. You probably should NOT use this; if you need
|
|
887
|
-
* a numeric identifier for a field, use its position within the field array for its scope.
|
|
888
|
-
* The ordinal is given here mainly just so that the original schema text can be reproduced given
|
|
889
|
-
* the compiled version -- i.e. so that `capnp compile -ocapnp` can do its job.
|
|
890
|
-
*
|
|
891
|
-
*/
|
|
892
|
-
EXPLICIT: 1
|
|
893
|
-
};
|
|
894
|
-
var Field_Ordinal = (_class13 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
895
|
-
static {
|
|
896
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Field_Ordinal");
|
|
897
|
-
}
|
|
898
|
-
static __initStatic23() {this.IMPLICIT = Field_Ordinal_Which.IMPLICIT}
|
|
899
|
-
static __initStatic24() {this.EXPLICIT = Field_Ordinal_Which.EXPLICIT}
|
|
900
|
-
static __initStatic25() {this._capnp = {
|
|
901
|
-
displayName: "ordinal",
|
|
902
|
-
id: "bb90d5c287870be6",
|
|
903
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 4)
|
|
904
|
-
}}
|
|
905
|
-
get _isImplicit() {
|
|
906
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this) === 0;
|
|
907
|
-
}
|
|
908
|
-
set implicit(_) {
|
|
909
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, 0, this);
|
|
910
|
-
}
|
|
911
|
-
/**
|
|
912
|
-
* The original ordinal number given to the field. You probably should NOT use this; if you need
|
|
913
|
-
* a numeric identifier for a field, use its position within the field array for its scope.
|
|
914
|
-
* The ordinal is given here mainly just so that the original schema text can be reproduced given
|
|
915
|
-
* the compiled version -- i.e. so that `capnp compile -ocapnp` can do its job.
|
|
916
|
-
*
|
|
917
|
-
*/
|
|
918
|
-
get explicit() {
|
|
919
|
-
_chunkRNSYVJGAcjs.utils.testWhich("explicit", _chunkRNSYVJGAcjs.utils.getUint16(10, this), 1, this);
|
|
920
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(12, this);
|
|
921
|
-
}
|
|
922
|
-
get _isExplicit() {
|
|
923
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this) === 1;
|
|
924
|
-
}
|
|
925
|
-
set explicit(value) {
|
|
926
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, 1, this);
|
|
927
|
-
_chunkRNSYVJGAcjs.utils.setUint16(12, value, this);
|
|
928
|
-
}
|
|
929
|
-
toString() {
|
|
930
|
-
return "Field_Ordinal_" + super.toString();
|
|
931
|
-
}
|
|
932
|
-
which() {
|
|
933
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this);
|
|
934
|
-
}
|
|
935
|
-
}, _class13.__initStatic23(), _class13.__initStatic24(), _class13.__initStatic25(), _class13);
|
|
936
|
-
var Field_Which = {
|
|
937
|
-
SLOT: 0,
|
|
938
|
-
/**
|
|
939
|
-
* Indicates where this member appeared in the code, relative to other members.
|
|
940
|
-
* Code ordering may have semantic relevance -- programmers tend to place related fields
|
|
941
|
-
* together. So, using code ordering makes sense in human-readable formats where ordering is
|
|
942
|
-
* otherwise irrelevant, like JSON. The values of codeOrder are tightly-packed, so the maximum
|
|
943
|
-
* value is count(members) - 1. Fields that are members of a union are only ordered relative to
|
|
944
|
-
* the other members of that union, so the maximum value there is count(union.members).
|
|
945
|
-
*
|
|
946
|
-
*/
|
|
947
|
-
GROUP: 1
|
|
948
|
-
};
|
|
949
|
-
var Field = (_class14 = class _Field extends _chunkRNSYVJGAcjs.Struct {
|
|
950
|
-
static {
|
|
951
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Field");
|
|
952
|
-
}
|
|
953
|
-
static __initStatic26() {this.NO_DISCRIMINANT = 65535}
|
|
954
|
-
static __initStatic27() {this.SLOT = Field_Which.SLOT}
|
|
955
|
-
static __initStatic28() {this.GROUP = Field_Which.GROUP}
|
|
956
|
-
static __initStatic29() {this._capnp = {
|
|
957
|
-
displayName: "Field",
|
|
958
|
-
id: "9aad50a41f4af45f",
|
|
959
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 4),
|
|
960
|
-
defaultDiscriminantValue: _chunkRNSYVJGAcjs.getUint16Mask.call(void 0, 65535)
|
|
961
|
-
}}
|
|
962
|
-
|
|
963
|
-
get name() {
|
|
964
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
965
|
-
}
|
|
966
|
-
set name(value) {
|
|
967
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
968
|
-
}
|
|
969
|
-
/**
|
|
970
|
-
* Indicates where this member appeared in the code, relative to other members.
|
|
971
|
-
* Code ordering may have semantic relevance -- programmers tend to place related fields
|
|
972
|
-
* together. So, using code ordering makes sense in human-readable formats where ordering is
|
|
973
|
-
* otherwise irrelevant, like JSON. The values of codeOrder are tightly-packed, so the maximum
|
|
974
|
-
* value is count(members) - 1. Fields that are members of a union are only ordered relative to
|
|
975
|
-
* the other members of that union, so the maximum value there is count(union.members).
|
|
976
|
-
*
|
|
977
|
-
*/
|
|
978
|
-
get codeOrder() {
|
|
979
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
980
|
-
}
|
|
981
|
-
set codeOrder(value) {
|
|
982
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, value, this);
|
|
983
|
-
}
|
|
984
|
-
_adoptAnnotations(value) {
|
|
985
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
986
|
-
}
|
|
987
|
-
_disownAnnotations() {
|
|
988
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.annotations);
|
|
989
|
-
}
|
|
990
|
-
get annotations() {
|
|
991
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _Field._Annotations, this);
|
|
992
|
-
}
|
|
993
|
-
_hasAnnotations() {
|
|
994
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
995
|
-
}
|
|
996
|
-
_initAnnotations(length) {
|
|
997
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _Field._Annotations, length, this);
|
|
998
|
-
}
|
|
999
|
-
set annotations(value) {
|
|
1000
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1001
|
-
}
|
|
1002
|
-
/**
|
|
1003
|
-
* If the field is in a union, this is the value which the union's discriminant should take when
|
|
1004
|
-
* the field is active. If the field is not in a union, this is 0xffff.
|
|
1005
|
-
*
|
|
1006
|
-
*/
|
|
1007
|
-
get discriminantValue() {
|
|
1008
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(2, this, _Field._capnp.defaultDiscriminantValue);
|
|
1009
|
-
}
|
|
1010
|
-
set discriminantValue(value) {
|
|
1011
|
-
_chunkRNSYVJGAcjs.utils.setUint16(2, value, this, _Field._capnp.defaultDiscriminantValue);
|
|
1012
|
-
}
|
|
1013
|
-
/**
|
|
1014
|
-
* A regular, non-group, non-fixed-list field.
|
|
1015
|
-
*
|
|
1016
|
-
*/
|
|
1017
|
-
get slot() {
|
|
1018
|
-
_chunkRNSYVJGAcjs.utils.testWhich("slot", _chunkRNSYVJGAcjs.utils.getUint16(8, this), 0, this);
|
|
1019
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Field_Slot, this);
|
|
1020
|
-
}
|
|
1021
|
-
_initSlot() {
|
|
1022
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1023
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Field_Slot, this);
|
|
1024
|
-
}
|
|
1025
|
-
get _isSlot() {
|
|
1026
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 0;
|
|
1027
|
-
}
|
|
1028
|
-
set slot(_) {
|
|
1029
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
* A group.
|
|
1033
|
-
*
|
|
1034
|
-
*/
|
|
1035
|
-
get group() {
|
|
1036
|
-
_chunkRNSYVJGAcjs.utils.testWhich("group", _chunkRNSYVJGAcjs.utils.getUint16(8, this), 1, this);
|
|
1037
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Field_Group, this);
|
|
1038
|
-
}
|
|
1039
|
-
_initGroup() {
|
|
1040
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 1, this);
|
|
1041
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Field_Group, this);
|
|
1042
|
-
}
|
|
1043
|
-
get _isGroup() {
|
|
1044
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 1;
|
|
1045
|
-
}
|
|
1046
|
-
set group(_) {
|
|
1047
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 1, this);
|
|
1048
|
-
}
|
|
1049
|
-
get ordinal() {
|
|
1050
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Field_Ordinal, this);
|
|
1051
|
-
}
|
|
1052
|
-
_initOrdinal() {
|
|
1053
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Field_Ordinal, this);
|
|
1054
|
-
}
|
|
1055
|
-
toString() {
|
|
1056
|
-
return "Field_" + super.toString();
|
|
1057
|
-
}
|
|
1058
|
-
which() {
|
|
1059
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this);
|
|
1060
|
-
}
|
|
1061
|
-
}, _class14.__initStatic26(), _class14.__initStatic27(), _class14.__initStatic28(), _class14.__initStatic29(), _class14);
|
|
1062
|
-
var Enumerant = (_class15 = class _Enumerant extends _chunkRNSYVJGAcjs.Struct {
|
|
1063
|
-
static {
|
|
1064
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Enumerant");
|
|
1065
|
-
}
|
|
1066
|
-
static __initStatic30() {this._capnp = {
|
|
1067
|
-
displayName: "Enumerant",
|
|
1068
|
-
id: "978a7cebdc549a4d",
|
|
1069
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 2)
|
|
1070
|
-
}}
|
|
1071
|
-
|
|
1072
|
-
get name() {
|
|
1073
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
1074
|
-
}
|
|
1075
|
-
set name(value) {
|
|
1076
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
1077
|
-
}
|
|
1078
|
-
/**
|
|
1079
|
-
* Specifies order in which the enumerants were declared in the code.
|
|
1080
|
-
* Like utils.Field.codeOrder.
|
|
1081
|
-
*
|
|
1082
|
-
*/
|
|
1083
|
-
get codeOrder() {
|
|
1084
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
1085
|
-
}
|
|
1086
|
-
set codeOrder(value) {
|
|
1087
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, value, this);
|
|
1088
|
-
}
|
|
1089
|
-
_adoptAnnotations(value) {
|
|
1090
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1091
|
-
}
|
|
1092
|
-
_disownAnnotations() {
|
|
1093
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.annotations);
|
|
1094
|
-
}
|
|
1095
|
-
get annotations() {
|
|
1096
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _Enumerant._Annotations, this);
|
|
1097
|
-
}
|
|
1098
|
-
_hasAnnotations() {
|
|
1099
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1100
|
-
}
|
|
1101
|
-
_initAnnotations(length) {
|
|
1102
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _Enumerant._Annotations, length, this);
|
|
1103
|
-
}
|
|
1104
|
-
set annotations(value) {
|
|
1105
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1106
|
-
}
|
|
1107
|
-
toString() {
|
|
1108
|
-
return "Enumerant_" + super.toString();
|
|
1109
|
-
}
|
|
1110
|
-
}, _class15.__initStatic30(), _class15);
|
|
1111
|
-
var Superclass = (_class16 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1112
|
-
static {
|
|
1113
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Superclass");
|
|
1114
|
-
}
|
|
1115
|
-
static __initStatic31() {this._capnp = {
|
|
1116
|
-
displayName: "Superclass",
|
|
1117
|
-
id: "a9962a9ed0a4d7f8",
|
|
1118
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 1)
|
|
1119
|
-
}}
|
|
1120
|
-
get id() {
|
|
1121
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
1122
|
-
}
|
|
1123
|
-
set id(value) {
|
|
1124
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
1125
|
-
}
|
|
1126
|
-
_adoptBrand(value) {
|
|
1127
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1128
|
-
}
|
|
1129
|
-
_disownBrand() {
|
|
1130
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.brand);
|
|
1131
|
-
}
|
|
1132
|
-
get brand() {
|
|
1133
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Brand, this);
|
|
1134
|
-
}
|
|
1135
|
-
_hasBrand() {
|
|
1136
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1137
|
-
}
|
|
1138
|
-
_initBrand() {
|
|
1139
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Brand, this);
|
|
1140
|
-
}
|
|
1141
|
-
set brand(value) {
|
|
1142
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1143
|
-
}
|
|
1144
|
-
toString() {
|
|
1145
|
-
return "Superclass_" + super.toString();
|
|
1146
|
-
}
|
|
1147
|
-
}, _class16.__initStatic31(), _class16);
|
|
1148
|
-
var Method = (_class17 = class _Method extends _chunkRNSYVJGAcjs.Struct {
|
|
1149
|
-
static {
|
|
1150
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Method");
|
|
1151
|
-
}
|
|
1152
|
-
static __initStatic32() {this._capnp = {
|
|
1153
|
-
displayName: "Method",
|
|
1154
|
-
id: "9500cce23b334d80",
|
|
1155
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 5)
|
|
1156
|
-
}}
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
get name() {
|
|
1160
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
1161
|
-
}
|
|
1162
|
-
set name(value) {
|
|
1163
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
1164
|
-
}
|
|
1165
|
-
/**
|
|
1166
|
-
* Specifies order in which the methods were declared in the code.
|
|
1167
|
-
* Like utils.Field.codeOrder.
|
|
1168
|
-
*
|
|
1169
|
-
*/
|
|
1170
|
-
get codeOrder() {
|
|
1171
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
1172
|
-
}
|
|
1173
|
-
set codeOrder(value) {
|
|
1174
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, value, this);
|
|
1175
|
-
}
|
|
1176
|
-
_adoptImplicitParameters(value) {
|
|
1177
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
1178
|
-
}
|
|
1179
|
-
_disownImplicitParameters() {
|
|
1180
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.implicitParameters);
|
|
1181
|
-
}
|
|
1182
|
-
/**
|
|
1183
|
-
* The parameters listed in [] (typically, type / generic parameters), whose bindings are intended
|
|
1184
|
-
* to be inferred rather than specified explicitly, although not all languages support this.
|
|
1185
|
-
*
|
|
1186
|
-
*/
|
|
1187
|
-
get implicitParameters() {
|
|
1188
|
-
return _chunkRNSYVJGAcjs.utils.getList(4, _Method._ImplicitParameters, this);
|
|
1189
|
-
}
|
|
1190
|
-
_hasImplicitParameters() {
|
|
1191
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
1192
|
-
}
|
|
1193
|
-
_initImplicitParameters(length) {
|
|
1194
|
-
return _chunkRNSYVJGAcjs.utils.initList(4, _Method._ImplicitParameters, length, this);
|
|
1195
|
-
}
|
|
1196
|
-
set implicitParameters(value) {
|
|
1197
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(4, this));
|
|
1198
|
-
}
|
|
1199
|
-
/**
|
|
1200
|
-
* ID of the parameter struct type. If a named parameter list was specified in the method
|
|
1201
|
-
* declaration (rather than a single struct parameter type) then a corresponding struct type is
|
|
1202
|
-
* auto-generated. Such an auto-generated type will not be listed in the interface's
|
|
1203
|
-
* `nestedNodes` and its `scopeId` will be zero -- it is completely detached from the namespace.
|
|
1204
|
-
* (Awkwardly, it does of course inherit generic parameters from the method's scope, which makes
|
|
1205
|
-
* this a situation where you can't just climb the scope chain to find where a particular
|
|
1206
|
-
* generic parameter was introduced. Making the `scopeId` zero was a mistake.)
|
|
1207
|
-
*
|
|
1208
|
-
*/
|
|
1209
|
-
get paramStructType() {
|
|
1210
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(8, this);
|
|
1211
|
-
}
|
|
1212
|
-
set paramStructType(value) {
|
|
1213
|
-
_chunkRNSYVJGAcjs.utils.setUint64(8, value, this);
|
|
1214
|
-
}
|
|
1215
|
-
_adoptParamBrand(value) {
|
|
1216
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
1217
|
-
}
|
|
1218
|
-
_disownParamBrand() {
|
|
1219
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.paramBrand);
|
|
1220
|
-
}
|
|
1221
|
-
/**
|
|
1222
|
-
* Brand of param struct type.
|
|
1223
|
-
*
|
|
1224
|
-
*/
|
|
1225
|
-
get paramBrand() {
|
|
1226
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(2, Brand, this);
|
|
1227
|
-
}
|
|
1228
|
-
_hasParamBrand() {
|
|
1229
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
1230
|
-
}
|
|
1231
|
-
_initParamBrand() {
|
|
1232
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(2, Brand, this);
|
|
1233
|
-
}
|
|
1234
|
-
set paramBrand(value) {
|
|
1235
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
1236
|
-
}
|
|
1237
|
-
/**
|
|
1238
|
-
* ID of the return struct type; similar to `paramStructType`.
|
|
1239
|
-
*
|
|
1240
|
-
*/
|
|
1241
|
-
get resultStructType() {
|
|
1242
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(16, this);
|
|
1243
|
-
}
|
|
1244
|
-
set resultStructType(value) {
|
|
1245
|
-
_chunkRNSYVJGAcjs.utils.setUint64(16, value, this);
|
|
1246
|
-
}
|
|
1247
|
-
_adoptResultBrand(value) {
|
|
1248
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
1249
|
-
}
|
|
1250
|
-
_disownResultBrand() {
|
|
1251
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.resultBrand);
|
|
1252
|
-
}
|
|
1253
|
-
/**
|
|
1254
|
-
* Brand of result struct type.
|
|
1255
|
-
*
|
|
1256
|
-
*/
|
|
1257
|
-
get resultBrand() {
|
|
1258
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(3, Brand, this);
|
|
1259
|
-
}
|
|
1260
|
-
_hasResultBrand() {
|
|
1261
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
1262
|
-
}
|
|
1263
|
-
_initResultBrand() {
|
|
1264
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(3, Brand, this);
|
|
1265
|
-
}
|
|
1266
|
-
set resultBrand(value) {
|
|
1267
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
1268
|
-
}
|
|
1269
|
-
_adoptAnnotations(value) {
|
|
1270
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1271
|
-
}
|
|
1272
|
-
_disownAnnotations() {
|
|
1273
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.annotations);
|
|
1274
|
-
}
|
|
1275
|
-
get annotations() {
|
|
1276
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _Method._Annotations, this);
|
|
1277
|
-
}
|
|
1278
|
-
_hasAnnotations() {
|
|
1279
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1280
|
-
}
|
|
1281
|
-
_initAnnotations(length) {
|
|
1282
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _Method._Annotations, length, this);
|
|
1283
|
-
}
|
|
1284
|
-
set annotations(value) {
|
|
1285
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
1286
|
-
}
|
|
1287
|
-
toString() {
|
|
1288
|
-
return "Method_" + super.toString();
|
|
1289
|
-
}
|
|
1290
|
-
}, _class17.__initStatic32(), _class17);
|
|
1291
|
-
var Type_List = (_class18 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1292
|
-
static {
|
|
1293
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_List");
|
|
1294
|
-
}
|
|
1295
|
-
static __initStatic33() {this._capnp = {
|
|
1296
|
-
displayName: "list",
|
|
1297
|
-
id: "87e739250a60ea97",
|
|
1298
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1299
|
-
}}
|
|
1300
|
-
_adoptElementType(value) {
|
|
1301
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1302
|
-
}
|
|
1303
|
-
_disownElementType() {
|
|
1304
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.elementType);
|
|
1305
|
-
}
|
|
1306
|
-
get elementType() {
|
|
1307
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Type, this);
|
|
1308
|
-
}
|
|
1309
|
-
_hasElementType() {
|
|
1310
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1311
|
-
}
|
|
1312
|
-
_initElementType() {
|
|
1313
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Type, this);
|
|
1314
|
-
}
|
|
1315
|
-
set elementType(value) {
|
|
1316
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1317
|
-
}
|
|
1318
|
-
toString() {
|
|
1319
|
-
return "Type_List_" + super.toString();
|
|
1320
|
-
}
|
|
1321
|
-
}, _class18.__initStatic33(), _class18);
|
|
1322
|
-
var Type_Enum = (_class19 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1323
|
-
static {
|
|
1324
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_Enum");
|
|
1325
|
-
}
|
|
1326
|
-
static __initStatic34() {this._capnp = {
|
|
1327
|
-
displayName: "enum",
|
|
1328
|
-
id: "9e0e78711a7f87a9",
|
|
1329
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1330
|
-
}}
|
|
1331
|
-
get typeId() {
|
|
1332
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(8, this);
|
|
1333
|
-
}
|
|
1334
|
-
set typeId(value) {
|
|
1335
|
-
_chunkRNSYVJGAcjs.utils.setUint64(8, value, this);
|
|
1336
|
-
}
|
|
1337
|
-
_adoptBrand(value) {
|
|
1338
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1339
|
-
}
|
|
1340
|
-
_disownBrand() {
|
|
1341
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.brand);
|
|
1342
|
-
}
|
|
1343
|
-
get brand() {
|
|
1344
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Brand, this);
|
|
1345
|
-
}
|
|
1346
|
-
_hasBrand() {
|
|
1347
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1348
|
-
}
|
|
1349
|
-
_initBrand() {
|
|
1350
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Brand, this);
|
|
1351
|
-
}
|
|
1352
|
-
set brand(value) {
|
|
1353
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1354
|
-
}
|
|
1355
|
-
toString() {
|
|
1356
|
-
return "Type_Enum_" + super.toString();
|
|
1357
|
-
}
|
|
1358
|
-
}, _class19.__initStatic34(), _class19);
|
|
1359
|
-
var Type_Struct = (_class20 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1360
|
-
static {
|
|
1361
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_Struct");
|
|
1362
|
-
}
|
|
1363
|
-
static __initStatic35() {this._capnp = {
|
|
1364
|
-
displayName: "struct",
|
|
1365
|
-
id: "ac3a6f60ef4cc6d3",
|
|
1366
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1367
|
-
}}
|
|
1368
|
-
get typeId() {
|
|
1369
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(8, this);
|
|
1370
|
-
}
|
|
1371
|
-
set typeId(value) {
|
|
1372
|
-
_chunkRNSYVJGAcjs.utils.setUint64(8, value, this);
|
|
1373
|
-
}
|
|
1374
|
-
_adoptBrand(value) {
|
|
1375
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1376
|
-
}
|
|
1377
|
-
_disownBrand() {
|
|
1378
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.brand);
|
|
1379
|
-
}
|
|
1380
|
-
get brand() {
|
|
1381
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Brand, this);
|
|
1382
|
-
}
|
|
1383
|
-
_hasBrand() {
|
|
1384
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1385
|
-
}
|
|
1386
|
-
_initBrand() {
|
|
1387
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Brand, this);
|
|
1388
|
-
}
|
|
1389
|
-
set brand(value) {
|
|
1390
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1391
|
-
}
|
|
1392
|
-
toString() {
|
|
1393
|
-
return "Type_Struct_" + super.toString();
|
|
1394
|
-
}
|
|
1395
|
-
}, _class20.__initStatic35(), _class20);
|
|
1396
|
-
var Type_Interface = (_class21 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1397
|
-
static {
|
|
1398
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_Interface");
|
|
1399
|
-
}
|
|
1400
|
-
static __initStatic36() {this._capnp = {
|
|
1401
|
-
displayName: "interface",
|
|
1402
|
-
id: "ed8bca69f7fb0cbf",
|
|
1403
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1404
|
-
}}
|
|
1405
|
-
get typeId() {
|
|
1406
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(8, this);
|
|
1407
|
-
}
|
|
1408
|
-
set typeId(value) {
|
|
1409
|
-
_chunkRNSYVJGAcjs.utils.setUint64(8, value, this);
|
|
1410
|
-
}
|
|
1411
|
-
_adoptBrand(value) {
|
|
1412
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1413
|
-
}
|
|
1414
|
-
_disownBrand() {
|
|
1415
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.brand);
|
|
1416
|
-
}
|
|
1417
|
-
get brand() {
|
|
1418
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Brand, this);
|
|
1419
|
-
}
|
|
1420
|
-
_hasBrand() {
|
|
1421
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1422
|
-
}
|
|
1423
|
-
_initBrand() {
|
|
1424
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Brand, this);
|
|
1425
|
-
}
|
|
1426
|
-
set brand(value) {
|
|
1427
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1428
|
-
}
|
|
1429
|
-
toString() {
|
|
1430
|
-
return "Type_Interface_" + super.toString();
|
|
1431
|
-
}
|
|
1432
|
-
}, _class21.__initStatic36(), _class21);
|
|
1433
|
-
var Type_AnyPointer_Unconstrained_Which = {
|
|
1434
|
-
/**
|
|
1435
|
-
* truly AnyPointer
|
|
1436
|
-
*
|
|
1437
|
-
*/
|
|
1438
|
-
ANY_KIND: 0,
|
|
1439
|
-
/**
|
|
1440
|
-
* AnyStruct
|
|
1441
|
-
*
|
|
1442
|
-
*/
|
|
1443
|
-
STRUCT: 1,
|
|
1444
|
-
/**
|
|
1445
|
-
* AnyList
|
|
1446
|
-
*
|
|
1447
|
-
*/
|
|
1448
|
-
LIST: 2,
|
|
1449
|
-
/**
|
|
1450
|
-
* Capability
|
|
1451
|
-
*
|
|
1452
|
-
*/
|
|
1453
|
-
CAPABILITY: 3
|
|
1454
|
-
};
|
|
1455
|
-
var Type_AnyPointer_Unconstrained = (_class22 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1456
|
-
static {
|
|
1457
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_AnyPointer_Unconstrained");
|
|
1458
|
-
}
|
|
1459
|
-
static __initStatic37() {this.ANY_KIND = Type_AnyPointer_Unconstrained_Which.ANY_KIND}
|
|
1460
|
-
static __initStatic38() {this.STRUCT = Type_AnyPointer_Unconstrained_Which.STRUCT}
|
|
1461
|
-
static __initStatic39() {this.LIST = Type_AnyPointer_Unconstrained_Which.LIST}
|
|
1462
|
-
static __initStatic40() {this.CAPABILITY = Type_AnyPointer_Unconstrained_Which.CAPABILITY}
|
|
1463
|
-
static __initStatic41() {this._capnp = {
|
|
1464
|
-
displayName: "unconstrained",
|
|
1465
|
-
id: "8e3b5f79fe593656",
|
|
1466
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1467
|
-
}}
|
|
1468
|
-
get _isAnyKind() {
|
|
1469
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this) === 0;
|
|
1470
|
-
}
|
|
1471
|
-
set anyKind(_) {
|
|
1472
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, 0, this);
|
|
1473
|
-
}
|
|
1474
|
-
get _isStruct() {
|
|
1475
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this) === 1;
|
|
1476
|
-
}
|
|
1477
|
-
set struct(_) {
|
|
1478
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, 1, this);
|
|
1479
|
-
}
|
|
1480
|
-
get _isList() {
|
|
1481
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this) === 2;
|
|
1482
|
-
}
|
|
1483
|
-
set list(_) {
|
|
1484
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, 2, this);
|
|
1485
|
-
}
|
|
1486
|
-
get _isCapability() {
|
|
1487
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this) === 3;
|
|
1488
|
-
}
|
|
1489
|
-
set capability(_) {
|
|
1490
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, 3, this);
|
|
1491
|
-
}
|
|
1492
|
-
toString() {
|
|
1493
|
-
return "Type_AnyPointer_Unconstrained_" + super.toString();
|
|
1494
|
-
}
|
|
1495
|
-
which() {
|
|
1496
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this);
|
|
1497
|
-
}
|
|
1498
|
-
}, _class22.__initStatic37(), _class22.__initStatic38(), _class22.__initStatic39(), _class22.__initStatic40(), _class22.__initStatic41(), _class22);
|
|
1499
|
-
var Type_AnyPointer_Parameter = (_class23 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1500
|
-
static {
|
|
1501
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_AnyPointer_Parameter");
|
|
1502
|
-
}
|
|
1503
|
-
static __initStatic42() {this._capnp = {
|
|
1504
|
-
displayName: "parameter",
|
|
1505
|
-
id: "9dd1f724f4614a85",
|
|
1506
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1507
|
-
}}
|
|
1508
|
-
/**
|
|
1509
|
-
* ID of the generic type whose parameter we're referencing. This should be a parent of the
|
|
1510
|
-
* current scope.
|
|
1511
|
-
*
|
|
1512
|
-
*/
|
|
1513
|
-
get scopeId() {
|
|
1514
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(16, this);
|
|
1515
|
-
}
|
|
1516
|
-
set scopeId(value) {
|
|
1517
|
-
_chunkRNSYVJGAcjs.utils.setUint64(16, value, this);
|
|
1518
|
-
}
|
|
1519
|
-
/**
|
|
1520
|
-
* Index of the parameter within the generic type's parameter list.
|
|
1521
|
-
*
|
|
1522
|
-
*/
|
|
1523
|
-
get parameterIndex() {
|
|
1524
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this);
|
|
1525
|
-
}
|
|
1526
|
-
set parameterIndex(value) {
|
|
1527
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, value, this);
|
|
1528
|
-
}
|
|
1529
|
-
toString() {
|
|
1530
|
-
return "Type_AnyPointer_Parameter_" + super.toString();
|
|
1531
|
-
}
|
|
1532
|
-
}, _class23.__initStatic42(), _class23);
|
|
1533
|
-
var Type_AnyPointer_ImplicitMethodParameter = (_class24 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1534
|
-
static {
|
|
1535
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_AnyPointer_ImplicitMethodParameter");
|
|
1536
|
-
}
|
|
1537
|
-
static __initStatic43() {this._capnp = {
|
|
1538
|
-
displayName: "implicitMethodParameter",
|
|
1539
|
-
id: "baefc9120c56e274",
|
|
1540
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1541
|
-
}}
|
|
1542
|
-
get parameterIndex() {
|
|
1543
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(10, this);
|
|
1544
|
-
}
|
|
1545
|
-
set parameterIndex(value) {
|
|
1546
|
-
_chunkRNSYVJGAcjs.utils.setUint16(10, value, this);
|
|
1547
|
-
}
|
|
1548
|
-
toString() {
|
|
1549
|
-
return "Type_AnyPointer_ImplicitMethodParameter_" + super.toString();
|
|
1550
|
-
}
|
|
1551
|
-
}, _class24.__initStatic43(), _class24);
|
|
1552
|
-
var Type_AnyPointer_Which = {
|
|
1553
|
-
/**
|
|
1554
|
-
* A regular AnyPointer.
|
|
1555
|
-
*
|
|
1556
|
-
* The name "unconstrained" means as opposed to constraining it to match a type parameter.
|
|
1557
|
-
* In retrospect this name is probably a poor choice given that it may still be constrained
|
|
1558
|
-
* to be a struct, list, or capability.
|
|
1559
|
-
*
|
|
1560
|
-
*/
|
|
1561
|
-
UNCONSTRAINED: 0,
|
|
1562
|
-
/**
|
|
1563
|
-
* This is actually a reference to a type parameter defined within this scope.
|
|
1564
|
-
*
|
|
1565
|
-
*/
|
|
1566
|
-
PARAMETER: 1,
|
|
1567
|
-
/**
|
|
1568
|
-
* This is actually a reference to an implicit (generic) parameter of a method. The only
|
|
1569
|
-
* legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
|
|
1570
|
-
*
|
|
1571
|
-
*/
|
|
1572
|
-
IMPLICIT_METHOD_PARAMETER: 2
|
|
1573
|
-
};
|
|
1574
|
-
var Type_AnyPointer = (_class25 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1575
|
-
static {
|
|
1576
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type_AnyPointer");
|
|
1577
|
-
}
|
|
1578
|
-
static __initStatic44() {this.UNCONSTRAINED = Type_AnyPointer_Which.UNCONSTRAINED}
|
|
1579
|
-
static __initStatic45() {this.PARAMETER = Type_AnyPointer_Which.PARAMETER}
|
|
1580
|
-
static __initStatic46() {this.IMPLICIT_METHOD_PARAMETER = Type_AnyPointer_Which.IMPLICIT_METHOD_PARAMETER}
|
|
1581
|
-
static __initStatic47() {this._capnp = {
|
|
1582
|
-
displayName: "anyPointer",
|
|
1583
|
-
id: "c2573fe8a23e49f1",
|
|
1584
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1585
|
-
}}
|
|
1586
|
-
/**
|
|
1587
|
-
* A regular AnyPointer.
|
|
1588
|
-
*
|
|
1589
|
-
* The name "unconstrained" means as opposed to constraining it to match a type parameter.
|
|
1590
|
-
* In retrospect this name is probably a poor choice given that it may still be constrained
|
|
1591
|
-
* to be a struct, list, or capability.
|
|
1592
|
-
*
|
|
1593
|
-
*/
|
|
1594
|
-
get unconstrained() {
|
|
1595
|
-
_chunkRNSYVJGAcjs.utils.testWhich("unconstrained", _chunkRNSYVJGAcjs.utils.getUint16(8, this), 0, this);
|
|
1596
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer_Unconstrained, this);
|
|
1597
|
-
}
|
|
1598
|
-
_initUnconstrained() {
|
|
1599
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1600
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer_Unconstrained, this);
|
|
1601
|
-
}
|
|
1602
|
-
get _isUnconstrained() {
|
|
1603
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 0;
|
|
1604
|
-
}
|
|
1605
|
-
set unconstrained(_) {
|
|
1606
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1607
|
-
}
|
|
1608
|
-
/**
|
|
1609
|
-
* This is actually a reference to a type parameter defined within this scope.
|
|
1610
|
-
*
|
|
1611
|
-
*/
|
|
1612
|
-
get parameter() {
|
|
1613
|
-
_chunkRNSYVJGAcjs.utils.testWhich("parameter", _chunkRNSYVJGAcjs.utils.getUint16(8, this), 1, this);
|
|
1614
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer_Parameter, this);
|
|
1615
|
-
}
|
|
1616
|
-
_initParameter() {
|
|
1617
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 1, this);
|
|
1618
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer_Parameter, this);
|
|
1619
|
-
}
|
|
1620
|
-
get _isParameter() {
|
|
1621
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 1;
|
|
1622
|
-
}
|
|
1623
|
-
set parameter(_) {
|
|
1624
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 1, this);
|
|
1625
|
-
}
|
|
1626
|
-
/**
|
|
1627
|
-
* This is actually a reference to an implicit (generic) parameter of a method. The only
|
|
1628
|
-
* legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
|
|
1629
|
-
*
|
|
1630
|
-
*/
|
|
1631
|
-
get implicitMethodParameter() {
|
|
1632
|
-
_chunkRNSYVJGAcjs.utils.testWhich("implicitMethodParameter", _chunkRNSYVJGAcjs.utils.getUint16(8, this), 2, this);
|
|
1633
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer_ImplicitMethodParameter, this);
|
|
1634
|
-
}
|
|
1635
|
-
_initImplicitMethodParameter() {
|
|
1636
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 2, this);
|
|
1637
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer_ImplicitMethodParameter, this);
|
|
1638
|
-
}
|
|
1639
|
-
get _isImplicitMethodParameter() {
|
|
1640
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 2;
|
|
1641
|
-
}
|
|
1642
|
-
set implicitMethodParameter(_) {
|
|
1643
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 2, this);
|
|
1644
|
-
}
|
|
1645
|
-
toString() {
|
|
1646
|
-
return "Type_AnyPointer_" + super.toString();
|
|
1647
|
-
}
|
|
1648
|
-
which() {
|
|
1649
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this);
|
|
1650
|
-
}
|
|
1651
|
-
}, _class25.__initStatic44(), _class25.__initStatic45(), _class25.__initStatic46(), _class25.__initStatic47(), _class25);
|
|
1652
|
-
var Type_Which = {
|
|
1653
|
-
VOID: 0,
|
|
1654
|
-
BOOL: 1,
|
|
1655
|
-
INT8: 2,
|
|
1656
|
-
INT16: 3,
|
|
1657
|
-
INT32: 4,
|
|
1658
|
-
INT64: 5,
|
|
1659
|
-
UINT8: 6,
|
|
1660
|
-
UINT16: 7,
|
|
1661
|
-
UINT32: 8,
|
|
1662
|
-
UINT64: 9,
|
|
1663
|
-
FLOAT32: 10,
|
|
1664
|
-
FLOAT64: 11,
|
|
1665
|
-
TEXT: 12,
|
|
1666
|
-
DATA: 13,
|
|
1667
|
-
LIST: 14,
|
|
1668
|
-
ENUM: 15,
|
|
1669
|
-
STRUCT: 16,
|
|
1670
|
-
INTERFACE: 17,
|
|
1671
|
-
ANY_POINTER: 18
|
|
1672
|
-
};
|
|
1673
|
-
var Type = (_class26 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1674
|
-
static {
|
|
1675
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Type");
|
|
1676
|
-
}
|
|
1677
|
-
static __initStatic48() {this.VOID = Type_Which.VOID}
|
|
1678
|
-
static __initStatic49() {this.BOOL = Type_Which.BOOL}
|
|
1679
|
-
static __initStatic50() {this.INT8 = Type_Which.INT8}
|
|
1680
|
-
static __initStatic51() {this.INT16 = Type_Which.INT16}
|
|
1681
|
-
static __initStatic52() {this.INT32 = Type_Which.INT32}
|
|
1682
|
-
static __initStatic53() {this.INT64 = Type_Which.INT64}
|
|
1683
|
-
static __initStatic54() {this.UINT8 = Type_Which.UINT8}
|
|
1684
|
-
static __initStatic55() {this.UINT16 = Type_Which.UINT16}
|
|
1685
|
-
static __initStatic56() {this.UINT32 = Type_Which.UINT32}
|
|
1686
|
-
static __initStatic57() {this.UINT64 = Type_Which.UINT64}
|
|
1687
|
-
static __initStatic58() {this.FLOAT32 = Type_Which.FLOAT32}
|
|
1688
|
-
static __initStatic59() {this.FLOAT64 = Type_Which.FLOAT64}
|
|
1689
|
-
static __initStatic60() {this.TEXT = Type_Which.TEXT}
|
|
1690
|
-
static __initStatic61() {this.DATA = Type_Which.DATA}
|
|
1691
|
-
static __initStatic62() {this.LIST = Type_Which.LIST}
|
|
1692
|
-
static __initStatic63() {this.ENUM = Type_Which.ENUM}
|
|
1693
|
-
static __initStatic64() {this.STRUCT = Type_Which.STRUCT}
|
|
1694
|
-
static __initStatic65() {this.INTERFACE = Type_Which.INTERFACE}
|
|
1695
|
-
static __initStatic66() {this.ANY_POINTER = Type_Which.ANY_POINTER}
|
|
1696
|
-
static __initStatic67() {this._capnp = {
|
|
1697
|
-
displayName: "Type",
|
|
1698
|
-
id: "d07378ede1f9cc60",
|
|
1699
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(24, 1)
|
|
1700
|
-
}}
|
|
1701
|
-
get _isVoid() {
|
|
1702
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 0;
|
|
1703
|
-
}
|
|
1704
|
-
set void(_) {
|
|
1705
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 0, this);
|
|
1706
|
-
}
|
|
1707
|
-
get _isBool() {
|
|
1708
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 1;
|
|
1709
|
-
}
|
|
1710
|
-
set bool(_) {
|
|
1711
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 1, this);
|
|
1712
|
-
}
|
|
1713
|
-
get _isInt8() {
|
|
1714
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 2;
|
|
1715
|
-
}
|
|
1716
|
-
set int8(_) {
|
|
1717
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 2, this);
|
|
1718
|
-
}
|
|
1719
|
-
get _isInt16() {
|
|
1720
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 3;
|
|
1721
|
-
}
|
|
1722
|
-
set int16(_) {
|
|
1723
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 3, this);
|
|
1724
|
-
}
|
|
1725
|
-
get _isInt32() {
|
|
1726
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 4;
|
|
1727
|
-
}
|
|
1728
|
-
set int32(_) {
|
|
1729
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 4, this);
|
|
1730
|
-
}
|
|
1731
|
-
get _isInt64() {
|
|
1732
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 5;
|
|
1733
|
-
}
|
|
1734
|
-
set int64(_) {
|
|
1735
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 5, this);
|
|
1736
|
-
}
|
|
1737
|
-
get _isUint8() {
|
|
1738
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 6;
|
|
1739
|
-
}
|
|
1740
|
-
set uint8(_) {
|
|
1741
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 6, this);
|
|
1742
|
-
}
|
|
1743
|
-
get _isUint16() {
|
|
1744
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 7;
|
|
1745
|
-
}
|
|
1746
|
-
set uint16(_) {
|
|
1747
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 7, this);
|
|
1748
|
-
}
|
|
1749
|
-
get _isUint32() {
|
|
1750
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 8;
|
|
1751
|
-
}
|
|
1752
|
-
set uint32(_) {
|
|
1753
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 8, this);
|
|
1754
|
-
}
|
|
1755
|
-
get _isUint64() {
|
|
1756
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 9;
|
|
1757
|
-
}
|
|
1758
|
-
set uint64(_) {
|
|
1759
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 9, this);
|
|
1760
|
-
}
|
|
1761
|
-
get _isFloat32() {
|
|
1762
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 10;
|
|
1763
|
-
}
|
|
1764
|
-
set float32(_) {
|
|
1765
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 10, this);
|
|
1766
|
-
}
|
|
1767
|
-
get _isFloat64() {
|
|
1768
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 11;
|
|
1769
|
-
}
|
|
1770
|
-
set float64(_) {
|
|
1771
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 11, this);
|
|
1772
|
-
}
|
|
1773
|
-
get _isText() {
|
|
1774
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 12;
|
|
1775
|
-
}
|
|
1776
|
-
set text(_) {
|
|
1777
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 12, this);
|
|
1778
|
-
}
|
|
1779
|
-
get _isData() {
|
|
1780
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 13;
|
|
1781
|
-
}
|
|
1782
|
-
set data(_) {
|
|
1783
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 13, this);
|
|
1784
|
-
}
|
|
1785
|
-
get list() {
|
|
1786
|
-
_chunkRNSYVJGAcjs.utils.testWhich("list", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 14, this);
|
|
1787
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_List, this);
|
|
1788
|
-
}
|
|
1789
|
-
_initList() {
|
|
1790
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 14, this);
|
|
1791
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_List, this);
|
|
1792
|
-
}
|
|
1793
|
-
get _isList() {
|
|
1794
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 14;
|
|
1795
|
-
}
|
|
1796
|
-
set list(_) {
|
|
1797
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 14, this);
|
|
1798
|
-
}
|
|
1799
|
-
get enum() {
|
|
1800
|
-
_chunkRNSYVJGAcjs.utils.testWhich("enum", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 15, this);
|
|
1801
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_Enum, this);
|
|
1802
|
-
}
|
|
1803
|
-
_initEnum() {
|
|
1804
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 15, this);
|
|
1805
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_Enum, this);
|
|
1806
|
-
}
|
|
1807
|
-
get _isEnum() {
|
|
1808
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 15;
|
|
1809
|
-
}
|
|
1810
|
-
set enum(_) {
|
|
1811
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 15, this);
|
|
1812
|
-
}
|
|
1813
|
-
get struct() {
|
|
1814
|
-
_chunkRNSYVJGAcjs.utils.testWhich("struct", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 16, this);
|
|
1815
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_Struct, this);
|
|
1816
|
-
}
|
|
1817
|
-
_initStruct() {
|
|
1818
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 16, this);
|
|
1819
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_Struct, this);
|
|
1820
|
-
}
|
|
1821
|
-
get _isStruct() {
|
|
1822
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 16;
|
|
1823
|
-
}
|
|
1824
|
-
set struct(_) {
|
|
1825
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 16, this);
|
|
1826
|
-
}
|
|
1827
|
-
get interface() {
|
|
1828
|
-
_chunkRNSYVJGAcjs.utils.testWhich("interface", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 17, this);
|
|
1829
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_Interface, this);
|
|
1830
|
-
}
|
|
1831
|
-
_initInterface() {
|
|
1832
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 17, this);
|
|
1833
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_Interface, this);
|
|
1834
|
-
}
|
|
1835
|
-
get _isInterface() {
|
|
1836
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 17;
|
|
1837
|
-
}
|
|
1838
|
-
set interface(_) {
|
|
1839
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 17, this);
|
|
1840
|
-
}
|
|
1841
|
-
get anyPointer() {
|
|
1842
|
-
_chunkRNSYVJGAcjs.utils.testWhich("anyPointer", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 18, this);
|
|
1843
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer, this);
|
|
1844
|
-
}
|
|
1845
|
-
_initAnyPointer() {
|
|
1846
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 18, this);
|
|
1847
|
-
return _chunkRNSYVJGAcjs.utils.getAs(Type_AnyPointer, this);
|
|
1848
|
-
}
|
|
1849
|
-
get _isAnyPointer() {
|
|
1850
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 18;
|
|
1851
|
-
}
|
|
1852
|
-
set anyPointer(_) {
|
|
1853
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 18, this);
|
|
1854
|
-
}
|
|
1855
|
-
toString() {
|
|
1856
|
-
return "Type_" + super.toString();
|
|
1857
|
-
}
|
|
1858
|
-
which() {
|
|
1859
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
1860
|
-
}
|
|
1861
|
-
}, _class26.__initStatic48(), _class26.__initStatic49(), _class26.__initStatic50(), _class26.__initStatic51(), _class26.__initStatic52(), _class26.__initStatic53(), _class26.__initStatic54(), _class26.__initStatic55(), _class26.__initStatic56(), _class26.__initStatic57(), _class26.__initStatic58(), _class26.__initStatic59(), _class26.__initStatic60(), _class26.__initStatic61(), _class26.__initStatic62(), _class26.__initStatic63(), _class26.__initStatic64(), _class26.__initStatic65(), _class26.__initStatic66(), _class26.__initStatic67(), _class26);
|
|
1862
|
-
var Brand_Scope_Which = {
|
|
1863
|
-
/**
|
|
1864
|
-
* ID of the scope to which these params apply.
|
|
1865
|
-
*
|
|
1866
|
-
*/
|
|
1867
|
-
BIND: 0,
|
|
1868
|
-
/**
|
|
1869
|
-
* List of parameter bindings.
|
|
1870
|
-
*
|
|
1871
|
-
*/
|
|
1872
|
-
INHERIT: 1
|
|
1873
|
-
};
|
|
1874
|
-
var Brand_Scope = (_class27 = class _Brand_Scope extends _chunkRNSYVJGAcjs.Struct {
|
|
1875
|
-
static {
|
|
1876
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Brand_Scope");
|
|
1877
|
-
}
|
|
1878
|
-
static __initStatic68() {this.BIND = Brand_Scope_Which.BIND}
|
|
1879
|
-
static __initStatic69() {this.INHERIT = Brand_Scope_Which.INHERIT}
|
|
1880
|
-
static __initStatic70() {this._capnp = {
|
|
1881
|
-
displayName: "Scope",
|
|
1882
|
-
id: "abd73485a9636bc9",
|
|
1883
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(16, 1)
|
|
1884
|
-
}}
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* ID of the scope to which these params apply.
|
|
1888
|
-
*
|
|
1889
|
-
*/
|
|
1890
|
-
get scopeId() {
|
|
1891
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
1892
|
-
}
|
|
1893
|
-
set scopeId(value) {
|
|
1894
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
1895
|
-
}
|
|
1896
|
-
_adoptBind(value) {
|
|
1897
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1898
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1899
|
-
}
|
|
1900
|
-
_disownBind() {
|
|
1901
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.bind);
|
|
1902
|
-
}
|
|
1903
|
-
/**
|
|
1904
|
-
* List of parameter bindings.
|
|
1905
|
-
*
|
|
1906
|
-
*/
|
|
1907
|
-
get bind() {
|
|
1908
|
-
_chunkRNSYVJGAcjs.utils.testWhich("bind", _chunkRNSYVJGAcjs.utils.getUint16(8, this), 0, this);
|
|
1909
|
-
return _chunkRNSYVJGAcjs.utils.getList(0, _Brand_Scope._Bind, this);
|
|
1910
|
-
}
|
|
1911
|
-
_hasBind() {
|
|
1912
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1913
|
-
}
|
|
1914
|
-
_initBind(length) {
|
|
1915
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1916
|
-
return _chunkRNSYVJGAcjs.utils.initList(0, _Brand_Scope._Bind, length, this);
|
|
1917
|
-
}
|
|
1918
|
-
get _isBind() {
|
|
1919
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 0;
|
|
1920
|
-
}
|
|
1921
|
-
set bind(value) {
|
|
1922
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 0, this);
|
|
1923
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1924
|
-
}
|
|
1925
|
-
get _isInherit() {
|
|
1926
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this) === 1;
|
|
1927
|
-
}
|
|
1928
|
-
set inherit(_) {
|
|
1929
|
-
_chunkRNSYVJGAcjs.utils.setUint16(8, 1, this);
|
|
1930
|
-
}
|
|
1931
|
-
toString() {
|
|
1932
|
-
return "Brand_Scope_" + super.toString();
|
|
1933
|
-
}
|
|
1934
|
-
which() {
|
|
1935
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(8, this);
|
|
1936
|
-
}
|
|
1937
|
-
}, _class27.__initStatic68(), _class27.__initStatic69(), _class27.__initStatic70(), _class27);
|
|
1938
|
-
var Brand_Binding_Which = {
|
|
1939
|
-
UNBOUND: 0,
|
|
1940
|
-
TYPE: 1
|
|
1941
|
-
};
|
|
1942
|
-
var Brand_Binding = (_class28 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
1943
|
-
static {
|
|
1944
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Brand_Binding");
|
|
1945
|
-
}
|
|
1946
|
-
static __initStatic71() {this.UNBOUND = Brand_Binding_Which.UNBOUND}
|
|
1947
|
-
static __initStatic72() {this.TYPE = Brand_Binding_Which.TYPE}
|
|
1948
|
-
static __initStatic73() {this._capnp = {
|
|
1949
|
-
displayName: "Binding",
|
|
1950
|
-
id: "c863cd16969ee7fc",
|
|
1951
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 1)
|
|
1952
|
-
}}
|
|
1953
|
-
get _isUnbound() {
|
|
1954
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 0;
|
|
1955
|
-
}
|
|
1956
|
-
set unbound(_) {
|
|
1957
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 0, this);
|
|
1958
|
-
}
|
|
1959
|
-
_adoptType(value) {
|
|
1960
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 1, this);
|
|
1961
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1962
|
-
}
|
|
1963
|
-
_disownType() {
|
|
1964
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.type);
|
|
1965
|
-
}
|
|
1966
|
-
get type() {
|
|
1967
|
-
_chunkRNSYVJGAcjs.utils.testWhich("type", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 1, this);
|
|
1968
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Type, this);
|
|
1969
|
-
}
|
|
1970
|
-
_hasType() {
|
|
1971
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1972
|
-
}
|
|
1973
|
-
_initType() {
|
|
1974
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 1, this);
|
|
1975
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Type, this);
|
|
1976
|
-
}
|
|
1977
|
-
get _isType() {
|
|
1978
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 1;
|
|
1979
|
-
}
|
|
1980
|
-
set type(value) {
|
|
1981
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 1, this);
|
|
1982
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
1983
|
-
}
|
|
1984
|
-
toString() {
|
|
1985
|
-
return "Brand_Binding_" + super.toString();
|
|
1986
|
-
}
|
|
1987
|
-
which() {
|
|
1988
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
1989
|
-
}
|
|
1990
|
-
}, _class28.__initStatic71(), _class28.__initStatic72(), _class28.__initStatic73(), _class28);
|
|
1991
|
-
var Brand = (_class29 = class _Brand extends _chunkRNSYVJGAcjs.Struct {
|
|
1992
|
-
static {
|
|
1993
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Brand");
|
|
1994
|
-
}
|
|
1995
|
-
static __initStatic74() {this.Scope = Brand_Scope}
|
|
1996
|
-
static __initStatic75() {this.Binding = Brand_Binding}
|
|
1997
|
-
static __initStatic76() {this._capnp = {
|
|
1998
|
-
displayName: "Brand",
|
|
1999
|
-
id: "903455f06065422b",
|
|
2000
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(0, 1)
|
|
2001
|
-
}}
|
|
2002
|
-
|
|
2003
|
-
_adoptScopes(value) {
|
|
2004
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2005
|
-
}
|
|
2006
|
-
_disownScopes() {
|
|
2007
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.scopes);
|
|
2008
|
-
}
|
|
2009
|
-
/**
|
|
2010
|
-
* For each of the target type and each of its parent scopes, a parameterization may be included
|
|
2011
|
-
* in this list. If no parameterization is included for a particular relevant scope, then either
|
|
2012
|
-
* that scope has no parameters or all parameters should be considered to be `AnyPointer`.
|
|
2013
|
-
*
|
|
2014
|
-
*/
|
|
2015
|
-
get scopes() {
|
|
2016
|
-
return _chunkRNSYVJGAcjs.utils.getList(0, _Brand._Scopes, this);
|
|
2017
|
-
}
|
|
2018
|
-
_hasScopes() {
|
|
2019
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2020
|
-
}
|
|
2021
|
-
_initScopes(length) {
|
|
2022
|
-
return _chunkRNSYVJGAcjs.utils.initList(0, _Brand._Scopes, length, this);
|
|
2023
|
-
}
|
|
2024
|
-
set scopes(value) {
|
|
2025
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2026
|
-
}
|
|
2027
|
-
toString() {
|
|
2028
|
-
return "Brand_" + super.toString();
|
|
2029
|
-
}
|
|
2030
|
-
}, _class29.__initStatic74(), _class29.__initStatic75(), _class29.__initStatic76(), _class29);
|
|
2031
|
-
var Value_Which = {
|
|
2032
|
-
VOID: 0,
|
|
2033
|
-
BOOL: 1,
|
|
2034
|
-
INT8: 2,
|
|
2035
|
-
INT16: 3,
|
|
2036
|
-
INT32: 4,
|
|
2037
|
-
INT64: 5,
|
|
2038
|
-
UINT8: 6,
|
|
2039
|
-
UINT16: 7,
|
|
2040
|
-
UINT32: 8,
|
|
2041
|
-
UINT64: 9,
|
|
2042
|
-
FLOAT32: 10,
|
|
2043
|
-
FLOAT64: 11,
|
|
2044
|
-
TEXT: 12,
|
|
2045
|
-
DATA: 13,
|
|
2046
|
-
LIST: 14,
|
|
2047
|
-
ENUM: 15,
|
|
2048
|
-
STRUCT: 16,
|
|
2049
|
-
/**
|
|
2050
|
-
* The only interface value that can be represented statically is "null", whose methods always
|
|
2051
|
-
* throw exceptions.
|
|
2052
|
-
*
|
|
2053
|
-
*/
|
|
2054
|
-
INTERFACE: 17,
|
|
2055
|
-
ANY_POINTER: 18
|
|
2056
|
-
};
|
|
2057
|
-
var Value = (_class30 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
2058
|
-
static {
|
|
2059
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Value");
|
|
2060
|
-
}
|
|
2061
|
-
static __initStatic77() {this.VOID = Value_Which.VOID}
|
|
2062
|
-
static __initStatic78() {this.BOOL = Value_Which.BOOL}
|
|
2063
|
-
static __initStatic79() {this.INT8 = Value_Which.INT8}
|
|
2064
|
-
static __initStatic80() {this.INT16 = Value_Which.INT16}
|
|
2065
|
-
static __initStatic81() {this.INT32 = Value_Which.INT32}
|
|
2066
|
-
static __initStatic82() {this.INT64 = Value_Which.INT64}
|
|
2067
|
-
static __initStatic83() {this.UINT8 = Value_Which.UINT8}
|
|
2068
|
-
static __initStatic84() {this.UINT16 = Value_Which.UINT16}
|
|
2069
|
-
static __initStatic85() {this.UINT32 = Value_Which.UINT32}
|
|
2070
|
-
static __initStatic86() {this.UINT64 = Value_Which.UINT64}
|
|
2071
|
-
static __initStatic87() {this.FLOAT32 = Value_Which.FLOAT32}
|
|
2072
|
-
static __initStatic88() {this.FLOAT64 = Value_Which.FLOAT64}
|
|
2073
|
-
static __initStatic89() {this.TEXT = Value_Which.TEXT}
|
|
2074
|
-
static __initStatic90() {this.DATA = Value_Which.DATA}
|
|
2075
|
-
static __initStatic91() {this.LIST = Value_Which.LIST}
|
|
2076
|
-
static __initStatic92() {this.ENUM = Value_Which.ENUM}
|
|
2077
|
-
static __initStatic93() {this.STRUCT = Value_Which.STRUCT}
|
|
2078
|
-
static __initStatic94() {this.INTERFACE = Value_Which.INTERFACE}
|
|
2079
|
-
static __initStatic95() {this.ANY_POINTER = Value_Which.ANY_POINTER}
|
|
2080
|
-
static __initStatic96() {this._capnp = {
|
|
2081
|
-
displayName: "Value",
|
|
2082
|
-
id: "ce23dcd2d7b00c9b",
|
|
2083
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(16, 1)
|
|
2084
|
-
}}
|
|
2085
|
-
get _isVoid() {
|
|
2086
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 0;
|
|
2087
|
-
}
|
|
2088
|
-
set void(_) {
|
|
2089
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 0, this);
|
|
2090
|
-
}
|
|
2091
|
-
get bool() {
|
|
2092
|
-
_chunkRNSYVJGAcjs.utils.testWhich("bool", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 1, this);
|
|
2093
|
-
return _chunkRNSYVJGAcjs.utils.getBit(16, this);
|
|
2094
|
-
}
|
|
2095
|
-
get _isBool() {
|
|
2096
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 1;
|
|
2097
|
-
}
|
|
2098
|
-
set bool(value) {
|
|
2099
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 1, this);
|
|
2100
|
-
_chunkRNSYVJGAcjs.utils.setBit(16, value, this);
|
|
2101
|
-
}
|
|
2102
|
-
get int8() {
|
|
2103
|
-
_chunkRNSYVJGAcjs.utils.testWhich("int8", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 2, this);
|
|
2104
|
-
return _chunkRNSYVJGAcjs.utils.getInt8(2, this);
|
|
2105
|
-
}
|
|
2106
|
-
get _isInt8() {
|
|
2107
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 2;
|
|
2108
|
-
}
|
|
2109
|
-
set int8(value) {
|
|
2110
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 2, this);
|
|
2111
|
-
_chunkRNSYVJGAcjs.utils.setInt8(2, value, this);
|
|
2112
|
-
}
|
|
2113
|
-
get int16() {
|
|
2114
|
-
_chunkRNSYVJGAcjs.utils.testWhich("int16", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 3, this);
|
|
2115
|
-
return _chunkRNSYVJGAcjs.utils.getInt16(2, this);
|
|
2116
|
-
}
|
|
2117
|
-
get _isInt16() {
|
|
2118
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 3;
|
|
2119
|
-
}
|
|
2120
|
-
set int16(value) {
|
|
2121
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 3, this);
|
|
2122
|
-
_chunkRNSYVJGAcjs.utils.setInt16(2, value, this);
|
|
2123
|
-
}
|
|
2124
|
-
get int32() {
|
|
2125
|
-
_chunkRNSYVJGAcjs.utils.testWhich("int32", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 4, this);
|
|
2126
|
-
return _chunkRNSYVJGAcjs.utils.getInt32(4, this);
|
|
2127
|
-
}
|
|
2128
|
-
get _isInt32() {
|
|
2129
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 4;
|
|
2130
|
-
}
|
|
2131
|
-
set int32(value) {
|
|
2132
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 4, this);
|
|
2133
|
-
_chunkRNSYVJGAcjs.utils.setInt32(4, value, this);
|
|
2134
|
-
}
|
|
2135
|
-
get int64() {
|
|
2136
|
-
_chunkRNSYVJGAcjs.utils.testWhich("int64", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 5, this);
|
|
2137
|
-
return _chunkRNSYVJGAcjs.utils.getInt64(8, this);
|
|
2138
|
-
}
|
|
2139
|
-
get _isInt64() {
|
|
2140
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 5;
|
|
2141
|
-
}
|
|
2142
|
-
set int64(value) {
|
|
2143
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 5, this);
|
|
2144
|
-
_chunkRNSYVJGAcjs.utils.setInt64(8, value, this);
|
|
2145
|
-
}
|
|
2146
|
-
get uint8() {
|
|
2147
|
-
_chunkRNSYVJGAcjs.utils.testWhich("uint8", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 6, this);
|
|
2148
|
-
return _chunkRNSYVJGAcjs.utils.getUint8(2, this);
|
|
2149
|
-
}
|
|
2150
|
-
get _isUint8() {
|
|
2151
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 6;
|
|
2152
|
-
}
|
|
2153
|
-
set uint8(value) {
|
|
2154
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 6, this);
|
|
2155
|
-
_chunkRNSYVJGAcjs.utils.setUint8(2, value, this);
|
|
2156
|
-
}
|
|
2157
|
-
get uint16() {
|
|
2158
|
-
_chunkRNSYVJGAcjs.utils.testWhich("uint16", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 7, this);
|
|
2159
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(2, this);
|
|
2160
|
-
}
|
|
2161
|
-
get _isUint16() {
|
|
2162
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 7;
|
|
2163
|
-
}
|
|
2164
|
-
set uint16(value) {
|
|
2165
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 7, this);
|
|
2166
|
-
_chunkRNSYVJGAcjs.utils.setUint16(2, value, this);
|
|
2167
|
-
}
|
|
2168
|
-
get uint32() {
|
|
2169
|
-
_chunkRNSYVJGAcjs.utils.testWhich("uint32", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 8, this);
|
|
2170
|
-
return _chunkRNSYVJGAcjs.utils.getUint32(4, this);
|
|
2171
|
-
}
|
|
2172
|
-
get _isUint32() {
|
|
2173
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 8;
|
|
2174
|
-
}
|
|
2175
|
-
set uint32(value) {
|
|
2176
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 8, this);
|
|
2177
|
-
_chunkRNSYVJGAcjs.utils.setUint32(4, value, this);
|
|
2178
|
-
}
|
|
2179
|
-
get uint64() {
|
|
2180
|
-
_chunkRNSYVJGAcjs.utils.testWhich("uint64", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 9, this);
|
|
2181
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(8, this);
|
|
2182
|
-
}
|
|
2183
|
-
get _isUint64() {
|
|
2184
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 9;
|
|
2185
|
-
}
|
|
2186
|
-
set uint64(value) {
|
|
2187
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 9, this);
|
|
2188
|
-
_chunkRNSYVJGAcjs.utils.setUint64(8, value, this);
|
|
2189
|
-
}
|
|
2190
|
-
get float32() {
|
|
2191
|
-
_chunkRNSYVJGAcjs.utils.testWhich("float32", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 10, this);
|
|
2192
|
-
return _chunkRNSYVJGAcjs.utils.getFloat32(4, this);
|
|
2193
|
-
}
|
|
2194
|
-
get _isFloat32() {
|
|
2195
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 10;
|
|
2196
|
-
}
|
|
2197
|
-
set float32(value) {
|
|
2198
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 10, this);
|
|
2199
|
-
_chunkRNSYVJGAcjs.utils.setFloat32(4, value, this);
|
|
2200
|
-
}
|
|
2201
|
-
get float64() {
|
|
2202
|
-
_chunkRNSYVJGAcjs.utils.testWhich("float64", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 11, this);
|
|
2203
|
-
return _chunkRNSYVJGAcjs.utils.getFloat64(8, this);
|
|
2204
|
-
}
|
|
2205
|
-
get _isFloat64() {
|
|
2206
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 11;
|
|
2207
|
-
}
|
|
2208
|
-
set float64(value) {
|
|
2209
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 11, this);
|
|
2210
|
-
_chunkRNSYVJGAcjs.utils.setFloat64(8, value, this);
|
|
2211
|
-
}
|
|
2212
|
-
get text() {
|
|
2213
|
-
_chunkRNSYVJGAcjs.utils.testWhich("text", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 12, this);
|
|
2214
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
2215
|
-
}
|
|
2216
|
-
get _isText() {
|
|
2217
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 12;
|
|
2218
|
-
}
|
|
2219
|
-
set text(value) {
|
|
2220
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 12, this);
|
|
2221
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
2222
|
-
}
|
|
2223
|
-
_adoptData(value) {
|
|
2224
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 13, this);
|
|
2225
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2226
|
-
}
|
|
2227
|
-
_disownData() {
|
|
2228
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.data);
|
|
2229
|
-
}
|
|
2230
|
-
get data() {
|
|
2231
|
-
_chunkRNSYVJGAcjs.utils.testWhich("data", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 13, this);
|
|
2232
|
-
return _chunkRNSYVJGAcjs.utils.getData(0, this);
|
|
2233
|
-
}
|
|
2234
|
-
_hasData() {
|
|
2235
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2236
|
-
}
|
|
2237
|
-
_initData(length) {
|
|
2238
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 13, this);
|
|
2239
|
-
return _chunkRNSYVJGAcjs.utils.initData(0, length, this);
|
|
2240
|
-
}
|
|
2241
|
-
get _isData() {
|
|
2242
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 13;
|
|
2243
|
-
}
|
|
2244
|
-
set data(value) {
|
|
2245
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 13, this);
|
|
2246
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2247
|
-
}
|
|
2248
|
-
_adoptList(value) {
|
|
2249
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 14, this);
|
|
2250
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2251
|
-
}
|
|
2252
|
-
_disownList() {
|
|
2253
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.list);
|
|
2254
|
-
}
|
|
2255
|
-
get list() {
|
|
2256
|
-
_chunkRNSYVJGAcjs.utils.testWhich("list", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 14, this);
|
|
2257
|
-
return _chunkRNSYVJGAcjs.utils.getPointer(0, this);
|
|
2258
|
-
}
|
|
2259
|
-
_hasList() {
|
|
2260
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2261
|
-
}
|
|
2262
|
-
get _isList() {
|
|
2263
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 14;
|
|
2264
|
-
}
|
|
2265
|
-
set list(value) {
|
|
2266
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 14, this);
|
|
2267
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2268
|
-
}
|
|
2269
|
-
get enum() {
|
|
2270
|
-
_chunkRNSYVJGAcjs.utils.testWhich("enum", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 15, this);
|
|
2271
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(2, this);
|
|
2272
|
-
}
|
|
2273
|
-
get _isEnum() {
|
|
2274
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 15;
|
|
2275
|
-
}
|
|
2276
|
-
set enum(value) {
|
|
2277
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 15, this);
|
|
2278
|
-
_chunkRNSYVJGAcjs.utils.setUint16(2, value, this);
|
|
2279
|
-
}
|
|
2280
|
-
_adoptStruct(value) {
|
|
2281
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 16, this);
|
|
2282
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2283
|
-
}
|
|
2284
|
-
_disownStruct() {
|
|
2285
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.struct);
|
|
2286
|
-
}
|
|
2287
|
-
get struct() {
|
|
2288
|
-
_chunkRNSYVJGAcjs.utils.testWhich("struct", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 16, this);
|
|
2289
|
-
return _chunkRNSYVJGAcjs.utils.getPointer(0, this);
|
|
2290
|
-
}
|
|
2291
|
-
_hasStruct() {
|
|
2292
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2293
|
-
}
|
|
2294
|
-
get _isStruct() {
|
|
2295
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 16;
|
|
2296
|
-
}
|
|
2297
|
-
set struct(value) {
|
|
2298
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 16, this);
|
|
2299
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2300
|
-
}
|
|
2301
|
-
get _isInterface() {
|
|
2302
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 17;
|
|
2303
|
-
}
|
|
2304
|
-
set interface(_) {
|
|
2305
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 17, this);
|
|
2306
|
-
}
|
|
2307
|
-
_adoptAnyPointer(value) {
|
|
2308
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 18, this);
|
|
2309
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2310
|
-
}
|
|
2311
|
-
_disownAnyPointer() {
|
|
2312
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.anyPointer);
|
|
2313
|
-
}
|
|
2314
|
-
get anyPointer() {
|
|
2315
|
-
_chunkRNSYVJGAcjs.utils.testWhich("anyPointer", _chunkRNSYVJGAcjs.utils.getUint16(0, this), 18, this);
|
|
2316
|
-
return _chunkRNSYVJGAcjs.utils.getPointer(0, this);
|
|
2317
|
-
}
|
|
2318
|
-
_hasAnyPointer() {
|
|
2319
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2320
|
-
}
|
|
2321
|
-
get _isAnyPointer() {
|
|
2322
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this) === 18;
|
|
2323
|
-
}
|
|
2324
|
-
set anyPointer(value) {
|
|
2325
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, 18, this);
|
|
2326
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2327
|
-
}
|
|
2328
|
-
toString() {
|
|
2329
|
-
return "Value_" + super.toString();
|
|
2330
|
-
}
|
|
2331
|
-
which() {
|
|
2332
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
2333
|
-
}
|
|
2334
|
-
}, _class30.__initStatic77(), _class30.__initStatic78(), _class30.__initStatic79(), _class30.__initStatic80(), _class30.__initStatic81(), _class30.__initStatic82(), _class30.__initStatic83(), _class30.__initStatic84(), _class30.__initStatic85(), _class30.__initStatic86(), _class30.__initStatic87(), _class30.__initStatic88(), _class30.__initStatic89(), _class30.__initStatic90(), _class30.__initStatic91(), _class30.__initStatic92(), _class30.__initStatic93(), _class30.__initStatic94(), _class30.__initStatic95(), _class30.__initStatic96(), _class30);
|
|
2335
|
-
var Annotation = (_class31 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
2336
|
-
static {
|
|
2337
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Annotation");
|
|
2338
|
-
}
|
|
2339
|
-
static __initStatic97() {this._capnp = {
|
|
2340
|
-
displayName: "Annotation",
|
|
2341
|
-
id: "f1c8950dab257542",
|
|
2342
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 2)
|
|
2343
|
-
}}
|
|
2344
|
-
/**
|
|
2345
|
-
* ID of the annotation node.
|
|
2346
|
-
*
|
|
2347
|
-
*/
|
|
2348
|
-
get id() {
|
|
2349
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
2350
|
-
}
|
|
2351
|
-
set id(value) {
|
|
2352
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
2353
|
-
}
|
|
2354
|
-
_adoptBrand(value) {
|
|
2355
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2356
|
-
}
|
|
2357
|
-
_disownBrand() {
|
|
2358
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.brand);
|
|
2359
|
-
}
|
|
2360
|
-
/**
|
|
2361
|
-
* Brand of the annotation.
|
|
2362
|
-
*
|
|
2363
|
-
* Note that the annotation itself is not allowed to be parameterized, but its scope might be.
|
|
2364
|
-
*
|
|
2365
|
-
*/
|
|
2366
|
-
get brand() {
|
|
2367
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(1, Brand, this);
|
|
2368
|
-
}
|
|
2369
|
-
_hasBrand() {
|
|
2370
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2371
|
-
}
|
|
2372
|
-
_initBrand() {
|
|
2373
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(1, Brand, this);
|
|
2374
|
-
}
|
|
2375
|
-
set brand(value) {
|
|
2376
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2377
|
-
}
|
|
2378
|
-
_adoptValue(value) {
|
|
2379
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2380
|
-
}
|
|
2381
|
-
_disownValue() {
|
|
2382
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.value);
|
|
2383
|
-
}
|
|
2384
|
-
get value() {
|
|
2385
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(0, Value, this);
|
|
2386
|
-
}
|
|
2387
|
-
_hasValue() {
|
|
2388
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2389
|
-
}
|
|
2390
|
-
_initValue() {
|
|
2391
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(0, Value, this);
|
|
2392
|
-
}
|
|
2393
|
-
set value(value) {
|
|
2394
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2395
|
-
}
|
|
2396
|
-
toString() {
|
|
2397
|
-
return "Annotation_" + super.toString();
|
|
2398
|
-
}
|
|
2399
|
-
}, _class31.__initStatic97(), _class31);
|
|
2400
|
-
var ElementSize = {
|
|
2401
|
-
/**
|
|
2402
|
-
* aka "void", but that's a keyword.
|
|
2403
|
-
*
|
|
2404
|
-
*/
|
|
2405
|
-
EMPTY: 0,
|
|
2406
|
-
BIT: 1,
|
|
2407
|
-
BYTE: 2,
|
|
2408
|
-
TWO_BYTES: 3,
|
|
2409
|
-
FOUR_BYTES: 4,
|
|
2410
|
-
EIGHT_BYTES: 5,
|
|
2411
|
-
POINTER: 6,
|
|
2412
|
-
INLINE_COMPOSITE: 7
|
|
2413
|
-
};
|
|
2414
|
-
var CapnpVersion = (_class32 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
2415
|
-
static {
|
|
2416
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "CapnpVersion");
|
|
2417
|
-
}
|
|
2418
|
-
static __initStatic98() {this._capnp = {
|
|
2419
|
-
displayName: "CapnpVersion",
|
|
2420
|
-
id: "d85d305b7d839963",
|
|
2421
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 0)
|
|
2422
|
-
}}
|
|
2423
|
-
get major() {
|
|
2424
|
-
return _chunkRNSYVJGAcjs.utils.getUint16(0, this);
|
|
2425
|
-
}
|
|
2426
|
-
set major(value) {
|
|
2427
|
-
_chunkRNSYVJGAcjs.utils.setUint16(0, value, this);
|
|
2428
|
-
}
|
|
2429
|
-
get minor() {
|
|
2430
|
-
return _chunkRNSYVJGAcjs.utils.getUint8(2, this);
|
|
2431
|
-
}
|
|
2432
|
-
set minor(value) {
|
|
2433
|
-
_chunkRNSYVJGAcjs.utils.setUint8(2, value, this);
|
|
2434
|
-
}
|
|
2435
|
-
get micro() {
|
|
2436
|
-
return _chunkRNSYVJGAcjs.utils.getUint8(3, this);
|
|
2437
|
-
}
|
|
2438
|
-
set micro(value) {
|
|
2439
|
-
_chunkRNSYVJGAcjs.utils.setUint8(3, value, this);
|
|
2440
|
-
}
|
|
2441
|
-
toString() {
|
|
2442
|
-
return "CapnpVersion_" + super.toString();
|
|
2443
|
-
}
|
|
2444
|
-
}, _class32.__initStatic98(), _class32);
|
|
2445
|
-
var CodeGeneratorRequest_RequestedFile_Import = (_class33 = class extends _chunkRNSYVJGAcjs.Struct {
|
|
2446
|
-
static {
|
|
2447
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "CodeGeneratorRequest_RequestedFile_Import");
|
|
2448
|
-
}
|
|
2449
|
-
static __initStatic99() {this._capnp = {
|
|
2450
|
-
displayName: "Import",
|
|
2451
|
-
id: "ae504193122357e5",
|
|
2452
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 1)
|
|
2453
|
-
}}
|
|
2454
|
-
/**
|
|
2455
|
-
* ID of the imported file.
|
|
2456
|
-
*
|
|
2457
|
-
*/
|
|
2458
|
-
get id() {
|
|
2459
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
2460
|
-
}
|
|
2461
|
-
set id(value) {
|
|
2462
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
2463
|
-
}
|
|
2464
|
-
/**
|
|
2465
|
-
* Name which *this* file used to refer to the foreign file. This may be a relative name.
|
|
2466
|
-
* This information is provided because it might be useful for code generation, e.g. to
|
|
2467
|
-
* generate #include directives in C++. We don't put this in Node.file because this
|
|
2468
|
-
* information is only meaningful at compile time anyway.
|
|
2469
|
-
*
|
|
2470
|
-
* (On Zooko's triangle, this is the import's petname according to the importing file.)
|
|
2471
|
-
*
|
|
2472
|
-
*/
|
|
2473
|
-
get name() {
|
|
2474
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
2475
|
-
}
|
|
2476
|
-
set name(value) {
|
|
2477
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
2478
|
-
}
|
|
2479
|
-
toString() {
|
|
2480
|
-
return "CodeGeneratorRequest_RequestedFile_Import_" + super.toString();
|
|
2481
|
-
}
|
|
2482
|
-
}, _class33.__initStatic99(), _class33);
|
|
2483
|
-
var CodeGeneratorRequest_RequestedFile = (_class34 = class _CodeGeneratorRequest_RequestedFile extends _chunkRNSYVJGAcjs.Struct {
|
|
2484
|
-
static {
|
|
2485
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "CodeGeneratorRequest_RequestedFile");
|
|
2486
|
-
}
|
|
2487
|
-
static __initStatic100() {this.Import = CodeGeneratorRequest_RequestedFile_Import}
|
|
2488
|
-
static __initStatic101() {this._capnp = {
|
|
2489
|
-
displayName: "RequestedFile",
|
|
2490
|
-
id: "cfea0eb02e810062",
|
|
2491
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(8, 2)
|
|
2492
|
-
}}
|
|
2493
|
-
|
|
2494
|
-
/**
|
|
2495
|
-
* ID of the file.
|
|
2496
|
-
*
|
|
2497
|
-
*/
|
|
2498
|
-
get id() {
|
|
2499
|
-
return _chunkRNSYVJGAcjs.utils.getUint64(0, this);
|
|
2500
|
-
}
|
|
2501
|
-
set id(value) {
|
|
2502
|
-
_chunkRNSYVJGAcjs.utils.setUint64(0, value, this);
|
|
2503
|
-
}
|
|
2504
|
-
/**
|
|
2505
|
-
* Name of the file as it appeared on the command-line (minus the src-prefix). You may use
|
|
2506
|
-
* this to decide where to write the output.
|
|
2507
|
-
*
|
|
2508
|
-
*/
|
|
2509
|
-
get filename() {
|
|
2510
|
-
return _chunkRNSYVJGAcjs.utils.getText(0, this);
|
|
2511
|
-
}
|
|
2512
|
-
set filename(value) {
|
|
2513
|
-
_chunkRNSYVJGAcjs.utils.setText(0, value, this);
|
|
2514
|
-
}
|
|
2515
|
-
_adoptImports(value) {
|
|
2516
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2517
|
-
}
|
|
2518
|
-
_disownImports() {
|
|
2519
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.imports);
|
|
2520
|
-
}
|
|
2521
|
-
/**
|
|
2522
|
-
* List of all imported paths seen in this file.
|
|
2523
|
-
*
|
|
2524
|
-
*/
|
|
2525
|
-
get imports() {
|
|
2526
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _CodeGeneratorRequest_RequestedFile._Imports, this);
|
|
2527
|
-
}
|
|
2528
|
-
_hasImports() {
|
|
2529
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2530
|
-
}
|
|
2531
|
-
_initImports(length) {
|
|
2532
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _CodeGeneratorRequest_RequestedFile._Imports, length, this);
|
|
2533
|
-
}
|
|
2534
|
-
set imports(value) {
|
|
2535
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2536
|
-
}
|
|
2537
|
-
toString() {
|
|
2538
|
-
return "CodeGeneratorRequest_RequestedFile_" + super.toString();
|
|
2539
|
-
}
|
|
2540
|
-
}, _class34.__initStatic100(), _class34.__initStatic101(), _class34);
|
|
2541
|
-
var CodeGeneratorRequest = (_class35 = class _CodeGeneratorRequest extends _chunkRNSYVJGAcjs.Struct {
|
|
2542
|
-
static {
|
|
2543
|
-
_chunkUSNT2KNTcjs.__name.call(void 0, this, "CodeGeneratorRequest");
|
|
2544
|
-
}
|
|
2545
|
-
static __initStatic102() {this.RequestedFile = CodeGeneratorRequest_RequestedFile}
|
|
2546
|
-
static __initStatic103() {this._capnp = {
|
|
2547
|
-
displayName: "CodeGeneratorRequest",
|
|
2548
|
-
id: "bfc546f6210ad7ce",
|
|
2549
|
-
size: new (0, _chunkRNSYVJGAcjs.ObjectSize)(0, 4)
|
|
2550
|
-
}}
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
_adoptCapnpVersion(value) {
|
|
2555
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
2556
|
-
}
|
|
2557
|
-
_disownCapnpVersion() {
|
|
2558
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.capnpVersion);
|
|
2559
|
-
}
|
|
2560
|
-
/**
|
|
2561
|
-
* Version of the `capnp` executable. Generally, code generators should ignore this, but the code
|
|
2562
|
-
* generators that ship with `capnp` itself will print a warning if this mismatches since that
|
|
2563
|
-
* probably indicates something is misconfigured.
|
|
2564
|
-
*
|
|
2565
|
-
* The first version of 'capnp' to set this was 0.6.0. So, if it's missing, the compiler version
|
|
2566
|
-
* is older than that.
|
|
2567
|
-
*
|
|
2568
|
-
*/
|
|
2569
|
-
get capnpVersion() {
|
|
2570
|
-
return _chunkRNSYVJGAcjs.utils.getStruct(2, CapnpVersion, this);
|
|
2571
|
-
}
|
|
2572
|
-
_hasCapnpVersion() {
|
|
2573
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
2574
|
-
}
|
|
2575
|
-
_initCapnpVersion() {
|
|
2576
|
-
return _chunkRNSYVJGAcjs.utils.initStructAt(2, CapnpVersion, this);
|
|
2577
|
-
}
|
|
2578
|
-
set capnpVersion(value) {
|
|
2579
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(2, this));
|
|
2580
|
-
}
|
|
2581
|
-
_adoptNodes(value) {
|
|
2582
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2583
|
-
}
|
|
2584
|
-
_disownNodes() {
|
|
2585
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.nodes);
|
|
2586
|
-
}
|
|
2587
|
-
/**
|
|
2588
|
-
* All nodes parsed by the compiler, including for the files on the command line and their
|
|
2589
|
-
* imports.
|
|
2590
|
-
*
|
|
2591
|
-
*/
|
|
2592
|
-
get nodes() {
|
|
2593
|
-
return _chunkRNSYVJGAcjs.utils.getList(0, _CodeGeneratorRequest._Nodes, this);
|
|
2594
|
-
}
|
|
2595
|
-
_hasNodes() {
|
|
2596
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2597
|
-
}
|
|
2598
|
-
_initNodes(length) {
|
|
2599
|
-
return _chunkRNSYVJGAcjs.utils.initList(0, _CodeGeneratorRequest._Nodes, length, this);
|
|
2600
|
-
}
|
|
2601
|
-
set nodes(value) {
|
|
2602
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(0, this));
|
|
2603
|
-
}
|
|
2604
|
-
_adoptSourceInfo(value) {
|
|
2605
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
2606
|
-
}
|
|
2607
|
-
_disownSourceInfo() {
|
|
2608
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.sourceInfo);
|
|
2609
|
-
}
|
|
2610
|
-
/**
|
|
2611
|
-
* Information about the original source code for each node, where available. This array may be
|
|
2612
|
-
* omitted or may be missing some nodes if no info is available for them.
|
|
2613
|
-
*
|
|
2614
|
-
*/
|
|
2615
|
-
get sourceInfo() {
|
|
2616
|
-
return _chunkRNSYVJGAcjs.utils.getList(3, _CodeGeneratorRequest._SourceInfo, this);
|
|
2617
|
-
}
|
|
2618
|
-
_hasSourceInfo() {
|
|
2619
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
2620
|
-
}
|
|
2621
|
-
_initSourceInfo(length) {
|
|
2622
|
-
return _chunkRNSYVJGAcjs.utils.initList(3, _CodeGeneratorRequest._SourceInfo, length, this);
|
|
2623
|
-
}
|
|
2624
|
-
set sourceInfo(value) {
|
|
2625
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(3, this));
|
|
2626
|
-
}
|
|
2627
|
-
_adoptRequestedFiles(value) {
|
|
2628
|
-
_chunkRNSYVJGAcjs.utils.adopt(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2629
|
-
}
|
|
2630
|
-
_disownRequestedFiles() {
|
|
2631
|
-
return _chunkRNSYVJGAcjs.utils.disown(this.requestedFiles);
|
|
2632
|
-
}
|
|
2633
|
-
/**
|
|
2634
|
-
* Files which were listed on the command line.
|
|
2635
|
-
*
|
|
2636
|
-
*/
|
|
2637
|
-
get requestedFiles() {
|
|
2638
|
-
return _chunkRNSYVJGAcjs.utils.getList(1, _CodeGeneratorRequest._RequestedFiles, this);
|
|
2639
|
-
}
|
|
2640
|
-
_hasRequestedFiles() {
|
|
2641
|
-
return !_chunkRNSYVJGAcjs.utils.isNull(_chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2642
|
-
}
|
|
2643
|
-
_initRequestedFiles(length) {
|
|
2644
|
-
return _chunkRNSYVJGAcjs.utils.initList(1, _CodeGeneratorRequest._RequestedFiles, length, this);
|
|
2645
|
-
}
|
|
2646
|
-
set requestedFiles(value) {
|
|
2647
|
-
_chunkRNSYVJGAcjs.utils.copyFrom(value, _chunkRNSYVJGAcjs.utils.getPointer(1, this));
|
|
2648
|
-
}
|
|
2649
|
-
toString() {
|
|
2650
|
-
return "CodeGeneratorRequest_" + super.toString();
|
|
2651
|
-
}
|
|
2652
|
-
}, _class35.__initStatic102(), _class35.__initStatic103(), _class35);
|
|
2653
|
-
Node_SourceInfo._Members = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Node_SourceInfo_Member);
|
|
2654
|
-
Node_Struct._Fields = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Field);
|
|
2655
|
-
Node_Enum._Enumerants = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Enumerant);
|
|
2656
|
-
Node_Interface._Methods = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Method);
|
|
2657
|
-
Node_Interface._Superclasses = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Superclass);
|
|
2658
|
-
Node._Parameters = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Node_Parameter);
|
|
2659
|
-
Node._NestedNodes = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Node_NestedNode);
|
|
2660
|
-
Node._Annotations = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Annotation);
|
|
2661
|
-
Field._Annotations = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Annotation);
|
|
2662
|
-
Enumerant._Annotations = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Annotation);
|
|
2663
|
-
Method._ImplicitParameters = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Node_Parameter);
|
|
2664
|
-
Method._Annotations = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Annotation);
|
|
2665
|
-
Brand_Scope._Bind = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Brand_Binding);
|
|
2666
|
-
Brand._Scopes = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Brand_Scope);
|
|
2667
|
-
CodeGeneratorRequest_RequestedFile._Imports = _chunkRNSYVJGAcjs.CompositeList.call(void 0, CodeGeneratorRequest_RequestedFile_Import);
|
|
2668
|
-
CodeGeneratorRequest._Nodes = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Node);
|
|
2669
|
-
CodeGeneratorRequest._SourceInfo = _chunkRNSYVJGAcjs.CompositeList.call(void 0, Node_SourceInfo);
|
|
2670
|
-
CodeGeneratorRequest._RequestedFiles = _chunkRNSYVJGAcjs.CompositeList.call(void 0, CodeGeneratorRequest_RequestedFile);
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
exports.Annotation = Annotation; exports.Brand = Brand; exports.Brand_Binding = Brand_Binding; exports.Brand_Binding_Which = Brand_Binding_Which; exports.Brand_Scope = Brand_Scope; exports.Brand_Scope_Which = Brand_Scope_Which; exports.CapnpVersion = CapnpVersion; exports.CodeGeneratorRequest = CodeGeneratorRequest; exports.CodeGeneratorRequest_RequestedFile = CodeGeneratorRequest_RequestedFile; exports.CodeGeneratorRequest_RequestedFile_Import = CodeGeneratorRequest_RequestedFile_Import; exports.ElementSize = ElementSize; exports.Enumerant = Enumerant; exports.Field = Field; exports.Field_Group = Field_Group; exports.Field_Ordinal = Field_Ordinal; exports.Field_Ordinal_Which = Field_Ordinal_Which; exports.Field_Slot = Field_Slot; exports.Field_Which = Field_Which; exports.Method = Method; exports.Node = Node; exports.Node_Annotation = Node_Annotation; exports.Node_Const = Node_Const; exports.Node_Enum = Node_Enum; exports.Node_Interface = Node_Interface; exports.Node_NestedNode = Node_NestedNode; exports.Node_Parameter = Node_Parameter; exports.Node_SourceInfo = Node_SourceInfo; exports.Node_SourceInfo_Member = Node_SourceInfo_Member; exports.Node_Struct = Node_Struct; exports.Node_Which = Node_Which; exports.Superclass = Superclass; exports.Type = Type; exports.Type_AnyPointer = Type_AnyPointer; exports.Type_AnyPointer_ImplicitMethodParameter = Type_AnyPointer_ImplicitMethodParameter; exports.Type_AnyPointer_Parameter = Type_AnyPointer_Parameter; exports.Type_AnyPointer_Unconstrained = Type_AnyPointer_Unconstrained; exports.Type_AnyPointer_Unconstrained_Which = Type_AnyPointer_Unconstrained_Which; exports.Type_AnyPointer_Which = Type_AnyPointer_Which; exports.Type_Enum = Type_Enum; exports.Type_Interface = Type_Interface; exports.Type_List = Type_List; exports.Type_Struct = Type_Struct; exports.Type_Which = Type_Which; exports.Value = Value; exports.Value_Which = Value_Which; exports._capnpFileId = _capnpFileId;
|
|
1
|
+
const e=require(`./src-DqnIPdOg.cjs`);let t=require(`./shared/capnp-es.0-_cOx6D.mjs`),n=require(`./shared/capnp-es.BvfUH5E6.mjs`);const r=BigInt(`0xa93fc509624c72d9`);var i=class extends t.S{static _capnp={displayName:`Parameter`,id:`b9521bccf10fa3b1`,size:new t.O(0,1)};get name(){return e.t.getText(0,this)}set name(t){e.t.setText(0,t,this)}toString(){return`Node_Parameter_`+super.toString()}},a=class extends t.S{static _capnp={displayName:`NestedNode`,id:`debf55bbfa0fc242`,size:new t.O(8,1)};get name(){return e.t.getText(0,this)}set name(t){e.t.setText(0,t,this)}get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}toString(){return`Node_NestedNode_`+super.toString()}},o=class extends t.S{static _capnp={displayName:`Member`,id:`c2ba9038898e1fa2`,size:new t.O(0,1)};get docComment(){return e.t.getText(0,this)}set docComment(t){e.t.setText(0,t,this)}toString(){return`Node_SourceInfo_Member_`+super.toString()}},s=class n extends t.S{static Member=o;static _capnp={displayName:`SourceInfo`,id:`f38e1de3041357ae`,size:new t.O(8,2)};static _Members;get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}get docComment(){return e.t.getText(0,this)}set docComment(t){e.t.setText(0,t,this)}_adoptMembers(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownMembers(){return e.t.disown(this.members)}get members(){return e.t.getList(1,n._Members,this)}_hasMembers(){return!e.t.isNull(e.t.getPointer(1,this))}_initMembers(t){return e.t.initList(1,n._Members,t,this)}set members(t){e.t.copyFrom(t,e.t.getPointer(1,this))}toString(){return`Node_SourceInfo_`+super.toString()}},c=class n extends t.S{static _capnp={displayName:`struct`,id:`9ea0b19b37fb4435`,size:new t.O(40,6)};static _Fields;get dataWordCount(){return e.t.getUint16(14,this)}set dataWordCount(t){e.t.setUint16(14,t,this)}get pointerCount(){return e.t.getUint16(24,this)}set pointerCount(t){e.t.setUint16(24,t,this)}get preferredListEncoding(){return e.t.getUint16(26,this)}set preferredListEncoding(t){e.t.setUint16(26,t,this)}get isGroup(){return e.t.getBit(224,this)}set isGroup(t){e.t.setBit(224,t,this)}get discriminantCount(){return e.t.getUint16(30,this)}set discriminantCount(t){e.t.setUint16(30,t,this)}get discriminantOffset(){return e.t.getUint32(32,this)}set discriminantOffset(t){e.t.setUint32(32,t,this)}_adoptFields(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownFields(){return e.t.disown(this.fields)}get fields(){return e.t.getList(3,n._Fields,this)}_hasFields(){return!e.t.isNull(e.t.getPointer(3,this))}_initFields(t){return e.t.initList(3,n._Fields,t,this)}set fields(t){e.t.copyFrom(t,e.t.getPointer(3,this))}toString(){return`Node_Struct_`+super.toString()}},l=class n extends t.S{static _capnp={displayName:`enum`,id:`b54ab3364333f598`,size:new t.O(40,6)};static _Enumerants;_adoptEnumerants(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownEnumerants(){return e.t.disown(this.enumerants)}get enumerants(){return e.t.getList(3,n._Enumerants,this)}_hasEnumerants(){return!e.t.isNull(e.t.getPointer(3,this))}_initEnumerants(t){return e.t.initList(3,n._Enumerants,t,this)}set enumerants(t){e.t.copyFrom(t,e.t.getPointer(3,this))}toString(){return`Node_Enum_`+super.toString()}},u=class n extends t.S{static _capnp={displayName:`interface`,id:`e82753cff0c2218f`,size:new t.O(40,6)};static _Methods;static _Superclasses;_adoptMethods(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownMethods(){return e.t.disown(this.methods)}get methods(){return e.t.getList(3,n._Methods,this)}_hasMethods(){return!e.t.isNull(e.t.getPointer(3,this))}_initMethods(t){return e.t.initList(3,n._Methods,t,this)}set methods(t){e.t.copyFrom(t,e.t.getPointer(3,this))}_adoptSuperclasses(t){e.t.adopt(t,e.t.getPointer(4,this))}_disownSuperclasses(){return e.t.disown(this.superclasses)}get superclasses(){return e.t.getList(4,n._Superclasses,this)}_hasSuperclasses(){return!e.t.isNull(e.t.getPointer(4,this))}_initSuperclasses(t){return e.t.initList(4,n._Superclasses,t,this)}set superclasses(t){e.t.copyFrom(t,e.t.getPointer(4,this))}toString(){return`Node_Interface_`+super.toString()}},d=class extends t.S{static _capnp={displayName:`const`,id:`b18aa5ac7a0d9420`,size:new t.O(40,6)};_adoptType(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownType(){return e.t.disown(this.type)}get type(){return e.t.getStruct(3,F,this)}_hasType(){return!e.t.isNull(e.t.getPointer(3,this))}_initType(){return e.t.initStructAt(3,F,this)}set type(t){e.t.copyFrom(t,e.t.getPointer(3,this))}_adoptValue(t){e.t.adopt(t,e.t.getPointer(4,this))}_disownValue(){return e.t.disown(this.value)}get value(){return e.t.getStruct(4,H,this)}_hasValue(){return!e.t.isNull(e.t.getPointer(4,this))}_initValue(){return e.t.initStructAt(4,H,this)}set value(t){e.t.copyFrom(t,e.t.getPointer(4,this))}toString(){return`Node_Const_`+super.toString()}},f=class extends t.S{static _capnp={displayName:`annotation`,id:`ec1619d4400a0290`,size:new t.O(40,6)};_adoptType(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownType(){return e.t.disown(this.type)}get type(){return e.t.getStruct(3,F,this)}_hasType(){return!e.t.isNull(e.t.getPointer(3,this))}_initType(){return e.t.initStructAt(3,F,this)}set type(t){e.t.copyFrom(t,e.t.getPointer(3,this))}get targetsFile(){return e.t.getBit(112,this)}set targetsFile(t){e.t.setBit(112,t,this)}get targetsConst(){return e.t.getBit(113,this)}set targetsConst(t){e.t.setBit(113,t,this)}get targetsEnum(){return e.t.getBit(114,this)}set targetsEnum(t){e.t.setBit(114,t,this)}get targetsEnumerant(){return e.t.getBit(115,this)}set targetsEnumerant(t){e.t.setBit(115,t,this)}get targetsStruct(){return e.t.getBit(116,this)}set targetsStruct(t){e.t.setBit(116,t,this)}get targetsField(){return e.t.getBit(117,this)}set targetsField(t){e.t.setBit(117,t,this)}get targetsUnion(){return e.t.getBit(118,this)}set targetsUnion(t){e.t.setBit(118,t,this)}get targetsGroup(){return e.t.getBit(119,this)}set targetsGroup(t){e.t.setBit(119,t,this)}get targetsInterface(){return e.t.getBit(120,this)}set targetsInterface(t){e.t.setBit(120,t,this)}get targetsMethod(){return e.t.getBit(121,this)}set targetsMethod(t){e.t.setBit(121,t,this)}get targetsParam(){return e.t.getBit(122,this)}set targetsParam(t){e.t.setBit(122,t,this)}get targetsAnnotation(){return e.t.getBit(123,this)}set targetsAnnotation(t){e.t.setBit(123,t,this)}toString(){return`Node_Annotation_`+super.toString()}};const p={FILE:0,STRUCT:1,ENUM:2,INTERFACE:3,CONST:4,ANNOTATION:5};var m=class n extends t.S{static FILE=p.FILE;static STRUCT=p.STRUCT;static ENUM=p.ENUM;static INTERFACE=p.INTERFACE;static CONST=p.CONST;static ANNOTATION=p.ANNOTATION;static Parameter=i;static NestedNode=a;static SourceInfo=s;static _capnp={displayName:`Node`,id:`e682ab4cf923a417`,size:new t.O(40,6)};static _Parameters;static _NestedNodes;static _Annotations;get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}get displayName(){return e.t.getText(0,this)}set displayName(t){e.t.setText(0,t,this)}get displayNamePrefixLength(){return e.t.getUint32(8,this)}set displayNamePrefixLength(t){e.t.setUint32(8,t,this)}get scopeId(){return e.t.getUint64(16,this)}set scopeId(t){e.t.setUint64(16,t,this)}_adoptParameters(t){e.t.adopt(t,e.t.getPointer(5,this))}_disownParameters(){return e.t.disown(this.parameters)}get parameters(){return e.t.getList(5,n._Parameters,this)}_hasParameters(){return!e.t.isNull(e.t.getPointer(5,this))}_initParameters(t){return e.t.initList(5,n._Parameters,t,this)}set parameters(t){e.t.copyFrom(t,e.t.getPointer(5,this))}get isGeneric(){return e.t.getBit(288,this)}set isGeneric(t){e.t.setBit(288,t,this)}_adoptNestedNodes(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownNestedNodes(){return e.t.disown(this.nestedNodes)}get nestedNodes(){return e.t.getList(1,n._NestedNodes,this)}_hasNestedNodes(){return!e.t.isNull(e.t.getPointer(1,this))}_initNestedNodes(t){return e.t.initList(1,n._NestedNodes,t,this)}set nestedNodes(t){e.t.copyFrom(t,e.t.getPointer(1,this))}_adoptAnnotations(t){e.t.adopt(t,e.t.getPointer(2,this))}_disownAnnotations(){return e.t.disown(this.annotations)}get annotations(){return e.t.getList(2,n._Annotations,this)}_hasAnnotations(){return!e.t.isNull(e.t.getPointer(2,this))}_initAnnotations(t){return e.t.initList(2,n._Annotations,t,this)}set annotations(t){e.t.copyFrom(t,e.t.getPointer(2,this))}get _isFile(){return e.t.getUint16(12,this)===0}set file(t){e.t.setUint16(12,0,this)}get struct(){return e.t.testWhich(`struct`,e.t.getUint16(12,this),1,this),e.t.getAs(c,this)}_initStruct(){return e.t.setUint16(12,1,this),e.t.getAs(c,this)}get _isStruct(){return e.t.getUint16(12,this)===1}set struct(t){e.t.setUint16(12,1,this)}get enum(){return e.t.testWhich(`enum`,e.t.getUint16(12,this),2,this),e.t.getAs(l,this)}_initEnum(){return e.t.setUint16(12,2,this),e.t.getAs(l,this)}get _isEnum(){return e.t.getUint16(12,this)===2}set enum(t){e.t.setUint16(12,2,this)}get interface(){return e.t.testWhich(`interface`,e.t.getUint16(12,this),3,this),e.t.getAs(u,this)}_initInterface(){return e.t.setUint16(12,3,this),e.t.getAs(u,this)}get _isInterface(){return e.t.getUint16(12,this)===3}set interface(t){e.t.setUint16(12,3,this)}get const(){return e.t.testWhich(`const`,e.t.getUint16(12,this),4,this),e.t.getAs(d,this)}_initConst(){return e.t.setUint16(12,4,this),e.t.getAs(d,this)}get _isConst(){return e.t.getUint16(12,this)===4}set const(t){e.t.setUint16(12,4,this)}get annotation(){return e.t.testWhich(`annotation`,e.t.getUint16(12,this),5,this),e.t.getAs(f,this)}_initAnnotation(){return e.t.setUint16(12,5,this),e.t.getAs(f,this)}get _isAnnotation(){return e.t.getUint16(12,this)===5}set annotation(t){e.t.setUint16(12,5,this)}toString(){return`Node_`+super.toString()}which(){return e.t.getUint16(12,this)}},h=class extends t.S{static _capnp={displayName:`slot`,id:`c42305476bb4746f`,size:new t.O(24,4)};get offset(){return e.t.getUint32(4,this)}set offset(t){e.t.setUint32(4,t,this)}_adoptType(t){e.t.adopt(t,e.t.getPointer(2,this))}_disownType(){return e.t.disown(this.type)}get type(){return e.t.getStruct(2,F,this)}_hasType(){return!e.t.isNull(e.t.getPointer(2,this))}_initType(){return e.t.initStructAt(2,F,this)}set type(t){e.t.copyFrom(t,e.t.getPointer(2,this))}_adoptDefaultValue(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownDefaultValue(){return e.t.disown(this.defaultValue)}get defaultValue(){return e.t.getStruct(3,H,this)}_hasDefaultValue(){return!e.t.isNull(e.t.getPointer(3,this))}_initDefaultValue(){return e.t.initStructAt(3,H,this)}set defaultValue(t){e.t.copyFrom(t,e.t.getPointer(3,this))}get hadExplicitDefault(){return e.t.getBit(128,this)}set hadExplicitDefault(t){e.t.setBit(128,t,this)}toString(){return`Field_Slot_`+super.toString()}},g=class extends t.S{static _capnp={displayName:`group`,id:`cafccddb68db1d11`,size:new t.O(24,4)};get typeId(){return e.t.getUint64(16,this)}set typeId(t){e.t.setUint64(16,t,this)}toString(){return`Field_Group_`+super.toString()}};const _={IMPLICIT:0,EXPLICIT:1};var v=class extends t.S{static IMPLICIT=_.IMPLICIT;static EXPLICIT=_.EXPLICIT;static _capnp={displayName:`ordinal`,id:`bb90d5c287870be6`,size:new t.O(24,4)};get _isImplicit(){return e.t.getUint16(10,this)===0}set implicit(t){e.t.setUint16(10,0,this)}get explicit(){return e.t.testWhich(`explicit`,e.t.getUint16(10,this),1,this),e.t.getUint16(12,this)}get _isExplicit(){return e.t.getUint16(10,this)===1}set explicit(t){e.t.setUint16(10,1,this),e.t.setUint16(12,t,this)}toString(){return`Field_Ordinal_`+super.toString()}which(){return e.t.getUint16(10,this)}};const y={SLOT:0,GROUP:1};var b=class r extends t.S{static NO_DISCRIMINANT=65535;static SLOT=y.SLOT;static GROUP=y.GROUP;static _capnp={displayName:`Field`,id:`9aad50a41f4af45f`,size:new t.O(24,4),defaultDiscriminantValue:n.b(65535)};static _Annotations;get name(){return e.t.getText(0,this)}set name(t){e.t.setText(0,t,this)}get codeOrder(){return e.t.getUint16(0,this)}set codeOrder(t){e.t.setUint16(0,t,this)}_adoptAnnotations(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownAnnotations(){return e.t.disown(this.annotations)}get annotations(){return e.t.getList(1,r._Annotations,this)}_hasAnnotations(){return!e.t.isNull(e.t.getPointer(1,this))}_initAnnotations(t){return e.t.initList(1,r._Annotations,t,this)}set annotations(t){e.t.copyFrom(t,e.t.getPointer(1,this))}get discriminantValue(){return e.t.getUint16(2,this,r._capnp.defaultDiscriminantValue)}set discriminantValue(t){e.t.setUint16(2,t,this,r._capnp.defaultDiscriminantValue)}get slot(){return e.t.testWhich(`slot`,e.t.getUint16(8,this),0,this),e.t.getAs(h,this)}_initSlot(){return e.t.setUint16(8,0,this),e.t.getAs(h,this)}get _isSlot(){return e.t.getUint16(8,this)===0}set slot(t){e.t.setUint16(8,0,this)}get group(){return e.t.testWhich(`group`,e.t.getUint16(8,this),1,this),e.t.getAs(g,this)}_initGroup(){return e.t.setUint16(8,1,this),e.t.getAs(g,this)}get _isGroup(){return e.t.getUint16(8,this)===1}set group(t){e.t.setUint16(8,1,this)}get ordinal(){return e.t.getAs(v,this)}_initOrdinal(){return e.t.getAs(v,this)}toString(){return`Field_`+super.toString()}which(){return e.t.getUint16(8,this)}},x=class n extends t.S{static _capnp={displayName:`Enumerant`,id:`978a7cebdc549a4d`,size:new t.O(8,2)};static _Annotations;get name(){return e.t.getText(0,this)}set name(t){e.t.setText(0,t,this)}get codeOrder(){return e.t.getUint16(0,this)}set codeOrder(t){e.t.setUint16(0,t,this)}_adoptAnnotations(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownAnnotations(){return e.t.disown(this.annotations)}get annotations(){return e.t.getList(1,n._Annotations,this)}_hasAnnotations(){return!e.t.isNull(e.t.getPointer(1,this))}_initAnnotations(t){return e.t.initList(1,n._Annotations,t,this)}set annotations(t){e.t.copyFrom(t,e.t.getPointer(1,this))}toString(){return`Enumerant_`+super.toString()}},S=class extends t.S{static _capnp={displayName:`Superclass`,id:`a9962a9ed0a4d7f8`,size:new t.O(8,1)};get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}_adoptBrand(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownBrand(){return e.t.disown(this.brand)}get brand(){return e.t.getStruct(0,B,this)}_hasBrand(){return!e.t.isNull(e.t.getPointer(0,this))}_initBrand(){return e.t.initStructAt(0,B,this)}set brand(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Superclass_`+super.toString()}},C=class n extends t.S{static _capnp={displayName:`Method`,id:`9500cce23b334d80`,size:new t.O(24,5)};static _ImplicitParameters;static _Annotations;get name(){return e.t.getText(0,this)}set name(t){e.t.setText(0,t,this)}get codeOrder(){return e.t.getUint16(0,this)}set codeOrder(t){e.t.setUint16(0,t,this)}_adoptImplicitParameters(t){e.t.adopt(t,e.t.getPointer(4,this))}_disownImplicitParameters(){return e.t.disown(this.implicitParameters)}get implicitParameters(){return e.t.getList(4,n._ImplicitParameters,this)}_hasImplicitParameters(){return!e.t.isNull(e.t.getPointer(4,this))}_initImplicitParameters(t){return e.t.initList(4,n._ImplicitParameters,t,this)}set implicitParameters(t){e.t.copyFrom(t,e.t.getPointer(4,this))}get paramStructType(){return e.t.getUint64(8,this)}set paramStructType(t){e.t.setUint64(8,t,this)}_adoptParamBrand(t){e.t.adopt(t,e.t.getPointer(2,this))}_disownParamBrand(){return e.t.disown(this.paramBrand)}get paramBrand(){return e.t.getStruct(2,B,this)}_hasParamBrand(){return!e.t.isNull(e.t.getPointer(2,this))}_initParamBrand(){return e.t.initStructAt(2,B,this)}set paramBrand(t){e.t.copyFrom(t,e.t.getPointer(2,this))}get resultStructType(){return e.t.getUint64(16,this)}set resultStructType(t){e.t.setUint64(16,t,this)}_adoptResultBrand(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownResultBrand(){return e.t.disown(this.resultBrand)}get resultBrand(){return e.t.getStruct(3,B,this)}_hasResultBrand(){return!e.t.isNull(e.t.getPointer(3,this))}_initResultBrand(){return e.t.initStructAt(3,B,this)}set resultBrand(t){e.t.copyFrom(t,e.t.getPointer(3,this))}_adoptAnnotations(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownAnnotations(){return e.t.disown(this.annotations)}get annotations(){return e.t.getList(1,n._Annotations,this)}_hasAnnotations(){return!e.t.isNull(e.t.getPointer(1,this))}_initAnnotations(t){return e.t.initList(1,n._Annotations,t,this)}set annotations(t){e.t.copyFrom(t,e.t.getPointer(1,this))}toString(){return`Method_`+super.toString()}},w=class extends t.S{static _capnp={displayName:`list`,id:`87e739250a60ea97`,size:new t.O(24,1)};_adoptElementType(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownElementType(){return e.t.disown(this.elementType)}get elementType(){return e.t.getStruct(0,F,this)}_hasElementType(){return!e.t.isNull(e.t.getPointer(0,this))}_initElementType(){return e.t.initStructAt(0,F,this)}set elementType(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Type_List_`+super.toString()}},T=class extends t.S{static _capnp={displayName:`enum`,id:`9e0e78711a7f87a9`,size:new t.O(24,1)};get typeId(){return e.t.getUint64(8,this)}set typeId(t){e.t.setUint64(8,t,this)}_adoptBrand(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownBrand(){return e.t.disown(this.brand)}get brand(){return e.t.getStruct(0,B,this)}_hasBrand(){return!e.t.isNull(e.t.getPointer(0,this))}_initBrand(){return e.t.initStructAt(0,B,this)}set brand(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Type_Enum_`+super.toString()}},E=class extends t.S{static _capnp={displayName:`struct`,id:`ac3a6f60ef4cc6d3`,size:new t.O(24,1)};get typeId(){return e.t.getUint64(8,this)}set typeId(t){e.t.setUint64(8,t,this)}_adoptBrand(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownBrand(){return e.t.disown(this.brand)}get brand(){return e.t.getStruct(0,B,this)}_hasBrand(){return!e.t.isNull(e.t.getPointer(0,this))}_initBrand(){return e.t.initStructAt(0,B,this)}set brand(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Type_Struct_`+super.toString()}},D=class extends t.S{static _capnp={displayName:`interface`,id:`ed8bca69f7fb0cbf`,size:new t.O(24,1)};get typeId(){return e.t.getUint64(8,this)}set typeId(t){e.t.setUint64(8,t,this)}_adoptBrand(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownBrand(){return e.t.disown(this.brand)}get brand(){return e.t.getStruct(0,B,this)}_hasBrand(){return!e.t.isNull(e.t.getPointer(0,this))}_initBrand(){return e.t.initStructAt(0,B,this)}set brand(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Type_Interface_`+super.toString()}};const O={ANY_KIND:0,STRUCT:1,LIST:2,CAPABILITY:3};var k=class extends t.S{static ANY_KIND=O.ANY_KIND;static STRUCT=O.STRUCT;static LIST=O.LIST;static CAPABILITY=O.CAPABILITY;static _capnp={displayName:`unconstrained`,id:`8e3b5f79fe593656`,size:new t.O(24,1)};get _isAnyKind(){return e.t.getUint16(10,this)===0}set anyKind(t){e.t.setUint16(10,0,this)}get _isStruct(){return e.t.getUint16(10,this)===1}set struct(t){e.t.setUint16(10,1,this)}get _isList(){return e.t.getUint16(10,this)===2}set list(t){e.t.setUint16(10,2,this)}get _isCapability(){return e.t.getUint16(10,this)===3}set capability(t){e.t.setUint16(10,3,this)}toString(){return`Type_AnyPointer_Unconstrained_`+super.toString()}which(){return e.t.getUint16(10,this)}},A=class extends t.S{static _capnp={displayName:`parameter`,id:`9dd1f724f4614a85`,size:new t.O(24,1)};get scopeId(){return e.t.getUint64(16,this)}set scopeId(t){e.t.setUint64(16,t,this)}get parameterIndex(){return e.t.getUint16(10,this)}set parameterIndex(t){e.t.setUint16(10,t,this)}toString(){return`Type_AnyPointer_Parameter_`+super.toString()}},j=class extends t.S{static _capnp={displayName:`implicitMethodParameter`,id:`baefc9120c56e274`,size:new t.O(24,1)};get parameterIndex(){return e.t.getUint16(10,this)}set parameterIndex(t){e.t.setUint16(10,t,this)}toString(){return`Type_AnyPointer_ImplicitMethodParameter_`+super.toString()}};const M={UNCONSTRAINED:0,PARAMETER:1,IMPLICIT_METHOD_PARAMETER:2};var N=class extends t.S{static UNCONSTRAINED=M.UNCONSTRAINED;static PARAMETER=M.PARAMETER;static IMPLICIT_METHOD_PARAMETER=M.IMPLICIT_METHOD_PARAMETER;static _capnp={displayName:`anyPointer`,id:`c2573fe8a23e49f1`,size:new t.O(24,1)};get unconstrained(){return e.t.testWhich(`unconstrained`,e.t.getUint16(8,this),0,this),e.t.getAs(k,this)}_initUnconstrained(){return e.t.setUint16(8,0,this),e.t.getAs(k,this)}get _isUnconstrained(){return e.t.getUint16(8,this)===0}set unconstrained(t){e.t.setUint16(8,0,this)}get parameter(){return e.t.testWhich(`parameter`,e.t.getUint16(8,this),1,this),e.t.getAs(A,this)}_initParameter(){return e.t.setUint16(8,1,this),e.t.getAs(A,this)}get _isParameter(){return e.t.getUint16(8,this)===1}set parameter(t){e.t.setUint16(8,1,this)}get implicitMethodParameter(){return e.t.testWhich(`implicitMethodParameter`,e.t.getUint16(8,this),2,this),e.t.getAs(j,this)}_initImplicitMethodParameter(){return e.t.setUint16(8,2,this),e.t.getAs(j,this)}get _isImplicitMethodParameter(){return e.t.getUint16(8,this)===2}set implicitMethodParameter(t){e.t.setUint16(8,2,this)}toString(){return`Type_AnyPointer_`+super.toString()}which(){return e.t.getUint16(8,this)}};const P={VOID:0,BOOL:1,INT8:2,INT16:3,INT32:4,INT64:5,UINT8:6,UINT16:7,UINT32:8,UINT64:9,FLOAT32:10,FLOAT64:11,TEXT:12,DATA:13,LIST:14,ENUM:15,STRUCT:16,INTERFACE:17,ANY_POINTER:18};var F=class extends t.S{static VOID=P.VOID;static BOOL=P.BOOL;static INT8=P.INT8;static INT16=P.INT16;static INT32=P.INT32;static INT64=P.INT64;static UINT8=P.UINT8;static UINT16=P.UINT16;static UINT32=P.UINT32;static UINT64=P.UINT64;static FLOAT32=P.FLOAT32;static FLOAT64=P.FLOAT64;static TEXT=P.TEXT;static DATA=P.DATA;static LIST=P.LIST;static ENUM=P.ENUM;static STRUCT=P.STRUCT;static INTERFACE=P.INTERFACE;static ANY_POINTER=P.ANY_POINTER;static _capnp={displayName:`Type`,id:`d07378ede1f9cc60`,size:new t.O(24,1)};get _isVoid(){return e.t.getUint16(0,this)===0}set void(t){e.t.setUint16(0,0,this)}get _isBool(){return e.t.getUint16(0,this)===1}set bool(t){e.t.setUint16(0,1,this)}get _isInt8(){return e.t.getUint16(0,this)===2}set int8(t){e.t.setUint16(0,2,this)}get _isInt16(){return e.t.getUint16(0,this)===3}set int16(t){e.t.setUint16(0,3,this)}get _isInt32(){return e.t.getUint16(0,this)===4}set int32(t){e.t.setUint16(0,4,this)}get _isInt64(){return e.t.getUint16(0,this)===5}set int64(t){e.t.setUint16(0,5,this)}get _isUint8(){return e.t.getUint16(0,this)===6}set uint8(t){e.t.setUint16(0,6,this)}get _isUint16(){return e.t.getUint16(0,this)===7}set uint16(t){e.t.setUint16(0,7,this)}get _isUint32(){return e.t.getUint16(0,this)===8}set uint32(t){e.t.setUint16(0,8,this)}get _isUint64(){return e.t.getUint16(0,this)===9}set uint64(t){e.t.setUint16(0,9,this)}get _isFloat32(){return e.t.getUint16(0,this)===10}set float32(t){e.t.setUint16(0,10,this)}get _isFloat64(){return e.t.getUint16(0,this)===11}set float64(t){e.t.setUint16(0,11,this)}get _isText(){return e.t.getUint16(0,this)===12}set text(t){e.t.setUint16(0,12,this)}get _isData(){return e.t.getUint16(0,this)===13}set data(t){e.t.setUint16(0,13,this)}get list(){return e.t.testWhich(`list`,e.t.getUint16(0,this),14,this),e.t.getAs(w,this)}_initList(){return e.t.setUint16(0,14,this),e.t.getAs(w,this)}get _isList(){return e.t.getUint16(0,this)===14}set list(t){e.t.setUint16(0,14,this)}get enum(){return e.t.testWhich(`enum`,e.t.getUint16(0,this),15,this),e.t.getAs(T,this)}_initEnum(){return e.t.setUint16(0,15,this),e.t.getAs(T,this)}get _isEnum(){return e.t.getUint16(0,this)===15}set enum(t){e.t.setUint16(0,15,this)}get struct(){return e.t.testWhich(`struct`,e.t.getUint16(0,this),16,this),e.t.getAs(E,this)}_initStruct(){return e.t.setUint16(0,16,this),e.t.getAs(E,this)}get _isStruct(){return e.t.getUint16(0,this)===16}set struct(t){e.t.setUint16(0,16,this)}get interface(){return e.t.testWhich(`interface`,e.t.getUint16(0,this),17,this),e.t.getAs(D,this)}_initInterface(){return e.t.setUint16(0,17,this),e.t.getAs(D,this)}get _isInterface(){return e.t.getUint16(0,this)===17}set interface(t){e.t.setUint16(0,17,this)}get anyPointer(){return e.t.testWhich(`anyPointer`,e.t.getUint16(0,this),18,this),e.t.getAs(N,this)}_initAnyPointer(){return e.t.setUint16(0,18,this),e.t.getAs(N,this)}get _isAnyPointer(){return e.t.getUint16(0,this)===18}set anyPointer(t){e.t.setUint16(0,18,this)}toString(){return`Type_`+super.toString()}which(){return e.t.getUint16(0,this)}};const I={BIND:0,INHERIT:1};var L=class n extends t.S{static BIND=I.BIND;static INHERIT=I.INHERIT;static _capnp={displayName:`Scope`,id:`abd73485a9636bc9`,size:new t.O(16,1)};static _Bind;get scopeId(){return e.t.getUint64(0,this)}set scopeId(t){e.t.setUint64(0,t,this)}_adoptBind(t){e.t.setUint16(8,0,this),e.t.adopt(t,e.t.getPointer(0,this))}_disownBind(){return e.t.disown(this.bind)}get bind(){return e.t.testWhich(`bind`,e.t.getUint16(8,this),0,this),e.t.getList(0,n._Bind,this)}_hasBind(){return!e.t.isNull(e.t.getPointer(0,this))}_initBind(t){return e.t.setUint16(8,0,this),e.t.initList(0,n._Bind,t,this)}get _isBind(){return e.t.getUint16(8,this)===0}set bind(t){e.t.setUint16(8,0,this),e.t.copyFrom(t,e.t.getPointer(0,this))}get _isInherit(){return e.t.getUint16(8,this)===1}set inherit(t){e.t.setUint16(8,1,this)}toString(){return`Brand_Scope_`+super.toString()}which(){return e.t.getUint16(8,this)}};const R={UNBOUND:0,TYPE:1};var z=class extends t.S{static UNBOUND=R.UNBOUND;static TYPE=R.TYPE;static _capnp={displayName:`Binding`,id:`c863cd16969ee7fc`,size:new t.O(8,1)};get _isUnbound(){return e.t.getUint16(0,this)===0}set unbound(t){e.t.setUint16(0,0,this)}_adoptType(t){e.t.setUint16(0,1,this),e.t.adopt(t,e.t.getPointer(0,this))}_disownType(){return e.t.disown(this.type)}get type(){return e.t.testWhich(`type`,e.t.getUint16(0,this),1,this),e.t.getStruct(0,F,this)}_hasType(){return!e.t.isNull(e.t.getPointer(0,this))}_initType(){return e.t.setUint16(0,1,this),e.t.initStructAt(0,F,this)}get _isType(){return e.t.getUint16(0,this)===1}set type(t){e.t.setUint16(0,1,this),e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Brand_Binding_`+super.toString()}which(){return e.t.getUint16(0,this)}},B=class n extends t.S{static Scope=L;static Binding=z;static _capnp={displayName:`Brand`,id:`903455f06065422b`,size:new t.O(0,1)};static _Scopes;_adoptScopes(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownScopes(){return e.t.disown(this.scopes)}get scopes(){return e.t.getList(0,n._Scopes,this)}_hasScopes(){return!e.t.isNull(e.t.getPointer(0,this))}_initScopes(t){return e.t.initList(0,n._Scopes,t,this)}set scopes(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Brand_`+super.toString()}};const V={VOID:0,BOOL:1,INT8:2,INT16:3,INT32:4,INT64:5,UINT8:6,UINT16:7,UINT32:8,UINT64:9,FLOAT32:10,FLOAT64:11,TEXT:12,DATA:13,LIST:14,ENUM:15,STRUCT:16,INTERFACE:17,ANY_POINTER:18};var H=class extends t.S{static VOID=V.VOID;static BOOL=V.BOOL;static INT8=V.INT8;static INT16=V.INT16;static INT32=V.INT32;static INT64=V.INT64;static UINT8=V.UINT8;static UINT16=V.UINT16;static UINT32=V.UINT32;static UINT64=V.UINT64;static FLOAT32=V.FLOAT32;static FLOAT64=V.FLOAT64;static TEXT=V.TEXT;static DATA=V.DATA;static LIST=V.LIST;static ENUM=V.ENUM;static STRUCT=V.STRUCT;static INTERFACE=V.INTERFACE;static ANY_POINTER=V.ANY_POINTER;static _capnp={displayName:`Value`,id:`ce23dcd2d7b00c9b`,size:new t.O(16,1)};get _isVoid(){return e.t.getUint16(0,this)===0}set void(t){e.t.setUint16(0,0,this)}get bool(){return e.t.testWhich(`bool`,e.t.getUint16(0,this),1,this),e.t.getBit(16,this)}get _isBool(){return e.t.getUint16(0,this)===1}set bool(t){e.t.setUint16(0,1,this),e.t.setBit(16,t,this)}get int8(){return e.t.testWhich(`int8`,e.t.getUint16(0,this),2,this),e.t.getInt8(2,this)}get _isInt8(){return e.t.getUint16(0,this)===2}set int8(t){e.t.setUint16(0,2,this),e.t.setInt8(2,t,this)}get int16(){return e.t.testWhich(`int16`,e.t.getUint16(0,this),3,this),e.t.getInt16(2,this)}get _isInt16(){return e.t.getUint16(0,this)===3}set int16(t){e.t.setUint16(0,3,this),e.t.setInt16(2,t,this)}get int32(){return e.t.testWhich(`int32`,e.t.getUint16(0,this),4,this),e.t.getInt32(4,this)}get _isInt32(){return e.t.getUint16(0,this)===4}set int32(t){e.t.setUint16(0,4,this),e.t.setInt32(4,t,this)}get int64(){return e.t.testWhich(`int64`,e.t.getUint16(0,this),5,this),e.t.getInt64(8,this)}get _isInt64(){return e.t.getUint16(0,this)===5}set int64(t){e.t.setUint16(0,5,this),e.t.setInt64(8,t,this)}get uint8(){return e.t.testWhich(`uint8`,e.t.getUint16(0,this),6,this),e.t.getUint8(2,this)}get _isUint8(){return e.t.getUint16(0,this)===6}set uint8(t){e.t.setUint16(0,6,this),e.t.setUint8(2,t,this)}get uint16(){return e.t.testWhich(`uint16`,e.t.getUint16(0,this),7,this),e.t.getUint16(2,this)}get _isUint16(){return e.t.getUint16(0,this)===7}set uint16(t){e.t.setUint16(0,7,this),e.t.setUint16(2,t,this)}get uint32(){return e.t.testWhich(`uint32`,e.t.getUint16(0,this),8,this),e.t.getUint32(4,this)}get _isUint32(){return e.t.getUint16(0,this)===8}set uint32(t){e.t.setUint16(0,8,this),e.t.setUint32(4,t,this)}get uint64(){return e.t.testWhich(`uint64`,e.t.getUint16(0,this),9,this),e.t.getUint64(8,this)}get _isUint64(){return e.t.getUint16(0,this)===9}set uint64(t){e.t.setUint16(0,9,this),e.t.setUint64(8,t,this)}get float32(){return e.t.testWhich(`float32`,e.t.getUint16(0,this),10,this),e.t.getFloat32(4,this)}get _isFloat32(){return e.t.getUint16(0,this)===10}set float32(t){e.t.setUint16(0,10,this),e.t.setFloat32(4,t,this)}get float64(){return e.t.testWhich(`float64`,e.t.getUint16(0,this),11,this),e.t.getFloat64(8,this)}get _isFloat64(){return e.t.getUint16(0,this)===11}set float64(t){e.t.setUint16(0,11,this),e.t.setFloat64(8,t,this)}get text(){return e.t.testWhich(`text`,e.t.getUint16(0,this),12,this),e.t.getText(0,this)}get _isText(){return e.t.getUint16(0,this)===12}set text(t){e.t.setUint16(0,12,this),e.t.setText(0,t,this)}_adoptData(t){e.t.setUint16(0,13,this),e.t.adopt(t,e.t.getPointer(0,this))}_disownData(){return e.t.disown(this.data)}get data(){return e.t.testWhich(`data`,e.t.getUint16(0,this),13,this),e.t.getData(0,this)}_hasData(){return!e.t.isNull(e.t.getPointer(0,this))}_initData(t){return e.t.setUint16(0,13,this),e.t.initData(0,t,this)}get _isData(){return e.t.getUint16(0,this)===13}set data(t){e.t.setUint16(0,13,this),e.t.copyFrom(t,e.t.getPointer(0,this))}_adoptList(t){e.t.setUint16(0,14,this),e.t.adopt(t,e.t.getPointer(0,this))}_disownList(){return e.t.disown(this.list)}get list(){return e.t.testWhich(`list`,e.t.getUint16(0,this),14,this),e.t.getPointer(0,this)}_hasList(){return!e.t.isNull(e.t.getPointer(0,this))}get _isList(){return e.t.getUint16(0,this)===14}set list(t){e.t.setUint16(0,14,this),e.t.copyFrom(t,e.t.getPointer(0,this))}get enum(){return e.t.testWhich(`enum`,e.t.getUint16(0,this),15,this),e.t.getUint16(2,this)}get _isEnum(){return e.t.getUint16(0,this)===15}set enum(t){e.t.setUint16(0,15,this),e.t.setUint16(2,t,this)}_adoptStruct(t){e.t.setUint16(0,16,this),e.t.adopt(t,e.t.getPointer(0,this))}_disownStruct(){return e.t.disown(this.struct)}get struct(){return e.t.testWhich(`struct`,e.t.getUint16(0,this),16,this),e.t.getPointer(0,this)}_hasStruct(){return!e.t.isNull(e.t.getPointer(0,this))}get _isStruct(){return e.t.getUint16(0,this)===16}set struct(t){e.t.setUint16(0,16,this),e.t.copyFrom(t,e.t.getPointer(0,this))}get _isInterface(){return e.t.getUint16(0,this)===17}set interface(t){e.t.setUint16(0,17,this)}_adoptAnyPointer(t){e.t.setUint16(0,18,this),e.t.adopt(t,e.t.getPointer(0,this))}_disownAnyPointer(){return e.t.disown(this.anyPointer)}get anyPointer(){return e.t.testWhich(`anyPointer`,e.t.getUint16(0,this),18,this),e.t.getPointer(0,this)}_hasAnyPointer(){return!e.t.isNull(e.t.getPointer(0,this))}get _isAnyPointer(){return e.t.getUint16(0,this)===18}set anyPointer(t){e.t.setUint16(0,18,this),e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Value_`+super.toString()}which(){return e.t.getUint16(0,this)}},U=class extends t.S{static _capnp={displayName:`Annotation`,id:`f1c8950dab257542`,size:new t.O(8,2)};get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}_adoptBrand(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownBrand(){return e.t.disown(this.brand)}get brand(){return e.t.getStruct(1,B,this)}_hasBrand(){return!e.t.isNull(e.t.getPointer(1,this))}_initBrand(){return e.t.initStructAt(1,B,this)}set brand(t){e.t.copyFrom(t,e.t.getPointer(1,this))}_adoptValue(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownValue(){return e.t.disown(this.value)}get value(){return e.t.getStruct(0,H,this)}_hasValue(){return!e.t.isNull(e.t.getPointer(0,this))}_initValue(){return e.t.initStructAt(0,H,this)}set value(t){e.t.copyFrom(t,e.t.getPointer(0,this))}toString(){return`Annotation_`+super.toString()}};const W={EMPTY:0,BIT:1,BYTE:2,TWO_BYTES:3,FOUR_BYTES:4,EIGHT_BYTES:5,POINTER:6,INLINE_COMPOSITE:7};var G=class extends t.S{static _capnp={displayName:`CapnpVersion`,id:`d85d305b7d839963`,size:new t.O(8,0)};get major(){return e.t.getUint16(0,this)}set major(t){e.t.setUint16(0,t,this)}get minor(){return e.t.getUint8(2,this)}set minor(t){e.t.setUint8(2,t,this)}get micro(){return e.t.getUint8(3,this)}set micro(t){e.t.setUint8(3,t,this)}toString(){return`CapnpVersion_`+super.toString()}},K=class extends t.S{static _capnp={displayName:`Import`,id:`ae504193122357e5`,size:new t.O(8,1)};get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}get name(){return e.t.getText(0,this)}set name(t){e.t.setText(0,t,this)}toString(){return`CodeGeneratorRequest_RequestedFile_Import_`+super.toString()}},q=class n extends t.S{static Import=K;static _capnp={displayName:`RequestedFile`,id:`cfea0eb02e810062`,size:new t.O(8,2)};static _Imports;get id(){return e.t.getUint64(0,this)}set id(t){e.t.setUint64(0,t,this)}get filename(){return e.t.getText(0,this)}set filename(t){e.t.setText(0,t,this)}_adoptImports(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownImports(){return e.t.disown(this.imports)}get imports(){return e.t.getList(1,n._Imports,this)}_hasImports(){return!e.t.isNull(e.t.getPointer(1,this))}_initImports(t){return e.t.initList(1,n._Imports,t,this)}set imports(t){e.t.copyFrom(t,e.t.getPointer(1,this))}toString(){return`CodeGeneratorRequest_RequestedFile_`+super.toString()}},J=class n extends t.S{static RequestedFile=q;static _capnp={displayName:`CodeGeneratorRequest`,id:`bfc546f6210ad7ce`,size:new t.O(0,4)};static _Nodes;static _SourceInfo;static _RequestedFiles;_adoptCapnpVersion(t){e.t.adopt(t,e.t.getPointer(2,this))}_disownCapnpVersion(){return e.t.disown(this.capnpVersion)}get capnpVersion(){return e.t.getStruct(2,G,this)}_hasCapnpVersion(){return!e.t.isNull(e.t.getPointer(2,this))}_initCapnpVersion(){return e.t.initStructAt(2,G,this)}set capnpVersion(t){e.t.copyFrom(t,e.t.getPointer(2,this))}_adoptNodes(t){e.t.adopt(t,e.t.getPointer(0,this))}_disownNodes(){return e.t.disown(this.nodes)}get nodes(){return e.t.getList(0,n._Nodes,this)}_hasNodes(){return!e.t.isNull(e.t.getPointer(0,this))}_initNodes(t){return e.t.initList(0,n._Nodes,t,this)}set nodes(t){e.t.copyFrom(t,e.t.getPointer(0,this))}_adoptSourceInfo(t){e.t.adopt(t,e.t.getPointer(3,this))}_disownSourceInfo(){return e.t.disown(this.sourceInfo)}get sourceInfo(){return e.t.getList(3,n._SourceInfo,this)}_hasSourceInfo(){return!e.t.isNull(e.t.getPointer(3,this))}_initSourceInfo(t){return e.t.initList(3,n._SourceInfo,t,this)}set sourceInfo(t){e.t.copyFrom(t,e.t.getPointer(3,this))}_adoptRequestedFiles(t){e.t.adopt(t,e.t.getPointer(1,this))}_disownRequestedFiles(){return e.t.disown(this.requestedFiles)}get requestedFiles(){return e.t.getList(1,n._RequestedFiles,this)}_hasRequestedFiles(){return!e.t.isNull(e.t.getPointer(1,this))}_initRequestedFiles(t){return e.t.initList(1,n._RequestedFiles,t,this)}set requestedFiles(t){e.t.copyFrom(t,e.t.getPointer(1,this))}toString(){return`CodeGeneratorRequest_`+super.toString()}};s._Members=n.C(o),c._Fields=n.C(b),l._Enumerants=n.C(x),u._Methods=n.C(C),u._Superclasses=n.C(S),m._Parameters=n.C(i),m._NestedNodes=n.C(a),m._Annotations=n.C(U),b._Annotations=n.C(U),x._Annotations=n.C(U),C._ImplicitParameters=n.C(i),C._Annotations=n.C(U),L._Bind=n.C(z),B._Scopes=n.C(L),q._Imports=n.C(K),J._Nodes=n.C(m),J._SourceInfo=n.C(s),J._RequestedFiles=n.C(q),exports.Annotation=U,exports.Brand=B,exports.Brand_Binding=z,exports.Brand_Binding_Which=R,exports.Brand_Scope=L,exports.Brand_Scope_Which=I,exports.CapnpVersion=G,exports.CodeGeneratorRequest=J,exports.CodeGeneratorRequest_RequestedFile=q,exports.CodeGeneratorRequest_RequestedFile_Import=K,exports.ElementSize=W,exports.Enumerant=x,exports.Field=b,exports.Field_Group=g,exports.Field_Ordinal=v,exports.Field_Ordinal_Which=_,exports.Field_Slot=h,exports.Field_Which=y,exports.Method=C,exports.Node=m,exports.Node_Annotation=f,exports.Node_Const=d,exports.Node_Enum=l,exports.Node_Interface=u,exports.Node_NestedNode=a,exports.Node_Parameter=i,exports.Node_SourceInfo=s,exports.Node_SourceInfo_Member=o,exports.Node_Struct=c,exports.Node_Which=p,exports.Superclass=S,exports.Type=F,exports.Type_AnyPointer=N,exports.Type_AnyPointer_ImplicitMethodParameter=j,exports.Type_AnyPointer_Parameter=A,exports.Type_AnyPointer_Unconstrained=k,exports.Type_AnyPointer_Unconstrained_Which=O,exports.Type_AnyPointer_Which=M,exports.Type_Enum=T,exports.Type_Interface=D,exports.Type_List=w,exports.Type_Struct=E,exports.Type_Which=P,exports.Value=H,exports.Value_Which=V,exports._capnpFileId=r;
|