@stryke/capnp 0.12.33 → 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 -8305
- 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 -8274
- package/dist/chunk-CCU32X36.js +0 -15
- package/dist/chunk-CR6KAGBK.cjs +0 -1083
- package/dist/chunk-GI42NGKQ.js +0 -3305
- package/dist/chunk-KMCJ5MIQ.cjs +0 -3305
- package/dist/chunk-KZJ47RES.cjs +0 -4107
- package/dist/chunk-LFP6TIPQ.cjs +0 -4760
- package/dist/chunk-PLGAFYIA.js +0 -4107
- package/dist/chunk-R2JXWA7Q.cjs +0 -15
- package/dist/chunk-SHUYVCID.js +0 -6
- package/dist/chunk-UGPSEAIJ.js +0 -1083
- 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.d.cts
CHANGED
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as index_d_exports } from "./index-b7dam4EA.cjs";
|
|
2
2
|
|
|
3
|
+
//#region schemas/schema.d.ts
|
|
3
4
|
declare const _capnpFileId: bigint;
|
|
4
5
|
/**
|
|
5
6
|
* Information about one of the node's parameters.
|
|
6
7
|
*
|
|
7
8
|
*/
|
|
8
|
-
declare class Node_Parameter extends Struct {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
declare class Node_Parameter extends index_d_exports.Struct {
|
|
10
|
+
static readonly _capnp: {
|
|
11
|
+
displayName: string;
|
|
12
|
+
id: string;
|
|
13
|
+
size: index_d_exports.ObjectSize;
|
|
14
|
+
};
|
|
15
|
+
get name(): string;
|
|
16
|
+
set name(value: string);
|
|
17
|
+
toString(): string;
|
|
17
18
|
}
|
|
18
|
-
declare class Node_NestedNode extends Struct {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
declare class Node_NestedNode extends index_d_exports.Struct {
|
|
20
|
+
static readonly _capnp: {
|
|
21
|
+
displayName: string;
|
|
22
|
+
id: string;
|
|
23
|
+
size: index_d_exports.ObjectSize;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
25
26
|
* Unqualified symbol name. Unlike Node.displayName, this *can* be used programmatically.
|
|
26
27
|
*
|
|
27
28
|
* (On Zooko's triangle, this is the node's petname according to its parent scope.)
|
|
28
29
|
*
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
get name(): string;
|
|
32
|
+
set name(value: string);
|
|
33
|
+
/**
|
|
33
34
|
* ID of the nested node. Typically, the target node's scopeId points back to this node, but
|
|
34
35
|
* robust code should avoid relying on this.
|
|
35
36
|
*
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
get id(): bigint;
|
|
39
|
+
set id(value: bigint);
|
|
40
|
+
toString(): string;
|
|
40
41
|
}
|
|
41
|
-
declare class Node_SourceInfo_Member extends Struct {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
declare class Node_SourceInfo_Member extends index_d_exports.Struct {
|
|
43
|
+
static readonly _capnp: {
|
|
44
|
+
displayName: string;
|
|
45
|
+
id: string;
|
|
46
|
+
size: index_d_exports.ObjectSize;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
48
49
|
* Doc comment on the member.
|
|
49
50
|
*
|
|
50
51
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
get docComment(): string;
|
|
53
|
+
set docComment(value: string);
|
|
54
|
+
toString(): string;
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
56
57
|
* Additional information about a node which is not needed at runtime, but may be useful for
|
|
@@ -59,29 +60,29 @@ declare class Node_SourceInfo_Member extends Struct {
|
|
|
59
60
|
* `CodeGeneratorRequest` includes this information in a separate array.
|
|
60
61
|
*
|
|
61
62
|
*/
|
|
62
|
-
declare class Node_SourceInfo extends Struct {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
declare class Node_SourceInfo extends index_d_exports.Struct {
|
|
64
|
+
static readonly Member: typeof Node_SourceInfo_Member;
|
|
65
|
+
static readonly _capnp: {
|
|
66
|
+
displayName: string;
|
|
67
|
+
id: string;
|
|
68
|
+
size: index_d_exports.ObjectSize;
|
|
69
|
+
};
|
|
70
|
+
static _Members: index_d_exports.ListCtor<Node_SourceInfo_Member>;
|
|
71
|
+
/**
|
|
71
72
|
* ID of the Node which this info describes.
|
|
72
73
|
*
|
|
73
74
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
get id(): bigint;
|
|
76
|
+
set id(value: bigint);
|
|
77
|
+
/**
|
|
77
78
|
* The top-level doc comment for the Node.
|
|
78
79
|
*
|
|
79
80
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
get docComment(): string;
|
|
82
|
+
set docComment(value: string);
|
|
83
|
+
_adoptMembers(value: index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo_Member>>): void;
|
|
84
|
+
_disownMembers(): index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo_Member>>;
|
|
85
|
+
/**
|
|
85
86
|
* Information about each member -- i.e. fields (for structs), enumerants (for enums), or
|
|
86
87
|
* methods (for interfaces).
|
|
87
88
|
*
|
|
@@ -89,40 +90,40 @@ declare class Node_SourceInfo extends Struct {
|
|
|
89
90
|
* Node.struct.fields, Node.enum.enumerants, or Node.interface.methods.
|
|
90
91
|
*
|
|
91
92
|
*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
get members(): index_d_exports.List<Node_SourceInfo_Member>;
|
|
94
|
+
_hasMembers(): boolean;
|
|
95
|
+
_initMembers(length: number): index_d_exports.List<Node_SourceInfo_Member>;
|
|
96
|
+
set members(value: index_d_exports.List<Node_SourceInfo_Member>);
|
|
97
|
+
toString(): string;
|
|
97
98
|
}
|
|
98
|
-
declare class Node_Struct extends Struct {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
declare class Node_Struct extends index_d_exports.Struct {
|
|
100
|
+
static readonly _capnp: {
|
|
101
|
+
displayName: string;
|
|
102
|
+
id: string;
|
|
103
|
+
size: index_d_exports.ObjectSize;
|
|
104
|
+
};
|
|
105
|
+
static _Fields: index_d_exports.ListCtor<Field>;
|
|
106
|
+
/**
|
|
106
107
|
* Size of the data section, in words.
|
|
107
108
|
*
|
|
108
109
|
*/
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
get dataWordCount(): number;
|
|
111
|
+
set dataWordCount(value: number);
|
|
112
|
+
/**
|
|
112
113
|
* Size of the pointer section, in pointers (which are one word each).
|
|
113
114
|
*
|
|
114
115
|
*/
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
get pointerCount(): number;
|
|
117
|
+
set pointerCount(value: number);
|
|
118
|
+
/**
|
|
118
119
|
* The preferred element size to use when encoding a list of this struct. If this is anything
|
|
119
120
|
* other than `inlineComposite` then the struct is one word or less in size and is a candidate
|
|
120
121
|
* for list packing optimization.
|
|
121
122
|
*
|
|
122
123
|
*/
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
get preferredListEncoding(): ElementSize;
|
|
125
|
+
set preferredListEncoding(value: ElementSize);
|
|
126
|
+
/**
|
|
126
127
|
* If true, then this "struct" node is actually not an independent node, but merely represents
|
|
127
128
|
* some named union or group within a particular parent struct. This node's scopeId refers
|
|
128
129
|
* to the parent struct, which may itself be a union/group in yet another struct.
|
|
@@ -135,9 +136,9 @@ declare class Node_Struct extends Struct {
|
|
|
135
136
|
* is exactly equivalent to a group that contains nothing but an unnamed union.
|
|
136
137
|
*
|
|
137
138
|
*/
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
get isGroup(): boolean;
|
|
140
|
+
set isGroup(value: boolean);
|
|
141
|
+
/**
|
|
141
142
|
* Number of fields in this struct which are members of an anonymous union, and thus may
|
|
142
143
|
* overlap. If this is non-zero, then a 16-bit discriminant is present indicating which
|
|
143
144
|
* of the overlapping fields is active. This can never be 1 -- if it is non-zero, it must be
|
|
@@ -150,18 +151,18 @@ declare class Node_Struct extends Struct {
|
|
|
150
151
|
* `isGroup` = true.
|
|
151
152
|
*
|
|
152
153
|
*/
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
get discriminantCount(): number;
|
|
155
|
+
set discriminantCount(value: number);
|
|
156
|
+
/**
|
|
156
157
|
* If `discriminantCount` is non-zero, this is the offset of the union discriminant, in
|
|
157
158
|
* multiples of 16 bits.
|
|
158
159
|
*
|
|
159
160
|
*/
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
get discriminantOffset(): number;
|
|
162
|
+
set discriminantOffset(value: number);
|
|
163
|
+
_adoptFields(value: index_d_exports.Orphan<index_d_exports.List<Field>>): void;
|
|
164
|
+
_disownFields(): index_d_exports.Orphan<index_d_exports.List<Field>>;
|
|
165
|
+
/**
|
|
165
166
|
* Fields defined within this scope (either the struct's top-level fields, or the fields of
|
|
166
167
|
* a particular group; see `isGroup`).
|
|
167
168
|
*
|
|
@@ -173,136 +174,136 @@ declare class Node_Struct extends Struct {
|
|
|
173
174
|
* most sense to use the field's index in this list rather than its ordinal.
|
|
174
175
|
*
|
|
175
176
|
*/
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
get fields(): index_d_exports.List<Field>;
|
|
178
|
+
_hasFields(): boolean;
|
|
179
|
+
_initFields(length: number): index_d_exports.List<Field>;
|
|
180
|
+
set fields(value: index_d_exports.List<Field>);
|
|
181
|
+
toString(): string;
|
|
181
182
|
}
|
|
182
|
-
declare class Node_Enum extends Struct {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
183
|
+
declare class Node_Enum extends index_d_exports.Struct {
|
|
184
|
+
static readonly _capnp: {
|
|
185
|
+
displayName: string;
|
|
186
|
+
id: string;
|
|
187
|
+
size: index_d_exports.ObjectSize;
|
|
188
|
+
};
|
|
189
|
+
static _Enumerants: index_d_exports.ListCtor<Enumerant>;
|
|
190
|
+
_adoptEnumerants(value: index_d_exports.Orphan<index_d_exports.List<Enumerant>>): void;
|
|
191
|
+
_disownEnumerants(): index_d_exports.Orphan<index_d_exports.List<Enumerant>>;
|
|
192
|
+
/**
|
|
192
193
|
* Enumerants ordered by numeric value (ordinal).
|
|
193
194
|
*
|
|
194
195
|
*/
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
get enumerants(): index_d_exports.List<Enumerant>;
|
|
197
|
+
_hasEnumerants(): boolean;
|
|
198
|
+
_initEnumerants(length: number): index_d_exports.List<Enumerant>;
|
|
199
|
+
set enumerants(value: index_d_exports.List<Enumerant>);
|
|
200
|
+
toString(): string;
|
|
200
201
|
}
|
|
201
|
-
declare class Node_Interface extends Struct {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
202
|
+
declare class Node_Interface extends index_d_exports.Struct {
|
|
203
|
+
static readonly _capnp: {
|
|
204
|
+
displayName: string;
|
|
205
|
+
id: string;
|
|
206
|
+
size: index_d_exports.ObjectSize;
|
|
207
|
+
};
|
|
208
|
+
static _Methods: index_d_exports.ListCtor<Method>;
|
|
209
|
+
static _Superclasses: index_d_exports.ListCtor<Superclass>;
|
|
210
|
+
_adoptMethods(value: index_d_exports.Orphan<index_d_exports.List<Method>>): void;
|
|
211
|
+
_disownMethods(): index_d_exports.Orphan<index_d_exports.List<Method>>;
|
|
212
|
+
/**
|
|
212
213
|
* Methods ordered by ordinal.
|
|
213
214
|
*
|
|
214
215
|
*/
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
216
|
+
get methods(): index_d_exports.List<Method>;
|
|
217
|
+
_hasMethods(): boolean;
|
|
218
|
+
_initMethods(length: number): index_d_exports.List<Method>;
|
|
219
|
+
set methods(value: index_d_exports.List<Method>);
|
|
220
|
+
_adoptSuperclasses(value: index_d_exports.Orphan<index_d_exports.List<Superclass>>): void;
|
|
221
|
+
_disownSuperclasses(): index_d_exports.Orphan<index_d_exports.List<Superclass>>;
|
|
222
|
+
/**
|
|
222
223
|
* Superclasses of this interface.
|
|
223
224
|
*
|
|
224
225
|
*/
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
226
|
+
get superclasses(): index_d_exports.List<Superclass>;
|
|
227
|
+
_hasSuperclasses(): boolean;
|
|
228
|
+
_initSuperclasses(length: number): index_d_exports.List<Superclass>;
|
|
229
|
+
set superclasses(value: index_d_exports.List<Superclass>);
|
|
230
|
+
toString(): string;
|
|
230
231
|
}
|
|
231
|
-
declare class Node_Const extends Struct {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
232
|
+
declare class Node_Const extends index_d_exports.Struct {
|
|
233
|
+
static readonly _capnp: {
|
|
234
|
+
displayName: string;
|
|
235
|
+
id: string;
|
|
236
|
+
size: index_d_exports.ObjectSize;
|
|
237
|
+
};
|
|
238
|
+
_adoptType(value: index_d_exports.Orphan<Type>): void;
|
|
239
|
+
_disownType(): index_d_exports.Orphan<Type>;
|
|
240
|
+
get type(): Type;
|
|
241
|
+
_hasType(): boolean;
|
|
242
|
+
_initType(): Type;
|
|
243
|
+
set type(value: Type);
|
|
244
|
+
_adoptValue(value: index_d_exports.Orphan<Value>): void;
|
|
245
|
+
_disownValue(): index_d_exports.Orphan<Value>;
|
|
246
|
+
get value(): Value;
|
|
247
|
+
_hasValue(): boolean;
|
|
248
|
+
_initValue(): Value;
|
|
249
|
+
set value(value: Value);
|
|
250
|
+
toString(): string;
|
|
250
251
|
}
|
|
251
|
-
declare class Node_Annotation extends Struct {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
252
|
+
declare class Node_Annotation extends index_d_exports.Struct {
|
|
253
|
+
static readonly _capnp: {
|
|
254
|
+
displayName: string;
|
|
255
|
+
id: string;
|
|
256
|
+
size: index_d_exports.ObjectSize;
|
|
257
|
+
};
|
|
258
|
+
_adoptType(value: index_d_exports.Orphan<Type>): void;
|
|
259
|
+
_disownType(): index_d_exports.Orphan<Type>;
|
|
260
|
+
get type(): Type;
|
|
261
|
+
_hasType(): boolean;
|
|
262
|
+
_initType(): Type;
|
|
263
|
+
set type(value: Type);
|
|
264
|
+
get targetsFile(): boolean;
|
|
265
|
+
set targetsFile(value: boolean);
|
|
266
|
+
get targetsConst(): boolean;
|
|
267
|
+
set targetsConst(value: boolean);
|
|
268
|
+
get targetsEnum(): boolean;
|
|
269
|
+
set targetsEnum(value: boolean);
|
|
270
|
+
get targetsEnumerant(): boolean;
|
|
271
|
+
set targetsEnumerant(value: boolean);
|
|
272
|
+
get targetsStruct(): boolean;
|
|
273
|
+
set targetsStruct(value: boolean);
|
|
274
|
+
get targetsField(): boolean;
|
|
275
|
+
set targetsField(value: boolean);
|
|
276
|
+
get targetsUnion(): boolean;
|
|
277
|
+
set targetsUnion(value: boolean);
|
|
278
|
+
get targetsGroup(): boolean;
|
|
279
|
+
set targetsGroup(value: boolean);
|
|
280
|
+
get targetsInterface(): boolean;
|
|
281
|
+
set targetsInterface(value: boolean);
|
|
282
|
+
get targetsMethod(): boolean;
|
|
283
|
+
set targetsMethod(value: boolean);
|
|
284
|
+
get targetsParam(): boolean;
|
|
285
|
+
set targetsParam(value: boolean);
|
|
286
|
+
get targetsAnnotation(): boolean;
|
|
287
|
+
set targetsAnnotation(value: boolean);
|
|
288
|
+
toString(): string;
|
|
288
289
|
}
|
|
289
290
|
declare const Node_Which: {
|
|
290
|
-
|
|
291
|
-
|
|
291
|
+
readonly FILE: 0;
|
|
292
|
+
/**
|
|
292
293
|
* Name to present to humans to identify this Node. You should not attempt to parse this. Its
|
|
293
294
|
* format could change. It is not guaranteed to be unique.
|
|
294
295
|
*
|
|
295
296
|
* (On Zooko's triangle, this is the node's nickname.)
|
|
296
297
|
*
|
|
297
298
|
*/
|
|
298
|
-
|
|
299
|
-
|
|
299
|
+
readonly STRUCT: 1;
|
|
300
|
+
/**
|
|
300
301
|
* If you want a shorter version of `displayName` (just naming this node, without its surrounding
|
|
301
302
|
* scope), chop off this many characters from the beginning of `displayName`.
|
|
302
303
|
*
|
|
303
304
|
*/
|
|
304
|
-
|
|
305
|
-
|
|
305
|
+
readonly ENUM: 2;
|
|
306
|
+
/**
|
|
306
307
|
* ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back
|
|
307
308
|
* at this node, but robust code should avoid relying on this (and, in fact, group nodes are not
|
|
308
309
|
* listed in the outer struct's nestedNodes, since they are listed in the fields). `scopeId` is
|
|
@@ -310,56 +311,56 @@ declare const Node_Which: {
|
|
|
310
311
|
* allowed for any kind of node (in order to make runtime type generation easier).
|
|
311
312
|
*
|
|
312
313
|
*/
|
|
313
|
-
|
|
314
|
-
|
|
314
|
+
readonly INTERFACE: 3;
|
|
315
|
+
/**
|
|
315
316
|
* List of nodes nested within this node, along with the names under which they were declared.
|
|
316
317
|
*
|
|
317
318
|
*/
|
|
318
|
-
|
|
319
|
-
|
|
319
|
+
readonly CONST: 4;
|
|
320
|
+
/**
|
|
320
321
|
* Annotations applied to this node.
|
|
321
322
|
*
|
|
322
323
|
*/
|
|
323
|
-
|
|
324
|
+
readonly ANNOTATION: 5;
|
|
324
325
|
};
|
|
325
326
|
type Node_Which = (typeof Node_Which)[keyof typeof Node_Which];
|
|
326
|
-
declare class Node extends Struct {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
327
|
+
declare class Node extends index_d_exports.Struct {
|
|
328
|
+
static readonly FILE: 0;
|
|
329
|
+
static readonly STRUCT: 1;
|
|
330
|
+
static readonly ENUM: 2;
|
|
331
|
+
static readonly INTERFACE: 3;
|
|
332
|
+
static readonly CONST: 4;
|
|
333
|
+
static readonly ANNOTATION: 5;
|
|
334
|
+
static readonly Parameter: typeof Node_Parameter;
|
|
335
|
+
static readonly NestedNode: typeof Node_NestedNode;
|
|
336
|
+
static readonly SourceInfo: typeof Node_SourceInfo;
|
|
337
|
+
static readonly _capnp: {
|
|
338
|
+
displayName: string;
|
|
339
|
+
id: string;
|
|
340
|
+
size: index_d_exports.ObjectSize;
|
|
341
|
+
};
|
|
342
|
+
static _Parameters: index_d_exports.ListCtor<Node_Parameter>;
|
|
343
|
+
static _NestedNodes: index_d_exports.ListCtor<Node_NestedNode>;
|
|
344
|
+
static _Annotations: index_d_exports.ListCtor<Annotation>;
|
|
345
|
+
get id(): bigint;
|
|
346
|
+
set id(value: bigint);
|
|
347
|
+
/**
|
|
347
348
|
* Name to present to humans to identify this Node. You should not attempt to parse this. Its
|
|
348
349
|
* format could change. It is not guaranteed to be unique.
|
|
349
350
|
*
|
|
350
351
|
* (On Zooko's triangle, this is the node's nickname.)
|
|
351
352
|
*
|
|
352
353
|
*/
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
get displayName(): string;
|
|
355
|
+
set displayName(value: string);
|
|
356
|
+
/**
|
|
356
357
|
* If you want a shorter version of `displayName` (just naming this node, without its surrounding
|
|
357
358
|
* scope), chop off this many characters from the beginning of `displayName`.
|
|
358
359
|
*
|
|
359
360
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
get displayNamePrefixLength(): number;
|
|
362
|
+
set displayNamePrefixLength(value: number);
|
|
363
|
+
/**
|
|
363
364
|
* ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back
|
|
364
365
|
* at this node, but robust code should avoid relying on this (and, in fact, group nodes are not
|
|
365
366
|
* listed in the outer struct's nestedNodes, since they are listed in the fields). `scopeId` is
|
|
@@ -367,167 +368,167 @@ declare class Node extends Struct {
|
|
|
367
368
|
* allowed for any kind of node (in order to make runtime type generation easier).
|
|
368
369
|
*
|
|
369
370
|
*/
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
371
|
+
get scopeId(): bigint;
|
|
372
|
+
set scopeId(value: bigint);
|
|
373
|
+
_adoptParameters(value: index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>): void;
|
|
374
|
+
_disownParameters(): index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>;
|
|
375
|
+
/**
|
|
375
376
|
* If this node is parameterized (generic), the list of parameters. Empty for non-generic types.
|
|
376
377
|
*
|
|
377
378
|
*/
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
379
|
+
get parameters(): index_d_exports.List<Node_Parameter>;
|
|
380
|
+
_hasParameters(): boolean;
|
|
381
|
+
_initParameters(length: number): index_d_exports.List<Node_Parameter>;
|
|
382
|
+
set parameters(value: index_d_exports.List<Node_Parameter>);
|
|
383
|
+
/**
|
|
383
384
|
* True if this node is generic, meaning that it or one of its parent scopes has a non-empty
|
|
384
385
|
* `parameters`.
|
|
385
386
|
*
|
|
386
387
|
*/
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
388
|
+
get isGeneric(): boolean;
|
|
389
|
+
set isGeneric(value: boolean);
|
|
390
|
+
_adoptNestedNodes(value: index_d_exports.Orphan<index_d_exports.List<Node_NestedNode>>): void;
|
|
391
|
+
_disownNestedNodes(): index_d_exports.Orphan<index_d_exports.List<Node_NestedNode>>;
|
|
392
|
+
/**
|
|
392
393
|
* List of nodes nested within this node, along with the names under which they were declared.
|
|
393
394
|
*
|
|
394
395
|
*/
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
396
|
+
get nestedNodes(): index_d_exports.List<Node_NestedNode>;
|
|
397
|
+
_hasNestedNodes(): boolean;
|
|
398
|
+
_initNestedNodes(length: number): index_d_exports.List<Node_NestedNode>;
|
|
399
|
+
set nestedNodes(value: index_d_exports.List<Node_NestedNode>);
|
|
400
|
+
_adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
|
|
401
|
+
_disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
|
|
402
|
+
/**
|
|
402
403
|
* Annotations applied to this node.
|
|
403
404
|
*
|
|
404
405
|
*/
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
406
|
+
get annotations(): index_d_exports.List<Annotation>;
|
|
407
|
+
_hasAnnotations(): boolean;
|
|
408
|
+
_initAnnotations(length: number): index_d_exports.List<Annotation>;
|
|
409
|
+
set annotations(value: index_d_exports.List<Annotation>);
|
|
410
|
+
get _isFile(): boolean;
|
|
411
|
+
set file(_: true);
|
|
412
|
+
get struct(): Node_Struct;
|
|
413
|
+
_initStruct(): Node_Struct;
|
|
414
|
+
get _isStruct(): boolean;
|
|
415
|
+
set struct(_: true);
|
|
416
|
+
get enum(): Node_Enum;
|
|
417
|
+
_initEnum(): Node_Enum;
|
|
418
|
+
get _isEnum(): boolean;
|
|
419
|
+
set enum(_: true);
|
|
420
|
+
get interface(): Node_Interface;
|
|
421
|
+
_initInterface(): Node_Interface;
|
|
422
|
+
get _isInterface(): boolean;
|
|
423
|
+
set interface(_: true);
|
|
424
|
+
get const(): Node_Const;
|
|
425
|
+
_initConst(): Node_Const;
|
|
426
|
+
get _isConst(): boolean;
|
|
427
|
+
set const(_: true);
|
|
428
|
+
get annotation(): Node_Annotation;
|
|
429
|
+
_initAnnotation(): Node_Annotation;
|
|
430
|
+
get _isAnnotation(): boolean;
|
|
431
|
+
set annotation(_: true);
|
|
432
|
+
toString(): string;
|
|
433
|
+
which(): Node_Which;
|
|
433
434
|
}
|
|
434
435
|
/**
|
|
435
436
|
* A regular, non-group, non-fixed-list field.
|
|
436
437
|
*
|
|
437
438
|
*/
|
|
438
|
-
declare class Field_Slot extends Struct {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
439
|
+
declare class Field_Slot extends index_d_exports.Struct {
|
|
440
|
+
static readonly _capnp: {
|
|
441
|
+
displayName: string;
|
|
442
|
+
id: string;
|
|
443
|
+
size: index_d_exports.ObjectSize;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
445
446
|
* Offset, in units of the field's size, from the beginning of the section in which the field
|
|
446
447
|
* resides. E.g. for a UInt32 field, multiply this by 4 to get the byte offset from the
|
|
447
448
|
* beginning of the data section.
|
|
448
449
|
*
|
|
449
450
|
*/
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
451
|
+
get offset(): number;
|
|
452
|
+
set offset(value: number);
|
|
453
|
+
_adoptType(value: index_d_exports.Orphan<Type>): void;
|
|
454
|
+
_disownType(): index_d_exports.Orphan<Type>;
|
|
455
|
+
get type(): Type;
|
|
456
|
+
_hasType(): boolean;
|
|
457
|
+
_initType(): Type;
|
|
458
|
+
set type(value: Type);
|
|
459
|
+
_adoptDefaultValue(value: index_d_exports.Orphan<Value>): void;
|
|
460
|
+
_disownDefaultValue(): index_d_exports.Orphan<Value>;
|
|
461
|
+
get defaultValue(): Value;
|
|
462
|
+
_hasDefaultValue(): boolean;
|
|
463
|
+
_initDefaultValue(): Value;
|
|
464
|
+
set defaultValue(value: Value);
|
|
465
|
+
/**
|
|
465
466
|
* Whether the default value was specified explicitly. Non-explicit default values are always
|
|
466
467
|
* zero or empty values. Usually, whether the default value was explicit shouldn't matter.
|
|
467
468
|
* The main use case for this flag is for structs representing method parameters:
|
|
468
469
|
* explicitly-defaulted parameters may be allowed to be omitted when calling the method.
|
|
469
470
|
*
|
|
470
471
|
*/
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
472
|
+
get hadExplicitDefault(): boolean;
|
|
473
|
+
set hadExplicitDefault(value: boolean);
|
|
474
|
+
toString(): string;
|
|
474
475
|
}
|
|
475
476
|
/**
|
|
476
477
|
* A group.
|
|
477
478
|
*
|
|
478
479
|
*/
|
|
479
|
-
declare class Field_Group extends Struct {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
480
|
+
declare class Field_Group extends index_d_exports.Struct {
|
|
481
|
+
static readonly _capnp: {
|
|
482
|
+
displayName: string;
|
|
483
|
+
id: string;
|
|
484
|
+
size: index_d_exports.ObjectSize;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
486
487
|
* The ID of the group's node.
|
|
487
488
|
*
|
|
488
489
|
*/
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
490
|
+
get typeId(): bigint;
|
|
491
|
+
set typeId(value: bigint);
|
|
492
|
+
toString(): string;
|
|
492
493
|
}
|
|
493
494
|
declare const Field_Ordinal_Which: {
|
|
494
|
-
|
|
495
|
-
|
|
495
|
+
readonly IMPLICIT: 0;
|
|
496
|
+
/**
|
|
496
497
|
* The original ordinal number given to the field. You probably should NOT use this; if you need
|
|
497
498
|
* a numeric identifier for a field, use its position within the field array for its scope.
|
|
498
499
|
* The ordinal is given here mainly just so that the original schema text can be reproduced given
|
|
499
500
|
* the compiled version -- i.e. so that `capnp compile -ocapnp` can do its job.
|
|
500
501
|
*
|
|
501
502
|
*/
|
|
502
|
-
|
|
503
|
+
readonly EXPLICIT: 1;
|
|
503
504
|
};
|
|
504
505
|
type Field_Ordinal_Which = (typeof Field_Ordinal_Which)[keyof typeof Field_Ordinal_Which];
|
|
505
|
-
declare class Field_Ordinal extends Struct {
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
506
|
+
declare class Field_Ordinal extends index_d_exports.Struct {
|
|
507
|
+
static readonly IMPLICIT: 0;
|
|
508
|
+
static readonly EXPLICIT: 1;
|
|
509
|
+
static readonly _capnp: {
|
|
510
|
+
displayName: string;
|
|
511
|
+
id: string;
|
|
512
|
+
size: index_d_exports.ObjectSize;
|
|
513
|
+
};
|
|
514
|
+
get _isImplicit(): boolean;
|
|
515
|
+
set implicit(_: true);
|
|
516
|
+
/**
|
|
516
517
|
* The original ordinal number given to the field. You probably should NOT use this; if you need
|
|
517
518
|
* a numeric identifier for a field, use its position within the field array for its scope.
|
|
518
519
|
* The ordinal is given here mainly just so that the original schema text can be reproduced given
|
|
519
520
|
* the compiled version -- i.e. so that `capnp compile -ocapnp` can do its job.
|
|
520
521
|
*
|
|
521
522
|
*/
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
523
|
+
get explicit(): number;
|
|
524
|
+
get _isExplicit(): boolean;
|
|
525
|
+
set explicit(value: number);
|
|
526
|
+
toString(): string;
|
|
527
|
+
which(): Field_Ordinal_Which;
|
|
527
528
|
}
|
|
528
529
|
declare const Field_Which: {
|
|
529
|
-
|
|
530
|
-
|
|
530
|
+
readonly SLOT: 0;
|
|
531
|
+
/**
|
|
531
532
|
* Indicates where this member appeared in the code, relative to other members.
|
|
532
533
|
* Code ordering may have semantic relevance -- programmers tend to place related fields
|
|
533
534
|
* together. So, using code ordering makes sense in human-readable formats where ordering is
|
|
@@ -536,27 +537,27 @@ declare const Field_Which: {
|
|
|
536
537
|
* the other members of that union, so the maximum value there is count(union.members).
|
|
537
538
|
*
|
|
538
539
|
*/
|
|
539
|
-
|
|
540
|
+
readonly GROUP: 1;
|
|
540
541
|
};
|
|
541
542
|
type Field_Which = (typeof Field_Which)[keyof typeof Field_Which];
|
|
542
543
|
/**
|
|
543
544
|
* Schema for a field of a struct.
|
|
544
545
|
*
|
|
545
546
|
*/
|
|
546
|
-
declare class Field extends Struct {
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
547
|
+
declare class Field extends index_d_exports.Struct {
|
|
548
|
+
static readonly NO_DISCRIMINANT = 65535;
|
|
549
|
+
static readonly SLOT: 0;
|
|
550
|
+
static readonly GROUP: 1;
|
|
551
|
+
static readonly _capnp: {
|
|
552
|
+
displayName: string;
|
|
553
|
+
id: string;
|
|
554
|
+
size: index_d_exports.ObjectSize;
|
|
555
|
+
defaultDiscriminantValue: DataView<ArrayBufferLike>;
|
|
556
|
+
};
|
|
557
|
+
static _Annotations: index_d_exports.ListCtor<Annotation>;
|
|
558
|
+
get name(): string;
|
|
559
|
+
set name(value: string);
|
|
560
|
+
/**
|
|
560
561
|
* Indicates where this member appeared in the code, relative to other members.
|
|
561
562
|
* Code ordering may have semantic relevance -- programmers tend to place related fields
|
|
562
563
|
* together. So, using code ordering makes sense in human-readable formats where ordering is
|
|
@@ -565,119 +566,119 @@ declare class Field extends Struct {
|
|
|
565
566
|
* the other members of that union, so the maximum value there is count(union.members).
|
|
566
567
|
*
|
|
567
568
|
*/
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
569
|
+
get codeOrder(): number;
|
|
570
|
+
set codeOrder(value: number);
|
|
571
|
+
_adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
|
|
572
|
+
_disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
|
|
573
|
+
get annotations(): index_d_exports.List<Annotation>;
|
|
574
|
+
_hasAnnotations(): boolean;
|
|
575
|
+
_initAnnotations(length: number): index_d_exports.List<Annotation>;
|
|
576
|
+
set annotations(value: index_d_exports.List<Annotation>);
|
|
577
|
+
/**
|
|
577
578
|
* If the field is in a union, this is the value which the union's discriminant should take when
|
|
578
579
|
* the field is active. If the field is not in a union, this is 0xffff.
|
|
579
580
|
*
|
|
580
581
|
*/
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
582
|
+
get discriminantValue(): number;
|
|
583
|
+
set discriminantValue(value: number);
|
|
584
|
+
/**
|
|
584
585
|
* A regular, non-group, non-fixed-list field.
|
|
585
586
|
*
|
|
586
587
|
*/
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
588
|
+
get slot(): Field_Slot;
|
|
589
|
+
_initSlot(): Field_Slot;
|
|
590
|
+
get _isSlot(): boolean;
|
|
591
|
+
set slot(_: true);
|
|
592
|
+
/**
|
|
592
593
|
* A group.
|
|
593
594
|
*
|
|
594
595
|
*/
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
596
|
+
get group(): Field_Group;
|
|
597
|
+
_initGroup(): Field_Group;
|
|
598
|
+
get _isGroup(): boolean;
|
|
599
|
+
set group(_: true);
|
|
600
|
+
get ordinal(): Field_Ordinal;
|
|
601
|
+
_initOrdinal(): Field_Ordinal;
|
|
602
|
+
toString(): string;
|
|
603
|
+
which(): Field_Which;
|
|
603
604
|
}
|
|
604
605
|
/**
|
|
605
606
|
* Schema for member of an enum.
|
|
606
607
|
*
|
|
607
608
|
*/
|
|
608
|
-
declare class Enumerant extends Struct {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
609
|
+
declare class Enumerant extends index_d_exports.Struct {
|
|
610
|
+
static readonly _capnp: {
|
|
611
|
+
displayName: string;
|
|
612
|
+
id: string;
|
|
613
|
+
size: index_d_exports.ObjectSize;
|
|
614
|
+
};
|
|
615
|
+
static _Annotations: index_d_exports.ListCtor<Annotation>;
|
|
616
|
+
get name(): string;
|
|
617
|
+
set name(value: string);
|
|
618
|
+
/**
|
|
618
619
|
* Specifies order in which the enumerants were declared in the code.
|
|
619
620
|
* Like utils.Field.codeOrder.
|
|
620
621
|
*
|
|
621
622
|
*/
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
623
|
+
get codeOrder(): number;
|
|
624
|
+
set codeOrder(value: number);
|
|
625
|
+
_adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
|
|
626
|
+
_disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
|
|
627
|
+
get annotations(): index_d_exports.List<Annotation>;
|
|
628
|
+
_hasAnnotations(): boolean;
|
|
629
|
+
_initAnnotations(length: number): index_d_exports.List<Annotation>;
|
|
630
|
+
set annotations(value: index_d_exports.List<Annotation>);
|
|
631
|
+
toString(): string;
|
|
631
632
|
}
|
|
632
|
-
declare class Superclass extends Struct {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
633
|
+
declare class Superclass extends index_d_exports.Struct {
|
|
634
|
+
static readonly _capnp: {
|
|
635
|
+
displayName: string;
|
|
636
|
+
id: string;
|
|
637
|
+
size: index_d_exports.ObjectSize;
|
|
638
|
+
};
|
|
639
|
+
get id(): bigint;
|
|
640
|
+
set id(value: bigint);
|
|
641
|
+
_adoptBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
642
|
+
_disownBrand(): index_d_exports.Orphan<Brand>;
|
|
643
|
+
get brand(): Brand;
|
|
644
|
+
_hasBrand(): boolean;
|
|
645
|
+
_initBrand(): Brand;
|
|
646
|
+
set brand(value: Brand);
|
|
647
|
+
toString(): string;
|
|
647
648
|
}
|
|
648
649
|
/**
|
|
649
650
|
* Schema for method of an interface.
|
|
650
651
|
*
|
|
651
652
|
*/
|
|
652
|
-
declare class Method extends Struct {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
653
|
+
declare class Method extends index_d_exports.Struct {
|
|
654
|
+
static readonly _capnp: {
|
|
655
|
+
displayName: string;
|
|
656
|
+
id: string;
|
|
657
|
+
size: index_d_exports.ObjectSize;
|
|
658
|
+
};
|
|
659
|
+
static _ImplicitParameters: index_d_exports.ListCtor<Node_Parameter>;
|
|
660
|
+
static _Annotations: index_d_exports.ListCtor<Annotation>;
|
|
661
|
+
get name(): string;
|
|
662
|
+
set name(value: string);
|
|
663
|
+
/**
|
|
663
664
|
* Specifies order in which the methods were declared in the code.
|
|
664
665
|
* Like utils.Field.codeOrder.
|
|
665
666
|
*
|
|
666
667
|
*/
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
668
|
+
get codeOrder(): number;
|
|
669
|
+
set codeOrder(value: number);
|
|
670
|
+
_adoptImplicitParameters(value: index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>): void;
|
|
671
|
+
_disownImplicitParameters(): index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>;
|
|
672
|
+
/**
|
|
672
673
|
* The parameters listed in [] (typically, type / generic parameters), whose bindings are intended
|
|
673
674
|
* to be inferred rather than specified explicitly, although not all languages support this.
|
|
674
675
|
*
|
|
675
676
|
*/
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
677
|
+
get implicitParameters(): index_d_exports.List<Node_Parameter>;
|
|
678
|
+
_hasImplicitParameters(): boolean;
|
|
679
|
+
_initImplicitParameters(length: number): index_d_exports.List<Node_Parameter>;
|
|
680
|
+
set implicitParameters(value: index_d_exports.List<Node_Parameter>);
|
|
681
|
+
/**
|
|
681
682
|
* ID of the parameter struct type. If a named parameter list was specified in the method
|
|
682
683
|
* declaration (rather than a single struct parameter type) then a corresponding struct type is
|
|
683
684
|
* auto-generated. Such an auto-generated type will not be listed in the interface's
|
|
@@ -687,125 +688,125 @@ declare class Method extends Struct {
|
|
|
687
688
|
* generic parameter was introduced. Making the `scopeId` zero was a mistake.)
|
|
688
689
|
*
|
|
689
690
|
*/
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
691
|
+
get paramStructType(): bigint;
|
|
692
|
+
set paramStructType(value: bigint);
|
|
693
|
+
_adoptParamBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
694
|
+
_disownParamBrand(): index_d_exports.Orphan<Brand>;
|
|
695
|
+
/**
|
|
695
696
|
* Brand of param struct type.
|
|
696
697
|
*
|
|
697
698
|
*/
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
699
|
+
get paramBrand(): Brand;
|
|
700
|
+
_hasParamBrand(): boolean;
|
|
701
|
+
_initParamBrand(): Brand;
|
|
702
|
+
set paramBrand(value: Brand);
|
|
703
|
+
/**
|
|
703
704
|
* ID of the return struct type; similar to `paramStructType`.
|
|
704
705
|
*
|
|
705
706
|
*/
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
707
|
+
get resultStructType(): bigint;
|
|
708
|
+
set resultStructType(value: bigint);
|
|
709
|
+
_adoptResultBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
710
|
+
_disownResultBrand(): index_d_exports.Orphan<Brand>;
|
|
711
|
+
/**
|
|
711
712
|
* Brand of result struct type.
|
|
712
713
|
*
|
|
713
714
|
*/
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
715
|
+
get resultBrand(): Brand;
|
|
716
|
+
_hasResultBrand(): boolean;
|
|
717
|
+
_initResultBrand(): Brand;
|
|
718
|
+
set resultBrand(value: Brand);
|
|
719
|
+
_adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
|
|
720
|
+
_disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
|
|
721
|
+
get annotations(): index_d_exports.List<Annotation>;
|
|
722
|
+
_hasAnnotations(): boolean;
|
|
723
|
+
_initAnnotations(length: number): index_d_exports.List<Annotation>;
|
|
724
|
+
set annotations(value: index_d_exports.List<Annotation>);
|
|
725
|
+
toString(): string;
|
|
725
726
|
}
|
|
726
|
-
declare class Type_List extends Struct {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
727
|
+
declare class Type_List extends index_d_exports.Struct {
|
|
728
|
+
static readonly _capnp: {
|
|
729
|
+
displayName: string;
|
|
730
|
+
id: string;
|
|
731
|
+
size: index_d_exports.ObjectSize;
|
|
732
|
+
};
|
|
733
|
+
_adoptElementType(value: index_d_exports.Orphan<Type>): void;
|
|
734
|
+
_disownElementType(): index_d_exports.Orphan<Type>;
|
|
735
|
+
get elementType(): Type;
|
|
736
|
+
_hasElementType(): boolean;
|
|
737
|
+
_initElementType(): Type;
|
|
738
|
+
set elementType(value: Type);
|
|
739
|
+
toString(): string;
|
|
739
740
|
}
|
|
740
|
-
declare class Type_Enum extends Struct {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
741
|
+
declare class Type_Enum extends index_d_exports.Struct {
|
|
742
|
+
static readonly _capnp: {
|
|
743
|
+
displayName: string;
|
|
744
|
+
id: string;
|
|
745
|
+
size: index_d_exports.ObjectSize;
|
|
746
|
+
};
|
|
747
|
+
get typeId(): bigint;
|
|
748
|
+
set typeId(value: bigint);
|
|
749
|
+
_adoptBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
750
|
+
_disownBrand(): index_d_exports.Orphan<Brand>;
|
|
751
|
+
get brand(): Brand;
|
|
752
|
+
_hasBrand(): boolean;
|
|
753
|
+
_initBrand(): Brand;
|
|
754
|
+
set brand(value: Brand);
|
|
755
|
+
toString(): string;
|
|
755
756
|
}
|
|
756
|
-
declare class Type_Struct extends Struct {
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
757
|
+
declare class Type_Struct extends index_d_exports.Struct {
|
|
758
|
+
static readonly _capnp: {
|
|
759
|
+
displayName: string;
|
|
760
|
+
id: string;
|
|
761
|
+
size: index_d_exports.ObjectSize;
|
|
762
|
+
};
|
|
763
|
+
get typeId(): bigint;
|
|
764
|
+
set typeId(value: bigint);
|
|
765
|
+
_adoptBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
766
|
+
_disownBrand(): index_d_exports.Orphan<Brand>;
|
|
767
|
+
get brand(): Brand;
|
|
768
|
+
_hasBrand(): boolean;
|
|
769
|
+
_initBrand(): Brand;
|
|
770
|
+
set brand(value: Brand);
|
|
771
|
+
toString(): string;
|
|
771
772
|
}
|
|
772
|
-
declare class Type_Interface extends Struct {
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
773
|
+
declare class Type_Interface extends index_d_exports.Struct {
|
|
774
|
+
static readonly _capnp: {
|
|
775
|
+
displayName: string;
|
|
776
|
+
id: string;
|
|
777
|
+
size: index_d_exports.ObjectSize;
|
|
778
|
+
};
|
|
779
|
+
get typeId(): bigint;
|
|
780
|
+
set typeId(value: bigint);
|
|
781
|
+
_adoptBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
782
|
+
_disownBrand(): index_d_exports.Orphan<Brand>;
|
|
783
|
+
get brand(): Brand;
|
|
784
|
+
_hasBrand(): boolean;
|
|
785
|
+
_initBrand(): Brand;
|
|
786
|
+
set brand(value: Brand);
|
|
787
|
+
toString(): string;
|
|
787
788
|
}
|
|
788
789
|
declare const Type_AnyPointer_Unconstrained_Which: {
|
|
789
|
-
|
|
790
|
+
/**
|
|
790
791
|
* truly AnyPointer
|
|
791
792
|
*
|
|
792
793
|
*/
|
|
793
|
-
|
|
794
|
-
|
|
794
|
+
readonly ANY_KIND: 0;
|
|
795
|
+
/**
|
|
795
796
|
* AnyStruct
|
|
796
797
|
*
|
|
797
798
|
*/
|
|
798
|
-
|
|
799
|
-
|
|
799
|
+
readonly STRUCT: 1;
|
|
800
|
+
/**
|
|
800
801
|
* AnyList
|
|
801
802
|
*
|
|
802
803
|
*/
|
|
803
|
-
|
|
804
|
-
|
|
804
|
+
readonly LIST: 2;
|
|
805
|
+
/**
|
|
805
806
|
* Capability
|
|
806
807
|
*
|
|
807
808
|
*/
|
|
808
|
-
|
|
809
|
+
readonly CAPABILITY: 3;
|
|
809
810
|
};
|
|
810
811
|
type Type_AnyPointer_Unconstrained_Which = (typeof Type_AnyPointer_Unconstrained_Which)[keyof typeof Type_AnyPointer_Unconstrained_Which];
|
|
811
812
|
/**
|
|
@@ -816,69 +817,69 @@ type Type_AnyPointer_Unconstrained_Which = (typeof Type_AnyPointer_Unconstrained
|
|
|
816
817
|
* to be a struct, list, or capability.
|
|
817
818
|
*
|
|
818
819
|
*/
|
|
819
|
-
declare class Type_AnyPointer_Unconstrained extends Struct {
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
820
|
+
declare class Type_AnyPointer_Unconstrained extends index_d_exports.Struct {
|
|
821
|
+
static readonly ANY_KIND: 0;
|
|
822
|
+
static readonly STRUCT: 1;
|
|
823
|
+
static readonly LIST: 2;
|
|
824
|
+
static readonly CAPABILITY: 3;
|
|
825
|
+
static readonly _capnp: {
|
|
826
|
+
displayName: string;
|
|
827
|
+
id: string;
|
|
828
|
+
size: index_d_exports.ObjectSize;
|
|
829
|
+
};
|
|
830
|
+
get _isAnyKind(): boolean;
|
|
831
|
+
set anyKind(_: true);
|
|
832
|
+
get _isStruct(): boolean;
|
|
833
|
+
set struct(_: true);
|
|
834
|
+
get _isList(): boolean;
|
|
835
|
+
set list(_: true);
|
|
836
|
+
get _isCapability(): boolean;
|
|
837
|
+
set capability(_: true);
|
|
838
|
+
toString(): string;
|
|
839
|
+
which(): Type_AnyPointer_Unconstrained_Which;
|
|
839
840
|
}
|
|
840
841
|
/**
|
|
841
842
|
* This is actually a reference to a type parameter defined within this scope.
|
|
842
843
|
*
|
|
843
844
|
*/
|
|
844
|
-
declare class Type_AnyPointer_Parameter extends Struct {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
845
|
+
declare class Type_AnyPointer_Parameter extends index_d_exports.Struct {
|
|
846
|
+
static readonly _capnp: {
|
|
847
|
+
displayName: string;
|
|
848
|
+
id: string;
|
|
849
|
+
size: index_d_exports.ObjectSize;
|
|
850
|
+
};
|
|
851
|
+
/**
|
|
851
852
|
* ID of the generic type whose parameter we're referencing. This should be a parent of the
|
|
852
853
|
* current scope.
|
|
853
854
|
*
|
|
854
855
|
*/
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
856
|
+
get scopeId(): bigint;
|
|
857
|
+
set scopeId(value: bigint);
|
|
858
|
+
/**
|
|
858
859
|
* Index of the parameter within the generic type's parameter list.
|
|
859
860
|
*
|
|
860
861
|
*/
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
862
|
+
get parameterIndex(): number;
|
|
863
|
+
set parameterIndex(value: number);
|
|
864
|
+
toString(): string;
|
|
864
865
|
}
|
|
865
866
|
/**
|
|
866
867
|
* This is actually a reference to an implicit (generic) parameter of a method. The only
|
|
867
868
|
* legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
|
|
868
869
|
*
|
|
869
870
|
*/
|
|
870
|
-
declare class Type_AnyPointer_ImplicitMethodParameter extends Struct {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
871
|
+
declare class Type_AnyPointer_ImplicitMethodParameter extends index_d_exports.Struct {
|
|
872
|
+
static readonly _capnp: {
|
|
873
|
+
displayName: string;
|
|
874
|
+
id: string;
|
|
875
|
+
size: index_d_exports.ObjectSize;
|
|
876
|
+
};
|
|
877
|
+
get parameterIndex(): number;
|
|
878
|
+
set parameterIndex(value: number);
|
|
879
|
+
toString(): string;
|
|
879
880
|
}
|
|
880
881
|
declare const Type_AnyPointer_Which: {
|
|
881
|
-
|
|
882
|
+
/**
|
|
882
883
|
* A regular AnyPointer.
|
|
883
884
|
*
|
|
884
885
|
* The name "unconstrained" means as opposed to constraining it to match a type parameter.
|
|
@@ -886,30 +887,30 @@ declare const Type_AnyPointer_Which: {
|
|
|
886
887
|
* to be a struct, list, or capability.
|
|
887
888
|
*
|
|
888
889
|
*/
|
|
889
|
-
|
|
890
|
-
|
|
890
|
+
readonly UNCONSTRAINED: 0;
|
|
891
|
+
/**
|
|
891
892
|
* This is actually a reference to a type parameter defined within this scope.
|
|
892
893
|
*
|
|
893
894
|
*/
|
|
894
|
-
|
|
895
|
-
|
|
895
|
+
readonly PARAMETER: 1;
|
|
896
|
+
/**
|
|
896
897
|
* This is actually a reference to an implicit (generic) parameter of a method. The only
|
|
897
898
|
* legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
|
|
898
899
|
*
|
|
899
900
|
*/
|
|
900
|
-
|
|
901
|
+
readonly IMPLICIT_METHOD_PARAMETER: 2;
|
|
901
902
|
};
|
|
902
903
|
type Type_AnyPointer_Which = (typeof Type_AnyPointer_Which)[keyof typeof Type_AnyPointer_Which];
|
|
903
|
-
declare class Type_AnyPointer extends Struct {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
904
|
+
declare class Type_AnyPointer extends index_d_exports.Struct {
|
|
905
|
+
static readonly UNCONSTRAINED: 0;
|
|
906
|
+
static readonly PARAMETER: 1;
|
|
907
|
+
static readonly IMPLICIT_METHOD_PARAMETER: 2;
|
|
908
|
+
static readonly _capnp: {
|
|
909
|
+
displayName: string;
|
|
910
|
+
id: string;
|
|
911
|
+
size: index_d_exports.ObjectSize;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
913
914
|
* A regular AnyPointer.
|
|
914
915
|
*
|
|
915
916
|
* The name "unconstrained" means as opposed to constraining it to match a type parameter.
|
|
@@ -917,435 +918,435 @@ declare class Type_AnyPointer extends Struct {
|
|
|
917
918
|
* to be a struct, list, or capability.
|
|
918
919
|
*
|
|
919
920
|
*/
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
921
|
+
get unconstrained(): Type_AnyPointer_Unconstrained;
|
|
922
|
+
_initUnconstrained(): Type_AnyPointer_Unconstrained;
|
|
923
|
+
get _isUnconstrained(): boolean;
|
|
924
|
+
set unconstrained(_: true);
|
|
925
|
+
/**
|
|
925
926
|
* This is actually a reference to a type parameter defined within this scope.
|
|
926
927
|
*
|
|
927
928
|
*/
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
929
|
+
get parameter(): Type_AnyPointer_Parameter;
|
|
930
|
+
_initParameter(): Type_AnyPointer_Parameter;
|
|
931
|
+
get _isParameter(): boolean;
|
|
932
|
+
set parameter(_: true);
|
|
933
|
+
/**
|
|
933
934
|
* This is actually a reference to an implicit (generic) parameter of a method. The only
|
|
934
935
|
* legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
|
|
935
936
|
*
|
|
936
937
|
*/
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
938
|
+
get implicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
|
|
939
|
+
_initImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
|
|
940
|
+
get _isImplicitMethodParameter(): boolean;
|
|
941
|
+
set implicitMethodParameter(_: true);
|
|
942
|
+
toString(): string;
|
|
943
|
+
which(): Type_AnyPointer_Which;
|
|
943
944
|
}
|
|
944
945
|
declare const Type_Which: {
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
946
|
+
readonly VOID: 0;
|
|
947
|
+
readonly BOOL: 1;
|
|
948
|
+
readonly INT8: 2;
|
|
949
|
+
readonly INT16: 3;
|
|
950
|
+
readonly INT32: 4;
|
|
951
|
+
readonly INT64: 5;
|
|
952
|
+
readonly UINT8: 6;
|
|
953
|
+
readonly UINT16: 7;
|
|
954
|
+
readonly UINT32: 8;
|
|
955
|
+
readonly UINT64: 9;
|
|
956
|
+
readonly FLOAT32: 10;
|
|
957
|
+
readonly FLOAT64: 11;
|
|
958
|
+
readonly TEXT: 12;
|
|
959
|
+
readonly DATA: 13;
|
|
960
|
+
readonly LIST: 14;
|
|
961
|
+
readonly ENUM: 15;
|
|
962
|
+
readonly STRUCT: 16;
|
|
963
|
+
readonly INTERFACE: 17;
|
|
964
|
+
readonly ANY_POINTER: 18;
|
|
964
965
|
};
|
|
965
966
|
type Type_Which = (typeof Type_Which)[keyof typeof Type_Which];
|
|
966
967
|
/**
|
|
967
968
|
* Represents a type expression.
|
|
968
969
|
*
|
|
969
970
|
*/
|
|
970
|
-
declare class Type extends Struct {
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
971
|
+
declare class Type extends index_d_exports.Struct {
|
|
972
|
+
static readonly VOID: 0;
|
|
973
|
+
static readonly BOOL: 1;
|
|
974
|
+
static readonly INT8: 2;
|
|
975
|
+
static readonly INT16: 3;
|
|
976
|
+
static readonly INT32: 4;
|
|
977
|
+
static readonly INT64: 5;
|
|
978
|
+
static readonly UINT8: 6;
|
|
979
|
+
static readonly UINT16: 7;
|
|
980
|
+
static readonly UINT32: 8;
|
|
981
|
+
static readonly UINT64: 9;
|
|
982
|
+
static readonly FLOAT32: 10;
|
|
983
|
+
static readonly FLOAT64: 11;
|
|
984
|
+
static readonly TEXT: 12;
|
|
985
|
+
static readonly DATA: 13;
|
|
986
|
+
static readonly LIST: 14;
|
|
987
|
+
static readonly ENUM: 15;
|
|
988
|
+
static readonly STRUCT: 16;
|
|
989
|
+
static readonly INTERFACE: 17;
|
|
990
|
+
static readonly ANY_POINTER: 18;
|
|
991
|
+
static readonly _capnp: {
|
|
992
|
+
displayName: string;
|
|
993
|
+
id: string;
|
|
994
|
+
size: index_d_exports.ObjectSize;
|
|
995
|
+
};
|
|
996
|
+
get _isVoid(): boolean;
|
|
997
|
+
set void(_: true);
|
|
998
|
+
get _isBool(): boolean;
|
|
999
|
+
set bool(_: true);
|
|
1000
|
+
get _isInt8(): boolean;
|
|
1001
|
+
set int8(_: true);
|
|
1002
|
+
get _isInt16(): boolean;
|
|
1003
|
+
set int16(_: true);
|
|
1004
|
+
get _isInt32(): boolean;
|
|
1005
|
+
set int32(_: true);
|
|
1006
|
+
get _isInt64(): boolean;
|
|
1007
|
+
set int64(_: true);
|
|
1008
|
+
get _isUint8(): boolean;
|
|
1009
|
+
set uint8(_: true);
|
|
1010
|
+
get _isUint16(): boolean;
|
|
1011
|
+
set uint16(_: true);
|
|
1012
|
+
get _isUint32(): boolean;
|
|
1013
|
+
set uint32(_: true);
|
|
1014
|
+
get _isUint64(): boolean;
|
|
1015
|
+
set uint64(_: true);
|
|
1016
|
+
get _isFloat32(): boolean;
|
|
1017
|
+
set float32(_: true);
|
|
1018
|
+
get _isFloat64(): boolean;
|
|
1019
|
+
set float64(_: true);
|
|
1020
|
+
get _isText(): boolean;
|
|
1021
|
+
set text(_: true);
|
|
1022
|
+
get _isData(): boolean;
|
|
1023
|
+
set data(_: true);
|
|
1024
|
+
get list(): Type_List;
|
|
1025
|
+
_initList(): Type_List;
|
|
1026
|
+
get _isList(): boolean;
|
|
1027
|
+
set list(_: true);
|
|
1028
|
+
get enum(): Type_Enum;
|
|
1029
|
+
_initEnum(): Type_Enum;
|
|
1030
|
+
get _isEnum(): boolean;
|
|
1031
|
+
set enum(_: true);
|
|
1032
|
+
get struct(): Type_Struct;
|
|
1033
|
+
_initStruct(): Type_Struct;
|
|
1034
|
+
get _isStruct(): boolean;
|
|
1035
|
+
set struct(_: true);
|
|
1036
|
+
get interface(): Type_Interface;
|
|
1037
|
+
_initInterface(): Type_Interface;
|
|
1038
|
+
get _isInterface(): boolean;
|
|
1039
|
+
set interface(_: true);
|
|
1040
|
+
get anyPointer(): Type_AnyPointer;
|
|
1041
|
+
_initAnyPointer(): Type_AnyPointer;
|
|
1042
|
+
get _isAnyPointer(): boolean;
|
|
1043
|
+
set anyPointer(_: true);
|
|
1044
|
+
toString(): string;
|
|
1045
|
+
which(): Type_Which;
|
|
1045
1046
|
}
|
|
1046
1047
|
declare const Brand_Scope_Which: {
|
|
1047
|
-
|
|
1048
|
+
/**
|
|
1048
1049
|
* ID of the scope to which these params apply.
|
|
1049
1050
|
*
|
|
1050
1051
|
*/
|
|
1051
|
-
|
|
1052
|
-
|
|
1052
|
+
readonly BIND: 0;
|
|
1053
|
+
/**
|
|
1053
1054
|
* List of parameter bindings.
|
|
1054
1055
|
*
|
|
1055
1056
|
*/
|
|
1056
|
-
|
|
1057
|
+
readonly INHERIT: 1;
|
|
1057
1058
|
};
|
|
1058
1059
|
type Brand_Scope_Which = (typeof Brand_Scope_Which)[keyof typeof Brand_Scope_Which];
|
|
1059
|
-
declare class Brand_Scope extends Struct {
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1060
|
+
declare class Brand_Scope extends index_d_exports.Struct {
|
|
1061
|
+
static readonly BIND: 0;
|
|
1062
|
+
static readonly INHERIT: 1;
|
|
1063
|
+
static readonly _capnp: {
|
|
1064
|
+
displayName: string;
|
|
1065
|
+
id: string;
|
|
1066
|
+
size: index_d_exports.ObjectSize;
|
|
1067
|
+
};
|
|
1068
|
+
static _Bind: index_d_exports.ListCtor<Brand_Binding>;
|
|
1069
|
+
/**
|
|
1069
1070
|
* ID of the scope to which these params apply.
|
|
1070
1071
|
*
|
|
1071
1072
|
*/
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1073
|
+
get scopeId(): bigint;
|
|
1074
|
+
set scopeId(value: bigint);
|
|
1075
|
+
_adoptBind(value: index_d_exports.Orphan<index_d_exports.List<Brand_Binding>>): void;
|
|
1076
|
+
_disownBind(): index_d_exports.Orphan<index_d_exports.List<Brand_Binding>>;
|
|
1077
|
+
/**
|
|
1077
1078
|
* List of parameter bindings.
|
|
1078
1079
|
*
|
|
1079
1080
|
*/
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1081
|
+
get bind(): index_d_exports.List<Brand_Binding>;
|
|
1082
|
+
_hasBind(): boolean;
|
|
1083
|
+
_initBind(length: number): index_d_exports.List<Brand_Binding>;
|
|
1084
|
+
get _isBind(): boolean;
|
|
1085
|
+
set bind(value: index_d_exports.List<Brand_Binding>);
|
|
1086
|
+
get _isInherit(): boolean;
|
|
1087
|
+
set inherit(_: true);
|
|
1088
|
+
toString(): string;
|
|
1089
|
+
which(): Brand_Scope_Which;
|
|
1089
1090
|
}
|
|
1090
1091
|
declare const Brand_Binding_Which: {
|
|
1091
|
-
|
|
1092
|
-
|
|
1092
|
+
readonly UNBOUND: 0;
|
|
1093
|
+
readonly TYPE: 1;
|
|
1093
1094
|
};
|
|
1094
1095
|
type Brand_Binding_Which = (typeof Brand_Binding_Which)[keyof typeof Brand_Binding_Which];
|
|
1095
|
-
declare class Brand_Binding extends Struct {
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1096
|
+
declare class Brand_Binding extends index_d_exports.Struct {
|
|
1097
|
+
static readonly UNBOUND: 0;
|
|
1098
|
+
static readonly TYPE: 1;
|
|
1099
|
+
static readonly _capnp: {
|
|
1100
|
+
displayName: string;
|
|
1101
|
+
id: string;
|
|
1102
|
+
size: index_d_exports.ObjectSize;
|
|
1103
|
+
};
|
|
1104
|
+
get _isUnbound(): boolean;
|
|
1105
|
+
set unbound(_: true);
|
|
1106
|
+
_adoptType(value: index_d_exports.Orphan<Type>): void;
|
|
1107
|
+
_disownType(): index_d_exports.Orphan<Type>;
|
|
1108
|
+
get type(): Type;
|
|
1109
|
+
_hasType(): boolean;
|
|
1110
|
+
_initType(): Type;
|
|
1111
|
+
get _isType(): boolean;
|
|
1112
|
+
set type(value: Type);
|
|
1113
|
+
toString(): string;
|
|
1114
|
+
which(): Brand_Binding_Which;
|
|
1114
1115
|
}
|
|
1115
1116
|
/**
|
|
1116
1117
|
* Specifies bindings for parameters of generics. Since these bindings turn a generic into a
|
|
1117
1118
|
* non-generic, we call it the "brand".
|
|
1118
1119
|
*
|
|
1119
1120
|
*/
|
|
1120
|
-
declare class Brand extends Struct {
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1121
|
+
declare class Brand extends index_d_exports.Struct {
|
|
1122
|
+
static readonly Scope: typeof Brand_Scope;
|
|
1123
|
+
static readonly Binding: typeof Brand_Binding;
|
|
1124
|
+
static readonly _capnp: {
|
|
1125
|
+
displayName: string;
|
|
1126
|
+
id: string;
|
|
1127
|
+
size: index_d_exports.ObjectSize;
|
|
1128
|
+
};
|
|
1129
|
+
static _Scopes: index_d_exports.ListCtor<Brand_Scope>;
|
|
1130
|
+
_adoptScopes(value: index_d_exports.Orphan<index_d_exports.List<Brand_Scope>>): void;
|
|
1131
|
+
_disownScopes(): index_d_exports.Orphan<index_d_exports.List<Brand_Scope>>;
|
|
1132
|
+
/**
|
|
1132
1133
|
* For each of the target type and each of its parent scopes, a parameterization may be included
|
|
1133
1134
|
* in this list. If no parameterization is included for a particular relevant scope, then either
|
|
1134
1135
|
* that scope has no parameters or all parameters should be considered to be `AnyPointer`.
|
|
1135
1136
|
*
|
|
1136
1137
|
*/
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1138
|
+
get scopes(): index_d_exports.List<Brand_Scope>;
|
|
1139
|
+
_hasScopes(): boolean;
|
|
1140
|
+
_initScopes(length: number): index_d_exports.List<Brand_Scope>;
|
|
1141
|
+
set scopes(value: index_d_exports.List<Brand_Scope>);
|
|
1142
|
+
toString(): string;
|
|
1142
1143
|
}
|
|
1143
1144
|
declare const Value_Which: {
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1145
|
+
readonly VOID: 0;
|
|
1146
|
+
readonly BOOL: 1;
|
|
1147
|
+
readonly INT8: 2;
|
|
1148
|
+
readonly INT16: 3;
|
|
1149
|
+
readonly INT32: 4;
|
|
1150
|
+
readonly INT64: 5;
|
|
1151
|
+
readonly UINT8: 6;
|
|
1152
|
+
readonly UINT16: 7;
|
|
1153
|
+
readonly UINT32: 8;
|
|
1154
|
+
readonly UINT64: 9;
|
|
1155
|
+
readonly FLOAT32: 10;
|
|
1156
|
+
readonly FLOAT64: 11;
|
|
1157
|
+
readonly TEXT: 12;
|
|
1158
|
+
readonly DATA: 13;
|
|
1159
|
+
readonly LIST: 14;
|
|
1160
|
+
readonly ENUM: 15;
|
|
1161
|
+
readonly STRUCT: 16;
|
|
1162
|
+
/**
|
|
1162
1163
|
* The only interface value that can be represented statically is "null", whose methods always
|
|
1163
1164
|
* throw exceptions.
|
|
1164
1165
|
*
|
|
1165
1166
|
*/
|
|
1166
|
-
|
|
1167
|
-
|
|
1167
|
+
readonly INTERFACE: 17;
|
|
1168
|
+
readonly ANY_POINTER: 18;
|
|
1168
1169
|
};
|
|
1169
1170
|
type Value_Which = (typeof Value_Which)[keyof typeof Value_Which];
|
|
1170
1171
|
/**
|
|
1171
1172
|
* Represents a value, e.g. a field default value, constant value, or annotation value.
|
|
1172
1173
|
*
|
|
1173
1174
|
*/
|
|
1174
|
-
declare class Value extends Struct {
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1175
|
+
declare class Value extends index_d_exports.Struct {
|
|
1176
|
+
static readonly VOID: 0;
|
|
1177
|
+
static readonly BOOL: 1;
|
|
1178
|
+
static readonly INT8: 2;
|
|
1179
|
+
static readonly INT16: 3;
|
|
1180
|
+
static readonly INT32: 4;
|
|
1181
|
+
static readonly INT64: 5;
|
|
1182
|
+
static readonly UINT8: 6;
|
|
1183
|
+
static readonly UINT16: 7;
|
|
1184
|
+
static readonly UINT32: 8;
|
|
1185
|
+
static readonly UINT64: 9;
|
|
1186
|
+
static readonly FLOAT32: 10;
|
|
1187
|
+
static readonly FLOAT64: 11;
|
|
1188
|
+
static readonly TEXT: 12;
|
|
1189
|
+
static readonly DATA: 13;
|
|
1190
|
+
static readonly LIST: 14;
|
|
1191
|
+
static readonly ENUM: 15;
|
|
1192
|
+
static readonly STRUCT: 16;
|
|
1193
|
+
static readonly INTERFACE: 17;
|
|
1194
|
+
static readonly ANY_POINTER: 18;
|
|
1195
|
+
static readonly _capnp: {
|
|
1196
|
+
displayName: string;
|
|
1197
|
+
id: string;
|
|
1198
|
+
size: index_d_exports.ObjectSize;
|
|
1199
|
+
};
|
|
1200
|
+
get _isVoid(): boolean;
|
|
1201
|
+
set void(_: true);
|
|
1202
|
+
get bool(): boolean;
|
|
1203
|
+
get _isBool(): boolean;
|
|
1204
|
+
set bool(value: boolean);
|
|
1205
|
+
get int8(): number;
|
|
1206
|
+
get _isInt8(): boolean;
|
|
1207
|
+
set int8(value: number);
|
|
1208
|
+
get int16(): number;
|
|
1209
|
+
get _isInt16(): boolean;
|
|
1210
|
+
set int16(value: number);
|
|
1211
|
+
get int32(): number;
|
|
1212
|
+
get _isInt32(): boolean;
|
|
1213
|
+
set int32(value: number);
|
|
1214
|
+
get int64(): bigint;
|
|
1215
|
+
get _isInt64(): boolean;
|
|
1216
|
+
set int64(value: bigint);
|
|
1217
|
+
get uint8(): number;
|
|
1218
|
+
get _isUint8(): boolean;
|
|
1219
|
+
set uint8(value: number);
|
|
1220
|
+
get uint16(): number;
|
|
1221
|
+
get _isUint16(): boolean;
|
|
1222
|
+
set uint16(value: number);
|
|
1223
|
+
get uint32(): number;
|
|
1224
|
+
get _isUint32(): boolean;
|
|
1225
|
+
set uint32(value: number);
|
|
1226
|
+
get uint64(): bigint;
|
|
1227
|
+
get _isUint64(): boolean;
|
|
1228
|
+
set uint64(value: bigint);
|
|
1229
|
+
get float32(): number;
|
|
1230
|
+
get _isFloat32(): boolean;
|
|
1231
|
+
set float32(value: number);
|
|
1232
|
+
get float64(): number;
|
|
1233
|
+
get _isFloat64(): boolean;
|
|
1234
|
+
set float64(value: number);
|
|
1235
|
+
get text(): string;
|
|
1236
|
+
get _isText(): boolean;
|
|
1237
|
+
set text(value: string);
|
|
1238
|
+
_adoptData(value: index_d_exports.Orphan<index_d_exports.Data>): void;
|
|
1239
|
+
_disownData(): index_d_exports.Orphan<index_d_exports.Data>;
|
|
1240
|
+
get data(): index_d_exports.Data;
|
|
1241
|
+
_hasData(): boolean;
|
|
1242
|
+
_initData(length: number): index_d_exports.Data;
|
|
1243
|
+
get _isData(): boolean;
|
|
1244
|
+
set data(value: index_d_exports.Data);
|
|
1245
|
+
_adoptList(value: index_d_exports.Orphan<index_d_exports.Pointer>): void;
|
|
1246
|
+
_disownList(): index_d_exports.Orphan<index_d_exports.Pointer>;
|
|
1247
|
+
get list(): index_d_exports.Pointer;
|
|
1248
|
+
_hasList(): boolean;
|
|
1249
|
+
get _isList(): boolean;
|
|
1250
|
+
set list(value: index_d_exports.Pointer);
|
|
1251
|
+
get enum(): number;
|
|
1252
|
+
get _isEnum(): boolean;
|
|
1253
|
+
set enum(value: number);
|
|
1254
|
+
_adoptStruct(value: index_d_exports.Orphan<index_d_exports.Pointer>): void;
|
|
1255
|
+
_disownStruct(): index_d_exports.Orphan<index_d_exports.Pointer>;
|
|
1256
|
+
get struct(): index_d_exports.Pointer;
|
|
1257
|
+
_hasStruct(): boolean;
|
|
1258
|
+
get _isStruct(): boolean;
|
|
1259
|
+
set struct(value: index_d_exports.Pointer);
|
|
1260
|
+
get _isInterface(): boolean;
|
|
1261
|
+
set interface(_: true);
|
|
1262
|
+
_adoptAnyPointer(value: index_d_exports.Orphan<index_d_exports.Pointer>): void;
|
|
1263
|
+
_disownAnyPointer(): index_d_exports.Orphan<index_d_exports.Pointer>;
|
|
1264
|
+
get anyPointer(): index_d_exports.Pointer;
|
|
1265
|
+
_hasAnyPointer(): boolean;
|
|
1266
|
+
get _isAnyPointer(): boolean;
|
|
1267
|
+
set anyPointer(value: index_d_exports.Pointer);
|
|
1268
|
+
toString(): string;
|
|
1269
|
+
which(): Value_Which;
|
|
1269
1270
|
}
|
|
1270
1271
|
/**
|
|
1271
1272
|
* Describes an annotation applied to a declaration. Note AnnotationNode describes the
|
|
1272
1273
|
* annotation's declaration, while this describes a use of the annotation.
|
|
1273
1274
|
*
|
|
1274
1275
|
*/
|
|
1275
|
-
declare class Annotation extends Struct {
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1276
|
+
declare class Annotation extends index_d_exports.Struct {
|
|
1277
|
+
static readonly _capnp: {
|
|
1278
|
+
displayName: string;
|
|
1279
|
+
id: string;
|
|
1280
|
+
size: index_d_exports.ObjectSize;
|
|
1281
|
+
};
|
|
1282
|
+
/**
|
|
1282
1283
|
* ID of the annotation node.
|
|
1283
1284
|
*
|
|
1284
1285
|
*/
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1286
|
+
get id(): bigint;
|
|
1287
|
+
set id(value: bigint);
|
|
1288
|
+
_adoptBrand(value: index_d_exports.Orphan<Brand>): void;
|
|
1289
|
+
_disownBrand(): index_d_exports.Orphan<Brand>;
|
|
1290
|
+
/**
|
|
1290
1291
|
* Brand of the annotation.
|
|
1291
1292
|
*
|
|
1292
1293
|
* Note that the annotation itself is not allowed to be parameterized, but its scope might be.
|
|
1293
1294
|
*
|
|
1294
1295
|
*/
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1296
|
+
get brand(): Brand;
|
|
1297
|
+
_hasBrand(): boolean;
|
|
1298
|
+
_initBrand(): Brand;
|
|
1299
|
+
set brand(value: Brand);
|
|
1300
|
+
_adoptValue(value: index_d_exports.Orphan<Value>): void;
|
|
1301
|
+
_disownValue(): index_d_exports.Orphan<Value>;
|
|
1302
|
+
get value(): Value;
|
|
1303
|
+
_hasValue(): boolean;
|
|
1304
|
+
_initValue(): Value;
|
|
1305
|
+
set value(value: Value);
|
|
1306
|
+
toString(): string;
|
|
1306
1307
|
}
|
|
1307
1308
|
declare const ElementSize: {
|
|
1308
|
-
|
|
1309
|
+
/**
|
|
1309
1310
|
* aka "void", but that's a keyword.
|
|
1310
1311
|
*
|
|
1311
1312
|
*/
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1313
|
+
readonly EMPTY: 0;
|
|
1314
|
+
readonly BIT: 1;
|
|
1315
|
+
readonly BYTE: 2;
|
|
1316
|
+
readonly TWO_BYTES: 3;
|
|
1317
|
+
readonly FOUR_BYTES: 4;
|
|
1318
|
+
readonly EIGHT_BYTES: 5;
|
|
1319
|
+
readonly POINTER: 6;
|
|
1320
|
+
readonly INLINE_COMPOSITE: 7;
|
|
1320
1321
|
};
|
|
1321
1322
|
type ElementSize = (typeof ElementSize)[keyof typeof ElementSize];
|
|
1322
|
-
declare class CapnpVersion extends Struct {
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1323
|
+
declare class CapnpVersion extends index_d_exports.Struct {
|
|
1324
|
+
static readonly _capnp: {
|
|
1325
|
+
displayName: string;
|
|
1326
|
+
id: string;
|
|
1327
|
+
size: index_d_exports.ObjectSize;
|
|
1328
|
+
};
|
|
1329
|
+
get major(): number;
|
|
1330
|
+
set major(value: number);
|
|
1331
|
+
get minor(): number;
|
|
1332
|
+
set minor(value: number);
|
|
1333
|
+
get micro(): number;
|
|
1334
|
+
set micro(value: number);
|
|
1335
|
+
toString(): string;
|
|
1335
1336
|
}
|
|
1336
|
-
declare class CodeGeneratorRequest_RequestedFile_Import extends Struct {
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1337
|
+
declare class CodeGeneratorRequest_RequestedFile_Import extends index_d_exports.Struct {
|
|
1338
|
+
static readonly _capnp: {
|
|
1339
|
+
displayName: string;
|
|
1340
|
+
id: string;
|
|
1341
|
+
size: index_d_exports.ObjectSize;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1343
1344
|
* ID of the imported file.
|
|
1344
1345
|
*
|
|
1345
1346
|
*/
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1347
|
+
get id(): bigint;
|
|
1348
|
+
set id(value: bigint);
|
|
1349
|
+
/**
|
|
1349
1350
|
* Name which *this* file used to refer to the foreign file. This may be a relative name.
|
|
1350
1351
|
* This information is provided because it might be useful for code generation, e.g. to
|
|
1351
1352
|
* generate #include directives in C++. We don't put this in Node.file because this
|
|
@@ -1354,56 +1355,56 @@ declare class CodeGeneratorRequest_RequestedFile_Import extends Struct {
|
|
|
1354
1355
|
* (On Zooko's triangle, this is the import's petname according to the importing file.)
|
|
1355
1356
|
*
|
|
1356
1357
|
*/
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1358
|
+
get name(): string;
|
|
1359
|
+
set name(value: string);
|
|
1360
|
+
toString(): string;
|
|
1360
1361
|
}
|
|
1361
|
-
declare class CodeGeneratorRequest_RequestedFile extends Struct {
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1362
|
+
declare class CodeGeneratorRequest_RequestedFile extends index_d_exports.Struct {
|
|
1363
|
+
static readonly Import: typeof CodeGeneratorRequest_RequestedFile_Import;
|
|
1364
|
+
static readonly _capnp: {
|
|
1365
|
+
displayName: string;
|
|
1366
|
+
id: string;
|
|
1367
|
+
size: index_d_exports.ObjectSize;
|
|
1368
|
+
};
|
|
1369
|
+
static _Imports: index_d_exports.ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
|
|
1370
|
+
/**
|
|
1370
1371
|
* ID of the file.
|
|
1371
1372
|
*
|
|
1372
1373
|
*/
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1374
|
+
get id(): bigint;
|
|
1375
|
+
set id(value: bigint);
|
|
1376
|
+
/**
|
|
1376
1377
|
* Name of the file as it appeared on the command-line (minus the src-prefix). You may use
|
|
1377
1378
|
* this to decide where to write the output.
|
|
1378
1379
|
*
|
|
1379
1380
|
*/
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1381
|
+
get filename(): string;
|
|
1382
|
+
set filename(value: string);
|
|
1383
|
+
_adoptImports(value: index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>>): void;
|
|
1384
|
+
_disownImports(): index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>>;
|
|
1385
|
+
/**
|
|
1385
1386
|
* List of all imported paths seen in this file.
|
|
1386
1387
|
*
|
|
1387
1388
|
*/
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1389
|
+
get imports(): index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>;
|
|
1390
|
+
_hasImports(): boolean;
|
|
1391
|
+
_initImports(length: number): index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>;
|
|
1392
|
+
set imports(value: index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>);
|
|
1393
|
+
toString(): string;
|
|
1393
1394
|
}
|
|
1394
|
-
declare class CodeGeneratorRequest extends Struct {
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1395
|
+
declare class CodeGeneratorRequest extends index_d_exports.Struct {
|
|
1396
|
+
static readonly RequestedFile: typeof CodeGeneratorRequest_RequestedFile;
|
|
1397
|
+
static readonly _capnp: {
|
|
1398
|
+
displayName: string;
|
|
1399
|
+
id: string;
|
|
1400
|
+
size: index_d_exports.ObjectSize;
|
|
1401
|
+
};
|
|
1402
|
+
static _Nodes: index_d_exports.ListCtor<Node>;
|
|
1403
|
+
static _SourceInfo: index_d_exports.ListCtor<Node_SourceInfo>;
|
|
1404
|
+
static _RequestedFiles: index_d_exports.ListCtor<CodeGeneratorRequest_RequestedFile>;
|
|
1405
|
+
_adoptCapnpVersion(value: index_d_exports.Orphan<CapnpVersion>): void;
|
|
1406
|
+
_disownCapnpVersion(): index_d_exports.Orphan<CapnpVersion>;
|
|
1407
|
+
/**
|
|
1407
1408
|
* Version of the `capnp` executable. Generally, code generators should ignore this, but the code
|
|
1408
1409
|
* generators that ship with `capnp` itself will print a warning if this mismatches since that
|
|
1409
1410
|
* probably indicates something is misconfigured.
|
|
@@ -1412,43 +1413,44 @@ declare class CodeGeneratorRequest extends Struct {
|
|
|
1412
1413
|
* is older than that.
|
|
1413
1414
|
*
|
|
1414
1415
|
*/
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1416
|
+
get capnpVersion(): CapnpVersion;
|
|
1417
|
+
_hasCapnpVersion(): boolean;
|
|
1418
|
+
_initCapnpVersion(): CapnpVersion;
|
|
1419
|
+
set capnpVersion(value: CapnpVersion);
|
|
1420
|
+
_adoptNodes(value: index_d_exports.Orphan<index_d_exports.List<Node>>): void;
|
|
1421
|
+
_disownNodes(): index_d_exports.Orphan<index_d_exports.List<Node>>;
|
|
1422
|
+
/**
|
|
1422
1423
|
* All nodes parsed by the compiler, including for the files on the command line and their
|
|
1423
1424
|
* imports.
|
|
1424
1425
|
*
|
|
1425
1426
|
*/
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1427
|
+
get nodes(): index_d_exports.List<Node>;
|
|
1428
|
+
_hasNodes(): boolean;
|
|
1429
|
+
_initNodes(length: number): index_d_exports.List<Node>;
|
|
1430
|
+
set nodes(value: index_d_exports.List<Node>);
|
|
1431
|
+
_adoptSourceInfo(value: index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo>>): void;
|
|
1432
|
+
_disownSourceInfo(): index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo>>;
|
|
1433
|
+
/**
|
|
1433
1434
|
* Information about the original source code for each node, where available. This array may be
|
|
1434
1435
|
* omitted or may be missing some nodes if no info is available for them.
|
|
1435
1436
|
*
|
|
1436
1437
|
*/
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1438
|
+
get sourceInfo(): index_d_exports.List<Node_SourceInfo>;
|
|
1439
|
+
_hasSourceInfo(): boolean;
|
|
1440
|
+
_initSourceInfo(length: number): index_d_exports.List<Node_SourceInfo>;
|
|
1441
|
+
set sourceInfo(value: index_d_exports.List<Node_SourceInfo>);
|
|
1442
|
+
_adoptRequestedFiles(value: index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile>>): void;
|
|
1443
|
+
_disownRequestedFiles(): index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile>>;
|
|
1444
|
+
/**
|
|
1444
1445
|
* Files which were listed on the command line.
|
|
1445
1446
|
*
|
|
1446
1447
|
*/
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1448
|
+
get requestedFiles(): index_d_exports.List<CodeGeneratorRequest_RequestedFile>;
|
|
1449
|
+
_hasRequestedFiles(): boolean;
|
|
1450
|
+
_initRequestedFiles(length: number): index_d_exports.List<CodeGeneratorRequest_RequestedFile>;
|
|
1451
|
+
set requestedFiles(value: index_d_exports.List<CodeGeneratorRequest_RequestedFile>);
|
|
1452
|
+
toString(): string;
|
|
1452
1453
|
}
|
|
1453
|
-
|
|
1454
|
+
//#endregion
|
|
1454
1455
|
export { Annotation, Brand, Brand_Binding, Brand_Binding_Which, Brand_Scope, Brand_Scope_Which, CapnpVersion, CodeGeneratorRequest, CodeGeneratorRequest_RequestedFile, CodeGeneratorRequest_RequestedFile_Import, ElementSize, Enumerant, Field, Field_Group, Field_Ordinal, Field_Ordinal_Which, Field_Slot, Field_Which, Method, Node, Node_Annotation, Node_Const, Node_Enum, Node_Interface, Node_NestedNode, Node_Parameter, Node_SourceInfo, Node_SourceInfo_Member, Node_Struct, Node_Which, Superclass, Type, Type_AnyPointer, Type_AnyPointer_ImplicitMethodParameter, Type_AnyPointer_Parameter, Type_AnyPointer_Unconstrained, Type_AnyPointer_Unconstrained_Which, Type_AnyPointer_Which, Type_Enum, Type_Interface, Type_List, Type_Struct, Type_Which, Value, Value_Which, _capnpFileId };
|
|
1456
|
+
//# sourceMappingURL=schema.d.cts.map
|