exupery 0.1.17 → 0.1.18
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/dist/generated/interface/schemas/implementation/data_types/resolve.d.ts +2 -2
- package/dist/generated/interface/schemas/implementation/data_types/{resolved.d.ts → source.d.ts} +1 -1
- package/dist/generated/interface/schemas/implementation/data_types/source.js +3 -0
- package/dist/generated/interface/schemas/implementation/data_types/{unresolved.d.ts → target.d.ts} +1 -1
- package/dist/generated/interface/schemas/implementation/data_types/target.js +3 -0
- package/dist/generated/interface/schemas/implementation/marshall.d.ts +1 -1
- package/dist/generated/interface/schemas/implementation/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/implementation/unmarshall.d.ts +1 -1
- package/dist/generated/interface/schemas/interface/data_types/resolve.d.ts +2 -2
- package/dist/generated/interface/schemas/interface/data_types/source.js +3 -0
- package/dist/generated/interface/schemas/interface/data_types/target.js +3 -0
- package/dist/generated/interface/schemas/interface/marshall.d.ts +1 -1
- package/dist/generated/interface/schemas/interface/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/interface/unmarshall.d.ts +1 -1
- package/dist/generated/interface/schemas/typescript_light/data_types/resolve.d.ts +1 -0
- package/dist/generated/interface/schemas/typescript_light/data_types/resolve.js +7 -0
- package/dist/generated/interface/schemas/typescript_light/data_types/source.d.ts +1101 -0
- package/dist/generated/interface/schemas/typescript_light/data_types/source.js +3 -0
- package/dist/generated/interface/schemas/typescript_light/data_types/target.js +3 -0
- package/dist/generated/interface/schemas/typescript_light/marshall.d.ts +1 -1
- package/dist/generated/interface/schemas/typescript_light/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/typescript_light/unmarshall.d.ts +1 -1
- package/dist/shorthands/implementation.d.ts +2 -2
- package/dist/shorthands/interface.d.ts +1 -1
- package/dist/shorthands/typescript_light.d.ts +1 -1
- package/dist/transformations/implementation/typescript_light.d.ts +3 -3
- package/dist/transformations/interface/typescript_light.d.ts +4 -4
- package/dist/transformations/interface/typescript_light.js +1 -1
- package/dist/transformations/library/typescript_light.d.ts +3 -3
- package/dist/transformations/typescript_light/fountain_pen_block.d.ts +2 -2
- package/package.json +2 -2
- package/dist/generated/interface/schemas/implementation/data_types/resolved.js +0 -3
- package/dist/generated/interface/schemas/implementation/data_types/unresolved.js +0 -3
- package/dist/generated/interface/schemas/interface/data_types/resolved.js +0 -3
- package/dist/generated/interface/schemas/interface/data_types/unresolved.js +0 -3
- package/dist/generated/interface/schemas/typescript_light/data_types/unconstrained.js +0 -3
- /package/dist/generated/interface/schemas/interface/data_types/{resolved.d.ts → source.d.ts} +0 -0
- /package/dist/generated/interface/schemas/interface/data_types/{unresolved.d.ts → target.d.ts} +0 -0
- /package/dist/generated/interface/schemas/typescript_light/data_types/{unconstrained.d.ts → target.d.ts} +0 -0
|
@@ -0,0 +1,1101 @@
|
|
|
1
|
+
import * as _pt from 'exupery-core-types';
|
|
2
|
+
import * as _i_core from "../../../core/resolved";
|
|
3
|
+
export type _T_Block = _i_core._T_List<null, _T_Block_Part>;
|
|
4
|
+
export type _T_Block_Part = _i_core._T_State_Group<null, readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['sub block', _T_Block]>;
|
|
5
|
+
export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Block]>>;
|
|
6
|
+
export type _T_Expression = _i_core._T_State_Group<null, readonly ['array literal', _i_core._T_List<null, _T_Expression>] | readonly [
|
|
7
|
+
'arrow function',
|
|
8
|
+
{
|
|
9
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
10
|
+
readonly 'name': string;
|
|
11
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
12
|
+
}>;
|
|
13
|
+
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
14
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
15
|
+
}
|
|
16
|
+
] | readonly [
|
|
17
|
+
'call',
|
|
18
|
+
{
|
|
19
|
+
readonly 'arguments': _i_core._T_List<null, _T_Expression>;
|
|
20
|
+
readonly 'function selection': _T_Expression;
|
|
21
|
+
}
|
|
22
|
+
] | readonly ['false', null] | readonly ['null', null] | readonly ['number literal', number] | readonly [
|
|
23
|
+
'object literal',
|
|
24
|
+
{
|
|
25
|
+
readonly 'properties': _i_core._T_Dictionary<null, _T_Expression>;
|
|
26
|
+
}
|
|
27
|
+
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null]>;
|
|
28
|
+
export type _T_Line = _i_core._T_List<null, _T_Line_Part>;
|
|
29
|
+
export type _T_Line_Part = _i_core._T_State_Group<null, readonly ['indent', _T_Block] | readonly ['nothing', null] | readonly ['snippet', string] | readonly ['sub line', _T_Line]>;
|
|
30
|
+
export type _T_Lines = _i_core._T_List<null, {
|
|
31
|
+
readonly 'indentation': number;
|
|
32
|
+
readonly 'text': string;
|
|
33
|
+
}>;
|
|
34
|
+
export type _T_Statements = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
35
|
+
'import',
|
|
36
|
+
{
|
|
37
|
+
readonly 'from': string;
|
|
38
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
39
|
+
'named',
|
|
40
|
+
{
|
|
41
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
42
|
+
}
|
|
43
|
+
] | readonly ['namespace', string]>;
|
|
44
|
+
}
|
|
45
|
+
] | readonly [
|
|
46
|
+
'module declaration',
|
|
47
|
+
{
|
|
48
|
+
readonly 'block': _T_Statements;
|
|
49
|
+
readonly 'export': boolean;
|
|
50
|
+
readonly 'name': string;
|
|
51
|
+
}
|
|
52
|
+
] | readonly [
|
|
53
|
+
'type alias declaration',
|
|
54
|
+
{
|
|
55
|
+
readonly 'export': boolean;
|
|
56
|
+
readonly 'name': string;
|
|
57
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
58
|
+
readonly 'type': _T_Type;
|
|
59
|
+
}
|
|
60
|
+
] | readonly [
|
|
61
|
+
'variable',
|
|
62
|
+
{
|
|
63
|
+
readonly 'const': boolean;
|
|
64
|
+
readonly 'export': boolean;
|
|
65
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
66
|
+
readonly 'name': string;
|
|
67
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
68
|
+
}
|
|
69
|
+
]>>;
|
|
70
|
+
export type _T_String_Literal = {
|
|
71
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['apostrophe', null] | readonly ['quote', null]>;
|
|
72
|
+
readonly 'value': string;
|
|
73
|
+
};
|
|
74
|
+
export type _T_Type = _i_core._T_State_Group<null, readonly ['boolean', null] | readonly [
|
|
75
|
+
'function',
|
|
76
|
+
{
|
|
77
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
78
|
+
readonly 'name': string;
|
|
79
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly 'return': _T_Type;
|
|
82
|
+
readonly 'type parameters': _i_core._T_List<null, string>;
|
|
83
|
+
}
|
|
84
|
+
] | readonly ['literal type', _T_String_Literal] | readonly ['null', null] | readonly ['number', null] | readonly ['string', null] | readonly [
|
|
85
|
+
'tuple',
|
|
86
|
+
{
|
|
87
|
+
readonly 'elements': _i_core._T_List<null, _T_Type>;
|
|
88
|
+
readonly 'readonly': boolean;
|
|
89
|
+
}
|
|
90
|
+
] | readonly [
|
|
91
|
+
'type literal',
|
|
92
|
+
{
|
|
93
|
+
readonly 'properties': _i_core._T_Dictionary<null, {
|
|
94
|
+
readonly 'readonly': boolean;
|
|
95
|
+
readonly 'type': _T_Type;
|
|
96
|
+
}>;
|
|
97
|
+
}
|
|
98
|
+
] | readonly [
|
|
99
|
+
'type reference',
|
|
100
|
+
{
|
|
101
|
+
readonly 'start': string;
|
|
102
|
+
readonly 'tail': _i_core._T_List<null, string>;
|
|
103
|
+
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
104
|
+
}
|
|
105
|
+
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null]>;
|
|
106
|
+
export type Block = _T_Block;
|
|
107
|
+
export type Block_Part = _T_Block_Part;
|
|
108
|
+
export type Directory = _T_Directory;
|
|
109
|
+
export type Expression = _T_Expression;
|
|
110
|
+
export type Line = _T_Line;
|
|
111
|
+
export type Line_Part = _T_Line_Part;
|
|
112
|
+
export type Lines = _T_Lines;
|
|
113
|
+
export type Statements = _T_Statements;
|
|
114
|
+
export type String_Literal = _T_String_Literal;
|
|
115
|
+
export type Type = _T_Type;
|
|
116
|
+
export declare namespace _T_Block {
|
|
117
|
+
namespace L {
|
|
118
|
+
}
|
|
119
|
+
type L = _T_Block_Part;
|
|
120
|
+
}
|
|
121
|
+
export declare namespace _T_Block_Part {
|
|
122
|
+
namespace SG {
|
|
123
|
+
type line = string;
|
|
124
|
+
namespace nested_line {
|
|
125
|
+
}
|
|
126
|
+
type nested_line = _T_Line;
|
|
127
|
+
type nothing = null;
|
|
128
|
+
namespace sub_block {
|
|
129
|
+
}
|
|
130
|
+
type sub_block = _T_Block;
|
|
131
|
+
}
|
|
132
|
+
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['sub block', _T_Block];
|
|
133
|
+
}
|
|
134
|
+
export declare namespace _T_Directory {
|
|
135
|
+
namespace D {
|
|
136
|
+
namespace SG {
|
|
137
|
+
namespace directory {
|
|
138
|
+
}
|
|
139
|
+
type directory = _T_Directory;
|
|
140
|
+
namespace file {
|
|
141
|
+
}
|
|
142
|
+
type file = _T_Block;
|
|
143
|
+
}
|
|
144
|
+
type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Block];
|
|
145
|
+
}
|
|
146
|
+
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Block]>;
|
|
147
|
+
}
|
|
148
|
+
export declare namespace _T_Expression {
|
|
149
|
+
namespace SG {
|
|
150
|
+
namespace array_literal {
|
|
151
|
+
namespace L {
|
|
152
|
+
}
|
|
153
|
+
type L = _T_Expression;
|
|
154
|
+
}
|
|
155
|
+
type array_literal = _i_core._T_List<null, _T_Expression>;
|
|
156
|
+
namespace arrow_function {
|
|
157
|
+
namespace parameters {
|
|
158
|
+
namespace L {
|
|
159
|
+
type name = string;
|
|
160
|
+
namespace _type {
|
|
161
|
+
namespace O {
|
|
162
|
+
}
|
|
163
|
+
type O = _T_Type;
|
|
164
|
+
}
|
|
165
|
+
type _type = _pt.Optional_Value<_T_Type>;
|
|
166
|
+
}
|
|
167
|
+
type L = {
|
|
168
|
+
readonly 'name': string;
|
|
169
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
type parameters = _i_core._T_List<null, {
|
|
173
|
+
readonly 'name': string;
|
|
174
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
175
|
+
}>;
|
|
176
|
+
namespace return_type {
|
|
177
|
+
namespace O {
|
|
178
|
+
}
|
|
179
|
+
type O = _T_Type;
|
|
180
|
+
}
|
|
181
|
+
type return_type = _pt.Optional_Value<_T_Type>;
|
|
182
|
+
namespace _type {
|
|
183
|
+
namespace SG {
|
|
184
|
+
namespace block {
|
|
185
|
+
}
|
|
186
|
+
type block = _T_Statements;
|
|
187
|
+
namespace expression {
|
|
188
|
+
}
|
|
189
|
+
type expression = _T_Expression;
|
|
190
|
+
}
|
|
191
|
+
type SG = readonly ['block', _T_Statements] | readonly ['expression', _T_Expression];
|
|
192
|
+
}
|
|
193
|
+
type _type = _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
194
|
+
}
|
|
195
|
+
type arrow_function = {
|
|
196
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
197
|
+
readonly 'name': string;
|
|
198
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
199
|
+
}>;
|
|
200
|
+
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
201
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
202
|
+
};
|
|
203
|
+
namespace call {
|
|
204
|
+
namespace _arguments {
|
|
205
|
+
namespace L {
|
|
206
|
+
}
|
|
207
|
+
type L = _T_Expression;
|
|
208
|
+
}
|
|
209
|
+
type _arguments = _i_core._T_List<null, _T_Expression>;
|
|
210
|
+
namespace function_selection {
|
|
211
|
+
}
|
|
212
|
+
type function_selection = _T_Expression;
|
|
213
|
+
}
|
|
214
|
+
type call = {
|
|
215
|
+
readonly 'arguments': _i_core._T_List<null, _T_Expression>;
|
|
216
|
+
readonly 'function selection': _T_Expression;
|
|
217
|
+
};
|
|
218
|
+
type _false = null;
|
|
219
|
+
type _null = null;
|
|
220
|
+
type number_literal = number;
|
|
221
|
+
namespace object_literal {
|
|
222
|
+
namespace properties {
|
|
223
|
+
namespace D {
|
|
224
|
+
}
|
|
225
|
+
type D = _T_Expression;
|
|
226
|
+
}
|
|
227
|
+
type properties = _i_core._T_Dictionary<null, _T_Expression>;
|
|
228
|
+
}
|
|
229
|
+
type object_literal = {
|
|
230
|
+
readonly 'properties': _i_core._T_Dictionary<null, _T_Expression>;
|
|
231
|
+
};
|
|
232
|
+
namespace string_literal {
|
|
233
|
+
}
|
|
234
|
+
type string_literal = _T_String_Literal;
|
|
235
|
+
type _true = null;
|
|
236
|
+
}
|
|
237
|
+
type SG = readonly ['array literal', _i_core._T_List<null, _T_Expression>] | readonly [
|
|
238
|
+
'arrow function',
|
|
239
|
+
{
|
|
240
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
241
|
+
readonly 'name': string;
|
|
242
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
243
|
+
}>;
|
|
244
|
+
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
245
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
246
|
+
}
|
|
247
|
+
] | readonly [
|
|
248
|
+
'call',
|
|
249
|
+
{
|
|
250
|
+
readonly 'arguments': _i_core._T_List<null, _T_Expression>;
|
|
251
|
+
readonly 'function selection': _T_Expression;
|
|
252
|
+
}
|
|
253
|
+
] | readonly ['false', null] | readonly ['null', null] | readonly ['number literal', number] | readonly [
|
|
254
|
+
'object literal',
|
|
255
|
+
{
|
|
256
|
+
readonly 'properties': _i_core._T_Dictionary<null, _T_Expression>;
|
|
257
|
+
}
|
|
258
|
+
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null];
|
|
259
|
+
}
|
|
260
|
+
export declare namespace _T_Line {
|
|
261
|
+
namespace L {
|
|
262
|
+
}
|
|
263
|
+
type L = _T_Line_Part;
|
|
264
|
+
}
|
|
265
|
+
export declare namespace _T_Line_Part {
|
|
266
|
+
namespace SG {
|
|
267
|
+
namespace indent {
|
|
268
|
+
}
|
|
269
|
+
type indent = _T_Block;
|
|
270
|
+
type nothing = null;
|
|
271
|
+
type snippet = string;
|
|
272
|
+
namespace sub_line {
|
|
273
|
+
}
|
|
274
|
+
type sub_line = _T_Line;
|
|
275
|
+
}
|
|
276
|
+
type SG = readonly ['indent', _T_Block] | readonly ['nothing', null] | readonly ['snippet', string] | readonly ['sub line', _T_Line];
|
|
277
|
+
}
|
|
278
|
+
export declare namespace _T_Lines {
|
|
279
|
+
namespace L {
|
|
280
|
+
type indentation = number;
|
|
281
|
+
type text = string;
|
|
282
|
+
}
|
|
283
|
+
type L = {
|
|
284
|
+
readonly 'indentation': number;
|
|
285
|
+
readonly 'text': string;
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
export declare namespace _T_Statements {
|
|
289
|
+
namespace L {
|
|
290
|
+
namespace SG {
|
|
291
|
+
namespace _import {
|
|
292
|
+
type _from = string;
|
|
293
|
+
namespace _type {
|
|
294
|
+
namespace SG {
|
|
295
|
+
namespace named {
|
|
296
|
+
namespace specifiers {
|
|
297
|
+
type D = string;
|
|
298
|
+
}
|
|
299
|
+
type specifiers = _i_core._T_Dictionary<null, string>;
|
|
300
|
+
}
|
|
301
|
+
type named = {
|
|
302
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
303
|
+
};
|
|
304
|
+
type namespace = string;
|
|
305
|
+
}
|
|
306
|
+
type SG = readonly [
|
|
307
|
+
'named',
|
|
308
|
+
{
|
|
309
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
310
|
+
}
|
|
311
|
+
] | readonly ['namespace', string];
|
|
312
|
+
}
|
|
313
|
+
type _type = _i_core._T_State_Group<null, readonly [
|
|
314
|
+
'named',
|
|
315
|
+
{
|
|
316
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
317
|
+
}
|
|
318
|
+
] | readonly ['namespace', string]>;
|
|
319
|
+
}
|
|
320
|
+
type _import = {
|
|
321
|
+
readonly 'from': string;
|
|
322
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
323
|
+
'named',
|
|
324
|
+
{
|
|
325
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
326
|
+
}
|
|
327
|
+
] | readonly ['namespace', string]>;
|
|
328
|
+
};
|
|
329
|
+
namespace module_declaration {
|
|
330
|
+
namespace block {
|
|
331
|
+
}
|
|
332
|
+
type block = _T_Statements;
|
|
333
|
+
type _export = boolean;
|
|
334
|
+
type name = string;
|
|
335
|
+
}
|
|
336
|
+
type module_declaration = {
|
|
337
|
+
readonly 'block': _T_Statements;
|
|
338
|
+
readonly 'export': boolean;
|
|
339
|
+
readonly 'name': string;
|
|
340
|
+
};
|
|
341
|
+
namespace type_alias_declaration {
|
|
342
|
+
type _export = boolean;
|
|
343
|
+
type name = string;
|
|
344
|
+
namespace parameters {
|
|
345
|
+
type L = string;
|
|
346
|
+
}
|
|
347
|
+
type parameters = _i_core._T_List<null, string>;
|
|
348
|
+
namespace _type {
|
|
349
|
+
}
|
|
350
|
+
type _type = _T_Type;
|
|
351
|
+
}
|
|
352
|
+
type type_alias_declaration = {
|
|
353
|
+
readonly 'export': boolean;
|
|
354
|
+
readonly 'name': string;
|
|
355
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
356
|
+
readonly 'type': _T_Type;
|
|
357
|
+
};
|
|
358
|
+
namespace variable {
|
|
359
|
+
type _const = boolean;
|
|
360
|
+
type _export = boolean;
|
|
361
|
+
namespace expression {
|
|
362
|
+
namespace O {
|
|
363
|
+
}
|
|
364
|
+
type O = _T_Expression;
|
|
365
|
+
}
|
|
366
|
+
type expression = _pt.Optional_Value<_T_Expression>;
|
|
367
|
+
type name = string;
|
|
368
|
+
namespace _type {
|
|
369
|
+
namespace O {
|
|
370
|
+
}
|
|
371
|
+
type O = _T_Type;
|
|
372
|
+
}
|
|
373
|
+
type _type = _pt.Optional_Value<_T_Type>;
|
|
374
|
+
}
|
|
375
|
+
type variable = {
|
|
376
|
+
readonly 'const': boolean;
|
|
377
|
+
readonly 'export': boolean;
|
|
378
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
379
|
+
readonly 'name': string;
|
|
380
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
type SG = readonly [
|
|
384
|
+
'import',
|
|
385
|
+
{
|
|
386
|
+
readonly 'from': string;
|
|
387
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
388
|
+
'named',
|
|
389
|
+
{
|
|
390
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
391
|
+
}
|
|
392
|
+
] | readonly ['namespace', string]>;
|
|
393
|
+
}
|
|
394
|
+
] | readonly [
|
|
395
|
+
'module declaration',
|
|
396
|
+
{
|
|
397
|
+
readonly 'block': _T_Statements;
|
|
398
|
+
readonly 'export': boolean;
|
|
399
|
+
readonly 'name': string;
|
|
400
|
+
}
|
|
401
|
+
] | readonly [
|
|
402
|
+
'type alias declaration',
|
|
403
|
+
{
|
|
404
|
+
readonly 'export': boolean;
|
|
405
|
+
readonly 'name': string;
|
|
406
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
407
|
+
readonly 'type': _T_Type;
|
|
408
|
+
}
|
|
409
|
+
] | readonly [
|
|
410
|
+
'variable',
|
|
411
|
+
{
|
|
412
|
+
readonly 'const': boolean;
|
|
413
|
+
readonly 'export': boolean;
|
|
414
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
415
|
+
readonly 'name': string;
|
|
416
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
417
|
+
}
|
|
418
|
+
];
|
|
419
|
+
}
|
|
420
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
421
|
+
'import',
|
|
422
|
+
{
|
|
423
|
+
readonly 'from': string;
|
|
424
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
425
|
+
'named',
|
|
426
|
+
{
|
|
427
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
428
|
+
}
|
|
429
|
+
] | readonly ['namespace', string]>;
|
|
430
|
+
}
|
|
431
|
+
] | readonly [
|
|
432
|
+
'module declaration',
|
|
433
|
+
{
|
|
434
|
+
readonly 'block': _T_Statements;
|
|
435
|
+
readonly 'export': boolean;
|
|
436
|
+
readonly 'name': string;
|
|
437
|
+
}
|
|
438
|
+
] | readonly [
|
|
439
|
+
'type alias declaration',
|
|
440
|
+
{
|
|
441
|
+
readonly 'export': boolean;
|
|
442
|
+
readonly 'name': string;
|
|
443
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
444
|
+
readonly 'type': _T_Type;
|
|
445
|
+
}
|
|
446
|
+
] | readonly [
|
|
447
|
+
'variable',
|
|
448
|
+
{
|
|
449
|
+
readonly 'const': boolean;
|
|
450
|
+
readonly 'export': boolean;
|
|
451
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
452
|
+
readonly 'name': string;
|
|
453
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
454
|
+
}
|
|
455
|
+
]>;
|
|
456
|
+
}
|
|
457
|
+
export declare namespace _T_String_Literal {
|
|
458
|
+
namespace delimiter {
|
|
459
|
+
namespace SG {
|
|
460
|
+
type apostrophe = null;
|
|
461
|
+
type quote = null;
|
|
462
|
+
}
|
|
463
|
+
type SG = readonly ['apostrophe', null] | readonly ['quote', null];
|
|
464
|
+
}
|
|
465
|
+
type delimiter = _i_core._T_State_Group<null, readonly ['apostrophe', null] | readonly ['quote', null]>;
|
|
466
|
+
type value = string;
|
|
467
|
+
}
|
|
468
|
+
export declare namespace _T_Type {
|
|
469
|
+
namespace SG {
|
|
470
|
+
type _boolean = null;
|
|
471
|
+
namespace _function {
|
|
472
|
+
namespace parameters {
|
|
473
|
+
namespace L {
|
|
474
|
+
type name = string;
|
|
475
|
+
namespace _type {
|
|
476
|
+
namespace O {
|
|
477
|
+
}
|
|
478
|
+
type O = _T_Type;
|
|
479
|
+
}
|
|
480
|
+
type _type = _pt.Optional_Value<_T_Type>;
|
|
481
|
+
}
|
|
482
|
+
type L = {
|
|
483
|
+
readonly 'name': string;
|
|
484
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
type parameters = _i_core._T_List<null, {
|
|
488
|
+
readonly 'name': string;
|
|
489
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
490
|
+
}>;
|
|
491
|
+
namespace _return {
|
|
492
|
+
}
|
|
493
|
+
type _return = _T_Type;
|
|
494
|
+
namespace type_parameters {
|
|
495
|
+
type L = string;
|
|
496
|
+
}
|
|
497
|
+
type type_parameters = _i_core._T_List<null, string>;
|
|
498
|
+
}
|
|
499
|
+
type _function = {
|
|
500
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
501
|
+
readonly 'name': string;
|
|
502
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
503
|
+
}>;
|
|
504
|
+
readonly 'return': _T_Type;
|
|
505
|
+
readonly 'type parameters': _i_core._T_List<null, string>;
|
|
506
|
+
};
|
|
507
|
+
namespace literal_type {
|
|
508
|
+
}
|
|
509
|
+
type literal_type = _T_String_Literal;
|
|
510
|
+
type _null = null;
|
|
511
|
+
type _number = null;
|
|
512
|
+
type _string = null;
|
|
513
|
+
namespace tuple {
|
|
514
|
+
namespace elements {
|
|
515
|
+
namespace L {
|
|
516
|
+
}
|
|
517
|
+
type L = _T_Type;
|
|
518
|
+
}
|
|
519
|
+
type elements = _i_core._T_List<null, _T_Type>;
|
|
520
|
+
type readonly = boolean;
|
|
521
|
+
}
|
|
522
|
+
type tuple = {
|
|
523
|
+
readonly 'elements': _i_core._T_List<null, _T_Type>;
|
|
524
|
+
readonly 'readonly': boolean;
|
|
525
|
+
};
|
|
526
|
+
namespace type_literal {
|
|
527
|
+
namespace properties {
|
|
528
|
+
namespace D {
|
|
529
|
+
type readonly = boolean;
|
|
530
|
+
namespace _type {
|
|
531
|
+
}
|
|
532
|
+
type _type = _T_Type;
|
|
533
|
+
}
|
|
534
|
+
type D = {
|
|
535
|
+
readonly 'readonly': boolean;
|
|
536
|
+
readonly 'type': _T_Type;
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
type properties = _i_core._T_Dictionary<null, {
|
|
540
|
+
readonly 'readonly': boolean;
|
|
541
|
+
readonly 'type': _T_Type;
|
|
542
|
+
}>;
|
|
543
|
+
}
|
|
544
|
+
type type_literal = {
|
|
545
|
+
readonly 'properties': _i_core._T_Dictionary<null, {
|
|
546
|
+
readonly 'readonly': boolean;
|
|
547
|
+
readonly 'type': _T_Type;
|
|
548
|
+
}>;
|
|
549
|
+
};
|
|
550
|
+
namespace type_reference {
|
|
551
|
+
type start = string;
|
|
552
|
+
namespace tail {
|
|
553
|
+
type L = string;
|
|
554
|
+
}
|
|
555
|
+
type tail = _i_core._T_List<null, string>;
|
|
556
|
+
namespace type_arguments {
|
|
557
|
+
namespace L {
|
|
558
|
+
}
|
|
559
|
+
type L = _T_Type;
|
|
560
|
+
}
|
|
561
|
+
type type_arguments = _i_core._T_List<null, _T_Type>;
|
|
562
|
+
}
|
|
563
|
+
type type_reference = {
|
|
564
|
+
readonly 'start': string;
|
|
565
|
+
readonly 'tail': _i_core._T_List<null, string>;
|
|
566
|
+
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
567
|
+
};
|
|
568
|
+
namespace union {
|
|
569
|
+
namespace L {
|
|
570
|
+
}
|
|
571
|
+
type L = _T_Type;
|
|
572
|
+
}
|
|
573
|
+
type union = _i_core._T_List<null, _T_Type>;
|
|
574
|
+
type _void = null;
|
|
575
|
+
}
|
|
576
|
+
type SG = readonly ['boolean', null] | readonly [
|
|
577
|
+
'function',
|
|
578
|
+
{
|
|
579
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
580
|
+
readonly 'name': string;
|
|
581
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
582
|
+
}>;
|
|
583
|
+
readonly 'return': _T_Type;
|
|
584
|
+
readonly 'type parameters': _i_core._T_List<null, string>;
|
|
585
|
+
}
|
|
586
|
+
] | readonly ['literal type', _T_String_Literal] | readonly ['null', null] | readonly ['number', null] | readonly ['string', null] | readonly [
|
|
587
|
+
'tuple',
|
|
588
|
+
{
|
|
589
|
+
readonly 'elements': _i_core._T_List<null, _T_Type>;
|
|
590
|
+
readonly 'readonly': boolean;
|
|
591
|
+
}
|
|
592
|
+
] | readonly [
|
|
593
|
+
'type literal',
|
|
594
|
+
{
|
|
595
|
+
readonly 'properties': _i_core._T_Dictionary<null, {
|
|
596
|
+
readonly 'readonly': boolean;
|
|
597
|
+
readonly 'type': _T_Type;
|
|
598
|
+
}>;
|
|
599
|
+
}
|
|
600
|
+
] | readonly [
|
|
601
|
+
'type reference',
|
|
602
|
+
{
|
|
603
|
+
readonly 'start': string;
|
|
604
|
+
readonly 'tail': _i_core._T_List<null, string>;
|
|
605
|
+
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
606
|
+
}
|
|
607
|
+
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null];
|
|
608
|
+
}
|
|
609
|
+
export declare namespace Block {
|
|
610
|
+
namespace L {
|
|
611
|
+
}
|
|
612
|
+
type L = _T_Block_Part;
|
|
613
|
+
}
|
|
614
|
+
export declare namespace Block_Part {
|
|
615
|
+
namespace SG {
|
|
616
|
+
type line = string;
|
|
617
|
+
namespace nested_line {
|
|
618
|
+
}
|
|
619
|
+
type nested_line = _T_Line;
|
|
620
|
+
type nothing = null;
|
|
621
|
+
namespace sub_block {
|
|
622
|
+
}
|
|
623
|
+
type sub_block = _T_Block;
|
|
624
|
+
}
|
|
625
|
+
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['sub block', _T_Block];
|
|
626
|
+
}
|
|
627
|
+
export declare namespace Directory {
|
|
628
|
+
namespace D {
|
|
629
|
+
namespace SG {
|
|
630
|
+
namespace directory {
|
|
631
|
+
}
|
|
632
|
+
type directory = _T_Directory;
|
|
633
|
+
namespace file {
|
|
634
|
+
}
|
|
635
|
+
type file = _T_Block;
|
|
636
|
+
}
|
|
637
|
+
type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Block];
|
|
638
|
+
}
|
|
639
|
+
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Block]>;
|
|
640
|
+
}
|
|
641
|
+
export declare namespace Expression {
|
|
642
|
+
namespace SG {
|
|
643
|
+
namespace array_literal {
|
|
644
|
+
namespace L {
|
|
645
|
+
}
|
|
646
|
+
type L = _T_Expression;
|
|
647
|
+
}
|
|
648
|
+
type array_literal = _i_core._T_List<null, _T_Expression>;
|
|
649
|
+
namespace arrow_function {
|
|
650
|
+
namespace parameters {
|
|
651
|
+
namespace L {
|
|
652
|
+
type name = string;
|
|
653
|
+
namespace _type {
|
|
654
|
+
namespace O {
|
|
655
|
+
}
|
|
656
|
+
type O = _T_Type;
|
|
657
|
+
}
|
|
658
|
+
type _type = _pt.Optional_Value<_T_Type>;
|
|
659
|
+
}
|
|
660
|
+
type L = {
|
|
661
|
+
readonly 'name': string;
|
|
662
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
type parameters = _i_core._T_List<null, {
|
|
666
|
+
readonly 'name': string;
|
|
667
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
668
|
+
}>;
|
|
669
|
+
namespace return_type {
|
|
670
|
+
namespace O {
|
|
671
|
+
}
|
|
672
|
+
type O = _T_Type;
|
|
673
|
+
}
|
|
674
|
+
type return_type = _pt.Optional_Value<_T_Type>;
|
|
675
|
+
namespace _type {
|
|
676
|
+
namespace SG {
|
|
677
|
+
namespace block {
|
|
678
|
+
}
|
|
679
|
+
type block = _T_Statements;
|
|
680
|
+
namespace expression {
|
|
681
|
+
}
|
|
682
|
+
type expression = _T_Expression;
|
|
683
|
+
}
|
|
684
|
+
type SG = readonly ['block', _T_Statements] | readonly ['expression', _T_Expression];
|
|
685
|
+
}
|
|
686
|
+
type _type = _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
687
|
+
}
|
|
688
|
+
type arrow_function = {
|
|
689
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
690
|
+
readonly 'name': string;
|
|
691
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
692
|
+
}>;
|
|
693
|
+
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
694
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
695
|
+
};
|
|
696
|
+
namespace call {
|
|
697
|
+
namespace _arguments {
|
|
698
|
+
namespace L {
|
|
699
|
+
}
|
|
700
|
+
type L = _T_Expression;
|
|
701
|
+
}
|
|
702
|
+
type _arguments = _i_core._T_List<null, _T_Expression>;
|
|
703
|
+
namespace function_selection {
|
|
704
|
+
}
|
|
705
|
+
type function_selection = _T_Expression;
|
|
706
|
+
}
|
|
707
|
+
type call = {
|
|
708
|
+
readonly 'arguments': _i_core._T_List<null, _T_Expression>;
|
|
709
|
+
readonly 'function selection': _T_Expression;
|
|
710
|
+
};
|
|
711
|
+
type _false = null;
|
|
712
|
+
type _null = null;
|
|
713
|
+
type number_literal = number;
|
|
714
|
+
namespace object_literal {
|
|
715
|
+
namespace properties {
|
|
716
|
+
namespace D {
|
|
717
|
+
}
|
|
718
|
+
type D = _T_Expression;
|
|
719
|
+
}
|
|
720
|
+
type properties = _i_core._T_Dictionary<null, _T_Expression>;
|
|
721
|
+
}
|
|
722
|
+
type object_literal = {
|
|
723
|
+
readonly 'properties': _i_core._T_Dictionary<null, _T_Expression>;
|
|
724
|
+
};
|
|
725
|
+
namespace string_literal {
|
|
726
|
+
}
|
|
727
|
+
type string_literal = _T_String_Literal;
|
|
728
|
+
type _true = null;
|
|
729
|
+
}
|
|
730
|
+
type SG = readonly ['array literal', _i_core._T_List<null, _T_Expression>] | readonly [
|
|
731
|
+
'arrow function',
|
|
732
|
+
{
|
|
733
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
734
|
+
readonly 'name': string;
|
|
735
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
736
|
+
}>;
|
|
737
|
+
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
738
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
739
|
+
}
|
|
740
|
+
] | readonly [
|
|
741
|
+
'call',
|
|
742
|
+
{
|
|
743
|
+
readonly 'arguments': _i_core._T_List<null, _T_Expression>;
|
|
744
|
+
readonly 'function selection': _T_Expression;
|
|
745
|
+
}
|
|
746
|
+
] | readonly ['false', null] | readonly ['null', null] | readonly ['number literal', number] | readonly [
|
|
747
|
+
'object literal',
|
|
748
|
+
{
|
|
749
|
+
readonly 'properties': _i_core._T_Dictionary<null, _T_Expression>;
|
|
750
|
+
}
|
|
751
|
+
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null];
|
|
752
|
+
}
|
|
753
|
+
export declare namespace Line {
|
|
754
|
+
namespace L {
|
|
755
|
+
}
|
|
756
|
+
type L = _T_Line_Part;
|
|
757
|
+
}
|
|
758
|
+
export declare namespace Line_Part {
|
|
759
|
+
namespace SG {
|
|
760
|
+
namespace indent {
|
|
761
|
+
}
|
|
762
|
+
type indent = _T_Block;
|
|
763
|
+
type nothing = null;
|
|
764
|
+
type snippet = string;
|
|
765
|
+
namespace sub_line {
|
|
766
|
+
}
|
|
767
|
+
type sub_line = _T_Line;
|
|
768
|
+
}
|
|
769
|
+
type SG = readonly ['indent', _T_Block] | readonly ['nothing', null] | readonly ['snippet', string] | readonly ['sub line', _T_Line];
|
|
770
|
+
}
|
|
771
|
+
export declare namespace Lines {
|
|
772
|
+
namespace L {
|
|
773
|
+
type indentation = number;
|
|
774
|
+
type text = string;
|
|
775
|
+
}
|
|
776
|
+
type L = {
|
|
777
|
+
readonly 'indentation': number;
|
|
778
|
+
readonly 'text': string;
|
|
779
|
+
};
|
|
780
|
+
}
|
|
781
|
+
export declare namespace Statements {
|
|
782
|
+
namespace L {
|
|
783
|
+
namespace SG {
|
|
784
|
+
namespace _import {
|
|
785
|
+
type _from = string;
|
|
786
|
+
namespace _type {
|
|
787
|
+
namespace SG {
|
|
788
|
+
namespace named {
|
|
789
|
+
namespace specifiers {
|
|
790
|
+
type D = string;
|
|
791
|
+
}
|
|
792
|
+
type specifiers = _i_core._T_Dictionary<null, string>;
|
|
793
|
+
}
|
|
794
|
+
type named = {
|
|
795
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
796
|
+
};
|
|
797
|
+
type namespace = string;
|
|
798
|
+
}
|
|
799
|
+
type SG = readonly [
|
|
800
|
+
'named',
|
|
801
|
+
{
|
|
802
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
803
|
+
}
|
|
804
|
+
] | readonly ['namespace', string];
|
|
805
|
+
}
|
|
806
|
+
type _type = _i_core._T_State_Group<null, readonly [
|
|
807
|
+
'named',
|
|
808
|
+
{
|
|
809
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
810
|
+
}
|
|
811
|
+
] | readonly ['namespace', string]>;
|
|
812
|
+
}
|
|
813
|
+
type _import = {
|
|
814
|
+
readonly 'from': string;
|
|
815
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
816
|
+
'named',
|
|
817
|
+
{
|
|
818
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
819
|
+
}
|
|
820
|
+
] | readonly ['namespace', string]>;
|
|
821
|
+
};
|
|
822
|
+
namespace module_declaration {
|
|
823
|
+
namespace block {
|
|
824
|
+
}
|
|
825
|
+
type block = _T_Statements;
|
|
826
|
+
type _export = boolean;
|
|
827
|
+
type name = string;
|
|
828
|
+
}
|
|
829
|
+
type module_declaration = {
|
|
830
|
+
readonly 'block': _T_Statements;
|
|
831
|
+
readonly 'export': boolean;
|
|
832
|
+
readonly 'name': string;
|
|
833
|
+
};
|
|
834
|
+
namespace type_alias_declaration {
|
|
835
|
+
type _export = boolean;
|
|
836
|
+
type name = string;
|
|
837
|
+
namespace parameters {
|
|
838
|
+
type L = string;
|
|
839
|
+
}
|
|
840
|
+
type parameters = _i_core._T_List<null, string>;
|
|
841
|
+
namespace _type {
|
|
842
|
+
}
|
|
843
|
+
type _type = _T_Type;
|
|
844
|
+
}
|
|
845
|
+
type type_alias_declaration = {
|
|
846
|
+
readonly 'export': boolean;
|
|
847
|
+
readonly 'name': string;
|
|
848
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
849
|
+
readonly 'type': _T_Type;
|
|
850
|
+
};
|
|
851
|
+
namespace variable {
|
|
852
|
+
type _const = boolean;
|
|
853
|
+
type _export = boolean;
|
|
854
|
+
namespace expression {
|
|
855
|
+
namespace O {
|
|
856
|
+
}
|
|
857
|
+
type O = _T_Expression;
|
|
858
|
+
}
|
|
859
|
+
type expression = _pt.Optional_Value<_T_Expression>;
|
|
860
|
+
type name = string;
|
|
861
|
+
namespace _type {
|
|
862
|
+
namespace O {
|
|
863
|
+
}
|
|
864
|
+
type O = _T_Type;
|
|
865
|
+
}
|
|
866
|
+
type _type = _pt.Optional_Value<_T_Type>;
|
|
867
|
+
}
|
|
868
|
+
type variable = {
|
|
869
|
+
readonly 'const': boolean;
|
|
870
|
+
readonly 'export': boolean;
|
|
871
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
872
|
+
readonly 'name': string;
|
|
873
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
type SG = readonly [
|
|
877
|
+
'import',
|
|
878
|
+
{
|
|
879
|
+
readonly 'from': string;
|
|
880
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
881
|
+
'named',
|
|
882
|
+
{
|
|
883
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
884
|
+
}
|
|
885
|
+
] | readonly ['namespace', string]>;
|
|
886
|
+
}
|
|
887
|
+
] | readonly [
|
|
888
|
+
'module declaration',
|
|
889
|
+
{
|
|
890
|
+
readonly 'block': _T_Statements;
|
|
891
|
+
readonly 'export': boolean;
|
|
892
|
+
readonly 'name': string;
|
|
893
|
+
}
|
|
894
|
+
] | readonly [
|
|
895
|
+
'type alias declaration',
|
|
896
|
+
{
|
|
897
|
+
readonly 'export': boolean;
|
|
898
|
+
readonly 'name': string;
|
|
899
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
900
|
+
readonly 'type': _T_Type;
|
|
901
|
+
}
|
|
902
|
+
] | readonly [
|
|
903
|
+
'variable',
|
|
904
|
+
{
|
|
905
|
+
readonly 'const': boolean;
|
|
906
|
+
readonly 'export': boolean;
|
|
907
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
908
|
+
readonly 'name': string;
|
|
909
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
910
|
+
}
|
|
911
|
+
];
|
|
912
|
+
}
|
|
913
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
914
|
+
'import',
|
|
915
|
+
{
|
|
916
|
+
readonly 'from': string;
|
|
917
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
918
|
+
'named',
|
|
919
|
+
{
|
|
920
|
+
readonly 'specifiers': _i_core._T_Dictionary<null, string>;
|
|
921
|
+
}
|
|
922
|
+
] | readonly ['namespace', string]>;
|
|
923
|
+
}
|
|
924
|
+
] | readonly [
|
|
925
|
+
'module declaration',
|
|
926
|
+
{
|
|
927
|
+
readonly 'block': _T_Statements;
|
|
928
|
+
readonly 'export': boolean;
|
|
929
|
+
readonly 'name': string;
|
|
930
|
+
}
|
|
931
|
+
] | readonly [
|
|
932
|
+
'type alias declaration',
|
|
933
|
+
{
|
|
934
|
+
readonly 'export': boolean;
|
|
935
|
+
readonly 'name': string;
|
|
936
|
+
readonly 'parameters': _i_core._T_List<null, string>;
|
|
937
|
+
readonly 'type': _T_Type;
|
|
938
|
+
}
|
|
939
|
+
] | readonly [
|
|
940
|
+
'variable',
|
|
941
|
+
{
|
|
942
|
+
readonly 'const': boolean;
|
|
943
|
+
readonly 'export': boolean;
|
|
944
|
+
readonly 'expression': _pt.Optional_Value<_T_Expression>;
|
|
945
|
+
readonly 'name': string;
|
|
946
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
947
|
+
}
|
|
948
|
+
]>;
|
|
949
|
+
}
|
|
950
|
+
export declare namespace String_Literal {
|
|
951
|
+
namespace delimiter {
|
|
952
|
+
namespace SG {
|
|
953
|
+
type apostrophe = null;
|
|
954
|
+
type quote = null;
|
|
955
|
+
}
|
|
956
|
+
type SG = readonly ['apostrophe', null] | readonly ['quote', null];
|
|
957
|
+
}
|
|
958
|
+
type delimiter = _i_core._T_State_Group<null, readonly ['apostrophe', null] | readonly ['quote', null]>;
|
|
959
|
+
type value = string;
|
|
960
|
+
}
|
|
961
|
+
export declare namespace Type {
|
|
962
|
+
namespace SG {
|
|
963
|
+
type _boolean = null;
|
|
964
|
+
namespace _function {
|
|
965
|
+
namespace parameters {
|
|
966
|
+
namespace L {
|
|
967
|
+
type name = string;
|
|
968
|
+
namespace _type {
|
|
969
|
+
namespace O {
|
|
970
|
+
}
|
|
971
|
+
type O = _T_Type;
|
|
972
|
+
}
|
|
973
|
+
type _type = _pt.Optional_Value<_T_Type>;
|
|
974
|
+
}
|
|
975
|
+
type L = {
|
|
976
|
+
readonly 'name': string;
|
|
977
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
type parameters = _i_core._T_List<null, {
|
|
981
|
+
readonly 'name': string;
|
|
982
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
983
|
+
}>;
|
|
984
|
+
namespace _return {
|
|
985
|
+
}
|
|
986
|
+
type _return = _T_Type;
|
|
987
|
+
namespace type_parameters {
|
|
988
|
+
type L = string;
|
|
989
|
+
}
|
|
990
|
+
type type_parameters = _i_core._T_List<null, string>;
|
|
991
|
+
}
|
|
992
|
+
type _function = {
|
|
993
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
994
|
+
readonly 'name': string;
|
|
995
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
996
|
+
}>;
|
|
997
|
+
readonly 'return': _T_Type;
|
|
998
|
+
readonly 'type parameters': _i_core._T_List<null, string>;
|
|
999
|
+
};
|
|
1000
|
+
namespace literal_type {
|
|
1001
|
+
}
|
|
1002
|
+
type literal_type = _T_String_Literal;
|
|
1003
|
+
type _null = null;
|
|
1004
|
+
type _number = null;
|
|
1005
|
+
type _string = null;
|
|
1006
|
+
namespace tuple {
|
|
1007
|
+
namespace elements {
|
|
1008
|
+
namespace L {
|
|
1009
|
+
}
|
|
1010
|
+
type L = _T_Type;
|
|
1011
|
+
}
|
|
1012
|
+
type elements = _i_core._T_List<null, _T_Type>;
|
|
1013
|
+
type readonly = boolean;
|
|
1014
|
+
}
|
|
1015
|
+
type tuple = {
|
|
1016
|
+
readonly 'elements': _i_core._T_List<null, _T_Type>;
|
|
1017
|
+
readonly 'readonly': boolean;
|
|
1018
|
+
};
|
|
1019
|
+
namespace type_literal {
|
|
1020
|
+
namespace properties {
|
|
1021
|
+
namespace D {
|
|
1022
|
+
type readonly = boolean;
|
|
1023
|
+
namespace _type {
|
|
1024
|
+
}
|
|
1025
|
+
type _type = _T_Type;
|
|
1026
|
+
}
|
|
1027
|
+
type D = {
|
|
1028
|
+
readonly 'readonly': boolean;
|
|
1029
|
+
readonly 'type': _T_Type;
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
type properties = _i_core._T_Dictionary<null, {
|
|
1033
|
+
readonly 'readonly': boolean;
|
|
1034
|
+
readonly 'type': _T_Type;
|
|
1035
|
+
}>;
|
|
1036
|
+
}
|
|
1037
|
+
type type_literal = {
|
|
1038
|
+
readonly 'properties': _i_core._T_Dictionary<null, {
|
|
1039
|
+
readonly 'readonly': boolean;
|
|
1040
|
+
readonly 'type': _T_Type;
|
|
1041
|
+
}>;
|
|
1042
|
+
};
|
|
1043
|
+
namespace type_reference {
|
|
1044
|
+
type start = string;
|
|
1045
|
+
namespace tail {
|
|
1046
|
+
type L = string;
|
|
1047
|
+
}
|
|
1048
|
+
type tail = _i_core._T_List<null, string>;
|
|
1049
|
+
namespace type_arguments {
|
|
1050
|
+
namespace L {
|
|
1051
|
+
}
|
|
1052
|
+
type L = _T_Type;
|
|
1053
|
+
}
|
|
1054
|
+
type type_arguments = _i_core._T_List<null, _T_Type>;
|
|
1055
|
+
}
|
|
1056
|
+
type type_reference = {
|
|
1057
|
+
readonly 'start': string;
|
|
1058
|
+
readonly 'tail': _i_core._T_List<null, string>;
|
|
1059
|
+
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
1060
|
+
};
|
|
1061
|
+
namespace union {
|
|
1062
|
+
namespace L {
|
|
1063
|
+
}
|
|
1064
|
+
type L = _T_Type;
|
|
1065
|
+
}
|
|
1066
|
+
type union = _i_core._T_List<null, _T_Type>;
|
|
1067
|
+
type _void = null;
|
|
1068
|
+
}
|
|
1069
|
+
type SG = readonly ['boolean', null] | readonly [
|
|
1070
|
+
'function',
|
|
1071
|
+
{
|
|
1072
|
+
readonly 'parameters': _i_core._T_List<null, {
|
|
1073
|
+
readonly 'name': string;
|
|
1074
|
+
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
1075
|
+
}>;
|
|
1076
|
+
readonly 'return': _T_Type;
|
|
1077
|
+
readonly 'type parameters': _i_core._T_List<null, string>;
|
|
1078
|
+
}
|
|
1079
|
+
] | readonly ['literal type', _T_String_Literal] | readonly ['null', null] | readonly ['number', null] | readonly ['string', null] | readonly [
|
|
1080
|
+
'tuple',
|
|
1081
|
+
{
|
|
1082
|
+
readonly 'elements': _i_core._T_List<null, _T_Type>;
|
|
1083
|
+
readonly 'readonly': boolean;
|
|
1084
|
+
}
|
|
1085
|
+
] | readonly [
|
|
1086
|
+
'type literal',
|
|
1087
|
+
{
|
|
1088
|
+
readonly 'properties': _i_core._T_Dictionary<null, {
|
|
1089
|
+
readonly 'readonly': boolean;
|
|
1090
|
+
readonly 'type': _T_Type;
|
|
1091
|
+
}>;
|
|
1092
|
+
}
|
|
1093
|
+
] | readonly [
|
|
1094
|
+
'type reference',
|
|
1095
|
+
{
|
|
1096
|
+
readonly 'start': string;
|
|
1097
|
+
readonly 'tail': _i_core._T_List<null, string>;
|
|
1098
|
+
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
1099
|
+
}
|
|
1100
|
+
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null];
|
|
1101
|
+
}
|