astn 0.113.27 → 0.113.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +11 -11
  2. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +1 -1
  3. package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +4 -4
  4. package/dist/interface/generated/pareto/core/location.d.ts +11 -0
  5. package/dist/interface/generated/pareto/core/location.js +3 -0
  6. package/dist/interface/generated/pareto/schemas/astn_schema/data_types/resolve.d.ts +191 -1124
  7. package/dist/interface/generated/pareto/schemas/astn_schema/data_types/source.d.ts +123 -419
  8. package/dist/interface/generated/pareto/schemas/astn_schema/data_types/target.d.ts +213 -389
  9. package/dist/interface/generated/pareto/schemas/astn_schema/deserialize.d.ts +79 -0
  10. package/dist/interface/generated/pareto/schemas/astn_schema/deserialize.js +3 -0
  11. package/dist/interface/generated/pareto/schemas/astn_schema/marshall.d.ts +58 -311
  12. package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +58 -244
  13. package/dist/interface/generated/pareto/schemas/astn_schema/serialize.d.ts +57 -266
  14. package/dist/interface/generated/pareto/schemas/astn_schema/unmarshall.d.ts +58 -377
  15. package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/resolve.js +1 -5
  16. package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/source.d.ts +53 -242
  17. package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target.d.ts +53 -242
  18. package/dist/interface/generated/pareto/schemas/authoring_parse_result/deserialize.d.ts +9 -0
  19. package/dist/interface/generated/pareto/schemas/authoring_parse_result/deserialize.js +3 -0
  20. package/dist/interface/generated/pareto/schemas/authoring_parse_result/marshall.d.ts +8 -31
  21. package/dist/interface/generated/pareto/schemas/authoring_parse_result/migrate_boilerplate.d.ts +8 -22
  22. package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +7 -26
  23. package/dist/interface/generated/pareto/schemas/authoring_parse_result/unmarshall.d.ts +8 -31
  24. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/resolve.js +1 -5
  25. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/source.d.ts +137 -930
  26. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target.d.ts +137 -930
  27. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/deserialize.d.ts +58 -0
  28. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/deserialize.js +3 -0
  29. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/marshall.d.ts +43 -227
  30. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/migrate_boilerplate.d.ts +43 -162
  31. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/serialize.d.ts +42 -194
  32. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/unmarshall.d.ts +43 -227
  33. package/dist/interface/generated/pareto/schemas/authoring_target/data_types/resolve.js +1 -5
  34. package/dist/interface/generated/pareto/schemas/authoring_target/data_types/source.d.ts +64 -369
  35. package/dist/interface/generated/pareto/schemas/authoring_target/data_types/target.d.ts +64 -369
  36. package/dist/interface/generated/pareto/schemas/authoring_target/deserialize.d.ts +16 -0
  37. package/dist/interface/generated/pareto/schemas/authoring_target/deserialize.js +3 -0
  38. package/dist/interface/generated/pareto/schemas/authoring_target/marshall.d.ts +13 -59
  39. package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +13 -42
  40. package/dist/interface/generated/pareto/schemas/authoring_target/serialize.d.ts +12 -50
  41. package/dist/interface/generated/pareto/schemas/authoring_target/unmarshall.d.ts +13 -59
  42. package/dist/interface/generated/pareto/schemas/ide/data_types/resolve.js +1 -5
  43. package/dist/interface/generated/pareto/schemas/ide/data_types/source.d.ts +38 -185
  44. package/dist/interface/generated/pareto/schemas/ide/data_types/target.d.ts +38 -185
  45. package/dist/interface/generated/pareto/schemas/ide/deserialize.d.ts +23 -0
  46. package/dist/interface/generated/pareto/schemas/ide/deserialize.js +3 -0
  47. package/dist/interface/generated/pareto/schemas/ide/marshall.d.ts +18 -87
  48. package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +18 -62
  49. package/dist/interface/generated/pareto/schemas/ide/serialize.d.ts +17 -74
  50. package/dist/interface/generated/pareto/schemas/ide/unmarshall.d.ts +18 -87
  51. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/resolve.js +1 -5
  52. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/source.d.ts +40 -207
  53. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.d.ts +0 -212
  54. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.js +0 -1
  55. package/dist/interface/generated/pareto/schemas/sealed_target/deserialize.d.ts +16 -0
  56. package/dist/interface/generated/pareto/schemas/sealed_target/deserialize.js +3 -0
  57. package/dist/interface/generated/pareto/schemas/sealed_target/marshall.d.ts +13 -59
  58. package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +13 -42
  59. package/dist/interface/generated/pareto/schemas/sealed_target/serialize.d.ts +12 -50
  60. package/dist/interface/generated/pareto/schemas/sealed_target/unmarshall.d.ts +13 -59
  61. package/dist/interface/generated/pareto/schemas/token/data_types/resolve.js +1 -5
  62. package/dist/interface/generated/pareto/schemas/token/data_types/source.d.ts +98 -305
  63. package/dist/interface/generated/pareto/schemas/token/data_types/target.d.ts +98 -305
  64. package/dist/interface/generated/pareto/schemas/token/deserialize.d.ts +72 -0
  65. package/dist/interface/generated/pareto/schemas/token/deserialize.js +3 -0
  66. package/dist/interface/generated/pareto/schemas/token/marshall.d.ts +53 -283
  67. package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +53 -202
  68. package/dist/interface/generated/pareto/schemas/token/serialize.d.ts +52 -242
  69. package/dist/interface/generated/pareto/schemas/token/unmarshall.d.ts +53 -283
  70. package/dist/shorthands/parse_result.d.ts +1 -1
  71. package/dist/shorthands/parse_result.js +1 -1
  72. package/package.json +1 -1
@@ -1,976 +1,183 @@
1
1
  import * as _pi from "pareto-core-interface";
2
- import * as _i_core from "../../../core/unconstrained";
3
- import * as _i_imports_token from "../../token/data_types/target";
4
- export type _T_Structural_Token = {
5
- readonly 'trailing trivia': _i_imports_token._T_Trivia;
6
- readonly 'range': _i_imports_token._T_Range;
2
+ import * as i_imports_token from "../../token/data_types/source";
3
+ export declare namespace Structural_Token_ {
4
+ type trailing_trivia = i_imports_token.Trivia;
5
+ type range = i_imports_token.Range;
6
+ }
7
+ export type Structural_Token_ = {
8
+ readonly 'trailing trivia': Structural_Token_.trailing_trivia;
9
+ readonly 'range': Structural_Token_.range;
7
10
  };
8
- export type _T_String = {
9
- readonly 'trailing trivia': _i_imports_token._T_Trivia;
10
- readonly 'range': _i_imports_token._T_Range;
11
- readonly 'value': string;
12
- readonly 'type': _i_imports_token._T_String_Type;
13
- };
14
- export type _T_Key_Value_Pairs = _i_core._T_List<null, {
15
- readonly 'key': _T_String;
16
- readonly 'value': _pi.Optional_Value<{
17
- readonly ':': _T_Structural_Token;
18
- readonly 'value': _T_Value;
19
- }>;
20
- }>;
21
- export type _T_Elements = _i_core._T_List<null, {
22
- readonly 'value': _T_Value;
23
- }>;
24
- export type _T_Concrete_Value = _i_core._T_State_Group<null, readonly [
25
- 'indexed collection',
26
- _i_core._T_State_Group<null, readonly [
27
- 'dictionary',
28
- {
29
- readonly '{': _T_Structural_Token;
30
- readonly 'entries': _T_Key_Value_Pairs;
31
- readonly '}': _T_Structural_Token;
32
- }
33
- ] | readonly [
34
- 'verbose group',
35
- {
36
- readonly '(': _T_Structural_Token;
37
- readonly 'entries': _T_Key_Value_Pairs;
38
- readonly ')': _T_Structural_Token;
39
- }
40
- ]>
41
- ] | readonly [
42
- 'not set',
43
- {
44
- readonly '~': _T_Structural_Token;
45
- }
46
- ] | readonly [
47
- 'ordered collection',
48
- _i_core._T_State_Group<null, readonly [
49
- 'list',
50
- {
51
- readonly '[': _T_Structural_Token;
52
- readonly 'elements': _T_Elements;
53
- readonly ']': _T_Structural_Token;
54
- }
55
- ] | readonly [
56
- 'concise group',
57
- {
58
- readonly '<': _T_Structural_Token;
59
- readonly 'elements': _T_Elements;
60
- readonly '>': _T_Structural_Token;
61
- }
62
- ]>
63
- ] | readonly [
64
- 'set optional value',
65
- {
66
- readonly '*': _T_Structural_Token;
67
- readonly 'value': _T_Value;
68
- }
69
- ] | readonly [
70
- 'state',
71
- {
72
- readonly '|': _T_Structural_Token;
73
- readonly 'status': _i_core._T_State_Group<null, readonly [
74
- 'missing data',
75
- {
76
- readonly '#': _T_Structural_Token;
77
- }
78
- ] | readonly [
79
- 'set',
80
- {
81
- readonly 'state': _T_String;
82
- readonly 'value': _T_Value;
83
- }
84
- ]>;
85
- }
86
- ] | readonly ['text', _T_String]>;
87
- export type _T_Value = {
88
- readonly 'type': _i_core._T_State_Group<null, readonly ['concrete', _T_Concrete_Value] | readonly [
89
- 'include',
90
- {
91
- readonly '@': _T_Structural_Token;
92
- readonly 'path': _T_String;
93
- }
94
- ] | readonly [
95
- 'missing data',
96
- {
97
- readonly '#': _T_Structural_Token;
98
- }
99
- ]>;
100
- };
101
- export type _T_Content = _T_Value;
102
- export type _T_Document = {
103
- readonly 'header': _pi.Optional_Value<{
104
- readonly '!': _T_Structural_Token;
105
- readonly 'value': _T_Value;
106
- }>;
107
- readonly 'content': _T_Content;
108
- };
109
- export type Structural_Token = _T_Structural_Token;
110
- export type String = _T_String;
111
- export type Key_Value_Pairs = _T_Key_Value_Pairs;
112
- export type Elements = _T_Elements;
113
- export type Concrete_Value = _T_Concrete_Value;
114
- export type Value = _T_Value;
115
- export type Content = _T_Content;
116
- export type Document = _T_Document;
117
- export declare namespace _T_Structural_Token {
118
- namespace trailing_trivia {
119
- }
120
- type trailing_trivia = _i_imports_token._T_Trivia;
121
- namespace range {
122
- }
123
- type range = _i_imports_token._T_Range;
124
- }
125
- export declare namespace _T_String {
126
- namespace trailing_trivia {
127
- }
128
- type trailing_trivia = _i_imports_token._T_Trivia;
129
- namespace range {
130
- }
131
- type range = _i_imports_token._T_Range;
11
+ export declare namespace String_ {
12
+ type trailing_trivia = i_imports_token.Trivia;
13
+ type range = i_imports_token.Range;
132
14
  type value = string;
133
- namespace _type {
134
- }
135
- type _type = _i_imports_token._T_String_Type;
15
+ type _type = i_imports_token.String_Type;
136
16
  }
137
- export declare namespace _T_Key_Value_Pairs {
17
+ export type String_ = {
18
+ readonly 'trailing trivia': String_.trailing_trivia;
19
+ readonly 'range': String_.range;
20
+ readonly 'value': String_.value;
21
+ readonly 'type': String_._type;
22
+ };
23
+ export declare namespace Key_Value_Pairs_ {
138
24
  namespace L {
139
- namespace key {
140
- }
141
- type key = _T_String;
25
+ type key = String_;
142
26
  namespace value {
143
27
  namespace O {
144
- namespace $cl_ {
145
- }
146
- type $cl_ = _T_Structural_Token;
147
- namespace value {
148
- }
149
- type value = _T_Value;
28
+ type $cl_ = Structural_Token_;
29
+ type value = Value_;
150
30
  }
151
31
  type O = {
152
- readonly ':': _T_Structural_Token;
153
- readonly 'value': _T_Value;
32
+ readonly ':': O.$cl_;
33
+ readonly 'value': O.value;
154
34
  };
155
35
  }
156
- type value = _pi.Optional_Value<{
157
- readonly ':': _T_Structural_Token;
158
- readonly 'value': _T_Value;
159
- }>;
36
+ type value = _pi.Optional_Value<value.O>;
160
37
  }
161
38
  type L = {
162
- readonly 'key': _T_String;
163
- readonly 'value': _pi.Optional_Value<{
164
- readonly ':': _T_Structural_Token;
165
- readonly 'value': _T_Value;
166
- }>;
39
+ readonly 'key': L.key;
40
+ readonly 'value': L.value;
167
41
  };
168
42
  }
169
- export declare namespace _T_Elements {
43
+ export type Key_Value_Pairs_ = _pi.List<Key_Value_Pairs_.L>;
44
+ export declare namespace Elements_ {
170
45
  namespace L {
171
- namespace value {
172
- }
173
- type value = _T_Value;
46
+ type value = Value_;
174
47
  }
175
48
  type L = {
176
- readonly 'value': _T_Value;
49
+ readonly 'value': L.value;
177
50
  };
178
51
  }
179
- export declare namespace _T_Concrete_Value {
180
- namespace SG {
181
- namespace indexed_collection {
182
- namespace SG {
183
- namespace dictionary {
184
- namespace $co_ {
185
- }
186
- type $co_ = _T_Structural_Token;
187
- namespace entries {
188
- }
189
- type entries = _T_Key_Value_Pairs;
190
- namespace $cc_ {
191
- }
192
- type $cc_ = _T_Structural_Token;
193
- }
194
- type dictionary = {
195
- readonly '{': _T_Structural_Token;
196
- readonly 'entries': _T_Key_Value_Pairs;
197
- readonly '}': _T_Structural_Token;
198
- };
199
- namespace verbose_group {
200
- namespace $po_ {
201
- }
202
- type $po_ = _T_Structural_Token;
203
- namespace entries {
204
- }
205
- type entries = _T_Key_Value_Pairs;
206
- namespace $pc_ {
207
- }
208
- type $pc_ = _T_Structural_Token;
209
- }
210
- type verbose_group = {
211
- readonly '(': _T_Structural_Token;
212
- readonly 'entries': _T_Key_Value_Pairs;
213
- readonly ')': _T_Structural_Token;
214
- };
215
- }
216
- type SG = readonly [
217
- 'dictionary',
218
- {
219
- readonly '{': _T_Structural_Token;
220
- readonly 'entries': _T_Key_Value_Pairs;
221
- readonly '}': _T_Structural_Token;
222
- }
223
- ] | readonly [
224
- 'verbose group',
225
- {
226
- readonly '(': _T_Structural_Token;
227
- readonly 'entries': _T_Key_Value_Pairs;
228
- readonly ')': _T_Structural_Token;
229
- }
230
- ];
231
- }
232
- type indexed_collection = _i_core._T_State_Group<null, readonly [
233
- 'dictionary',
234
- {
235
- readonly '{': _T_Structural_Token;
236
- readonly 'entries': _T_Key_Value_Pairs;
237
- readonly '}': _T_Structural_Token;
238
- }
239
- ] | readonly [
240
- 'verbose group',
241
- {
242
- readonly '(': _T_Structural_Token;
243
- readonly 'entries': _T_Key_Value_Pairs;
244
- readonly ')': _T_Structural_Token;
245
- }
246
- ]>;
247
- namespace not_set {
248
- namespace $ti_ {
249
- }
250
- type $ti_ = _T_Structural_Token;
251
- }
252
- type not_set = {
253
- readonly '~': _T_Structural_Token;
52
+ export type Elements_ = _pi.List<Elements_.L>;
53
+ export declare namespace Concrete_Value_ {
54
+ namespace indexed_collection {
55
+ namespace dictionary {
56
+ type $co_ = Structural_Token_;
57
+ type entries = Key_Value_Pairs_;
58
+ type $cc_ = Structural_Token_;
59
+ }
60
+ type dictionary = {
61
+ readonly '{': dictionary.$co_;
62
+ readonly 'entries': dictionary.entries;
63
+ readonly '}': dictionary.$cc_;
254
64
  };
255
- namespace ordered_collection {
256
- namespace SG {
257
- namespace list {
258
- namespace $bo_ {
259
- }
260
- type $bo_ = _T_Structural_Token;
261
- namespace elements {
262
- }
263
- type elements = _T_Elements;
264
- namespace $bc_ {
265
- }
266
- type $bc_ = _T_Structural_Token;
267
- }
268
- type list = {
269
- readonly '[': _T_Structural_Token;
270
- readonly 'elements': _T_Elements;
271
- readonly ']': _T_Structural_Token;
272
- };
273
- namespace concise_group {
274
- namespace $st_ {
275
- }
276
- type $st_ = _T_Structural_Token;
277
- namespace elements {
278
- }
279
- type elements = _T_Elements;
280
- namespace $gt_ {
281
- }
282
- type $gt_ = _T_Structural_Token;
283
- }
284
- type concise_group = {
285
- readonly '<': _T_Structural_Token;
286
- readonly 'elements': _T_Elements;
287
- readonly '>': _T_Structural_Token;
288
- };
289
- }
290
- type SG = readonly [
291
- 'list',
292
- {
293
- readonly '[': _T_Structural_Token;
294
- readonly 'elements': _T_Elements;
295
- readonly ']': _T_Structural_Token;
296
- }
297
- ] | readonly [
298
- 'concise group',
299
- {
300
- readonly '<': _T_Structural_Token;
301
- readonly 'elements': _T_Elements;
302
- readonly '>': _T_Structural_Token;
303
- }
304
- ];
305
- }
306
- type ordered_collection = _i_core._T_State_Group<null, readonly [
307
- 'list',
308
- {
309
- readonly '[': _T_Structural_Token;
310
- readonly 'elements': _T_Elements;
311
- readonly ']': _T_Structural_Token;
312
- }
313
- ] | readonly [
314
- 'concise group',
315
- {
316
- readonly '<': _T_Structural_Token;
317
- readonly 'elements': _T_Elements;
318
- readonly '>': _T_Structural_Token;
319
- }
320
- ]>;
321
- namespace set_optional_value {
322
- namespace $sr_ {
323
- }
324
- type $sr_ = _T_Structural_Token;
325
- namespace value {
326
- }
327
- type value = _T_Value;
328
- }
329
- type set_optional_value = {
330
- readonly '*': _T_Structural_Token;
331
- readonly 'value': _T_Value;
65
+ namespace verbose_group {
66
+ type $po_ = Structural_Token_;
67
+ type entries = Key_Value_Pairs_;
68
+ type $pc_ = Structural_Token_;
69
+ }
70
+ type verbose_group = {
71
+ readonly '(': verbose_group.$po_;
72
+ readonly 'entries': verbose_group.entries;
73
+ readonly ')': verbose_group.$pc_;
332
74
  };
333
- namespace state {
334
- namespace $vb_ {
335
- }
336
- type $vb_ = _T_Structural_Token;
337
- namespace status {
338
- namespace SG {
339
- namespace missing_data {
340
- namespace $ha_ {
341
- }
342
- type $ha_ = _T_Structural_Token;
343
- }
344
- type missing_data = {
345
- readonly '#': _T_Structural_Token;
346
- };
347
- namespace _set {
348
- namespace state {
349
- }
350
- type state = _T_String;
351
- namespace value {
352
- }
353
- type value = _T_Value;
354
- }
355
- type _set = {
356
- readonly 'state': _T_String;
357
- readonly 'value': _T_Value;
358
- };
359
- }
360
- type SG = readonly [
361
- 'missing data',
362
- {
363
- readonly '#': _T_Structural_Token;
364
- }
365
- ] | readonly [
366
- 'set',
367
- {
368
- readonly 'state': _T_String;
369
- readonly 'value': _T_Value;
370
- }
371
- ];
372
- }
373
- type status = _i_core._T_State_Group<null, readonly [
374
- 'missing data',
375
- {
376
- readonly '#': _T_Structural_Token;
377
- }
378
- ] | readonly [
379
- 'set',
380
- {
381
- readonly 'state': _T_String;
382
- readonly 'value': _T_Value;
383
- }
384
- ]>;
385
- }
386
- type state = {
387
- readonly '|': _T_Structural_Token;
388
- readonly 'status': _i_core._T_State_Group<null, readonly [
389
- 'missing data',
390
- {
391
- readonly '#': _T_Structural_Token;
392
- }
393
- ] | readonly [
394
- 'set',
395
- {
396
- readonly 'state': _T_String;
397
- readonly 'value': _T_Value;
398
- }
399
- ]>;
75
+ }
76
+ type indexed_collection = readonly ['dictionary', indexed_collection.dictionary] | readonly ['verbose group', indexed_collection.verbose_group];
77
+ namespace not_set {
78
+ type $ti_ = Structural_Token_;
79
+ }
80
+ type not_set = {
81
+ readonly '~': not_set.$ti_;
82
+ };
83
+ namespace ordered_collection {
84
+ namespace list {
85
+ type $bo_ = Structural_Token_;
86
+ type elements = Elements_;
87
+ type $bc_ = Structural_Token_;
88
+ }
89
+ type list = {
90
+ readonly '[': list.$bo_;
91
+ readonly 'elements': list.elements;
92
+ readonly ']': list.$bc_;
93
+ };
94
+ namespace concise_group {
95
+ type $st_ = Structural_Token_;
96
+ type elements = Elements_;
97
+ type $gt_ = Structural_Token_;
98
+ }
99
+ type concise_group = {
100
+ readonly '<': concise_group.$st_;
101
+ readonly 'elements': concise_group.elements;
102
+ readonly '>': concise_group.$gt_;
400
103
  };
401
- namespace text {
402
- }
403
- type text = _T_String;
404
104
  }
405
- type SG = readonly [
406
- 'indexed collection',
407
- _i_core._T_State_Group<null, readonly [
408
- 'dictionary',
409
- {
410
- readonly '{': _T_Structural_Token;
411
- readonly 'entries': _T_Key_Value_Pairs;
412
- readonly '}': _T_Structural_Token;
413
- }
414
- ] | readonly [
415
- 'verbose group',
416
- {
417
- readonly '(': _T_Structural_Token;
418
- readonly 'entries': _T_Key_Value_Pairs;
419
- readonly ')': _T_Structural_Token;
420
- }
421
- ]>
422
- ] | readonly [
423
- 'not set',
424
- {
425
- readonly '~': _T_Structural_Token;
426
- }
427
- ] | readonly [
428
- 'ordered collection',
429
- _i_core._T_State_Group<null, readonly [
430
- 'list',
431
- {
432
- readonly '[': _T_Structural_Token;
433
- readonly 'elements': _T_Elements;
434
- readonly ']': _T_Structural_Token;
435
- }
436
- ] | readonly [
437
- 'concise group',
438
- {
439
- readonly '<': _T_Structural_Token;
440
- readonly 'elements': _T_Elements;
441
- readonly '>': _T_Structural_Token;
442
- }
443
- ]>
444
- ] | readonly [
445
- 'set optional value',
446
- {
447
- readonly '*': _T_Structural_Token;
448
- readonly 'value': _T_Value;
449
- }
450
- ] | readonly [
451
- 'state',
452
- {
453
- readonly '|': _T_Structural_Token;
454
- readonly 'status': _i_core._T_State_Group<null, readonly [
455
- 'missing data',
456
- {
457
- readonly '#': _T_Structural_Token;
458
- }
459
- ] | readonly [
460
- 'set',
461
- {
462
- readonly 'state': _T_String;
463
- readonly 'value': _T_Value;
464
- }
465
- ]>;
466
- }
467
- ] | readonly ['text', _T_String];
468
- }
469
- export declare namespace _T_Value {
470
- namespace _type {
471
- namespace SG {
472
- namespace concrete {
473
- }
474
- type concrete = _T_Concrete_Value;
475
- namespace include {
476
- namespace $at_ {
477
- }
478
- type $at_ = _T_Structural_Token;
479
- namespace path {
480
- }
481
- type path = _T_String;
482
- }
483
- type include = {
484
- readonly '@': _T_Structural_Token;
485
- readonly 'path': _T_String;
486
- };
105
+ type ordered_collection = readonly ['list', ordered_collection.list] | readonly ['concise group', ordered_collection.concise_group];
106
+ namespace set_optional_value {
107
+ type $sr_ = Structural_Token_;
108
+ type value = Value_;
109
+ }
110
+ type set_optional_value = {
111
+ readonly '*': set_optional_value.$sr_;
112
+ readonly 'value': set_optional_value.value;
113
+ };
114
+ namespace state {
115
+ type $vb_ = Structural_Token_;
116
+ namespace status {
487
117
  namespace missing_data {
488
- namespace $ha_ {
489
- }
490
- type $ha_ = _T_Structural_Token;
118
+ type $ha_ = Structural_Token_;
491
119
  }
492
120
  type missing_data = {
493
- readonly '#': _T_Structural_Token;
121
+ readonly '#': missing_data.$ha_;
494
122
  };
495
- }
496
- type SG = readonly ['concrete', _T_Concrete_Value] | readonly [
497
- 'include',
498
- {
499
- readonly '@': _T_Structural_Token;
500
- readonly 'path': _T_String;
501
- }
502
- ] | readonly [
503
- 'missing data',
504
- {
505
- readonly '#': _T_Structural_Token;
506
- }
507
- ];
508
- }
509
- type _type = _i_core._T_State_Group<null, readonly ['concrete', _T_Concrete_Value] | readonly [
510
- 'include',
511
- {
512
- readonly '@': _T_Structural_Token;
513
- readonly 'path': _T_String;
514
- }
515
- ] | readonly [
516
- 'missing data',
517
- {
518
- readonly '#': _T_Structural_Token;
519
- }
520
- ]>;
521
- }
522
- export declare namespace _T_Content {
523
- }
524
- export declare namespace _T_Document {
525
- namespace header {
526
- namespace O {
527
- namespace $ex_ {
528
- }
529
- type $ex_ = _T_Structural_Token;
530
- namespace value {
531
- }
532
- type value = _T_Value;
533
- }
534
- type O = {
535
- readonly '!': _T_Structural_Token;
536
- readonly 'value': _T_Value;
537
- };
538
- }
539
- type header = _pi.Optional_Value<{
540
- readonly '!': _T_Structural_Token;
541
- readonly 'value': _T_Value;
542
- }>;
543
- namespace content {
544
- }
545
- type content = _T_Content;
546
- }
547
- export declare namespace Structural_Token {
548
- namespace trailing_trivia {
549
- }
550
- type trailing_trivia = _i_imports_token._T_Trivia;
551
- namespace range {
552
- }
553
- type range = _i_imports_token._T_Range;
554
- }
555
- export declare namespace String {
556
- namespace trailing_trivia {
557
- }
558
- type trailing_trivia = _i_imports_token._T_Trivia;
559
- namespace range {
560
- }
561
- type range = _i_imports_token._T_Range;
562
- type value = string;
563
- namespace _type {
564
- }
565
- type _type = _i_imports_token._T_String_Type;
566
- }
567
- export declare namespace Key_Value_Pairs {
568
- namespace L {
569
- namespace key {
570
- }
571
- type key = _T_String;
572
- namespace value {
573
- namespace O {
574
- namespace $cl_ {
575
- }
576
- type $cl_ = _T_Structural_Token;
577
- namespace value {
578
- }
579
- type value = _T_Value;
123
+ namespace _set {
124
+ type state = String_;
125
+ type value = Value_;
580
126
  }
581
- type O = {
582
- readonly ':': _T_Structural_Token;
583
- readonly 'value': _T_Value;
127
+ type _set = {
128
+ readonly 'state': _set.state;
129
+ readonly 'value': _set.value;
584
130
  };
585
131
  }
586
- type value = _pi.Optional_Value<{
587
- readonly ':': _T_Structural_Token;
588
- readonly 'value': _T_Value;
589
- }>;
132
+ type status = readonly ['missing data', status.missing_data] | readonly ['set', status._set];
590
133
  }
591
- type L = {
592
- readonly 'key': _T_String;
593
- readonly 'value': _pi.Optional_Value<{
594
- readonly ':': _T_Structural_Token;
595
- readonly 'value': _T_Value;
596
- }>;
134
+ type state = {
135
+ readonly '|': state.$vb_;
136
+ readonly 'status': state.status;
597
137
  };
138
+ type text = String_;
598
139
  }
599
- export declare namespace Elements {
600
- namespace L {
601
- namespace value {
602
- }
603
- type value = _T_Value;
604
- }
605
- type L = {
606
- readonly 'value': _T_Value;
607
- };
608
- }
609
- export declare namespace Concrete_Value {
610
- namespace SG {
611
- namespace indexed_collection {
612
- namespace SG {
613
- namespace dictionary {
614
- namespace $co_ {
615
- }
616
- type $co_ = _T_Structural_Token;
617
- namespace entries {
618
- }
619
- type entries = _T_Key_Value_Pairs;
620
- namespace $cc_ {
621
- }
622
- type $cc_ = _T_Structural_Token;
623
- }
624
- type dictionary = {
625
- readonly '{': _T_Structural_Token;
626
- readonly 'entries': _T_Key_Value_Pairs;
627
- readonly '}': _T_Structural_Token;
628
- };
629
- namespace verbose_group {
630
- namespace $po_ {
631
- }
632
- type $po_ = _T_Structural_Token;
633
- namespace entries {
634
- }
635
- type entries = _T_Key_Value_Pairs;
636
- namespace $pc_ {
637
- }
638
- type $pc_ = _T_Structural_Token;
639
- }
640
- type verbose_group = {
641
- readonly '(': _T_Structural_Token;
642
- readonly 'entries': _T_Key_Value_Pairs;
643
- readonly ')': _T_Structural_Token;
644
- };
645
- }
646
- type SG = readonly [
647
- 'dictionary',
648
- {
649
- readonly '{': _T_Structural_Token;
650
- readonly 'entries': _T_Key_Value_Pairs;
651
- readonly '}': _T_Structural_Token;
652
- }
653
- ] | readonly [
654
- 'verbose group',
655
- {
656
- readonly '(': _T_Structural_Token;
657
- readonly 'entries': _T_Key_Value_Pairs;
658
- readonly ')': _T_Structural_Token;
659
- }
660
- ];
661
- }
662
- type indexed_collection = _i_core._T_State_Group<null, readonly [
663
- 'dictionary',
664
- {
665
- readonly '{': _T_Structural_Token;
666
- readonly 'entries': _T_Key_Value_Pairs;
667
- readonly '}': _T_Structural_Token;
668
- }
669
- ] | readonly [
670
- 'verbose group',
671
- {
672
- readonly '(': _T_Structural_Token;
673
- readonly 'entries': _T_Key_Value_Pairs;
674
- readonly ')': _T_Structural_Token;
675
- }
676
- ]>;
677
- namespace not_set {
678
- namespace $ti_ {
679
- }
680
- type $ti_ = _T_Structural_Token;
681
- }
682
- type not_set = {
683
- readonly '~': _T_Structural_Token;
684
- };
685
- namespace ordered_collection {
686
- namespace SG {
687
- namespace list {
688
- namespace $bo_ {
689
- }
690
- type $bo_ = _T_Structural_Token;
691
- namespace elements {
692
- }
693
- type elements = _T_Elements;
694
- namespace $bc_ {
695
- }
696
- type $bc_ = _T_Structural_Token;
697
- }
698
- type list = {
699
- readonly '[': _T_Structural_Token;
700
- readonly 'elements': _T_Elements;
701
- readonly ']': _T_Structural_Token;
702
- };
703
- namespace concise_group {
704
- namespace $st_ {
705
- }
706
- type $st_ = _T_Structural_Token;
707
- namespace elements {
708
- }
709
- type elements = _T_Elements;
710
- namespace $gt_ {
711
- }
712
- type $gt_ = _T_Structural_Token;
713
- }
714
- type concise_group = {
715
- readonly '<': _T_Structural_Token;
716
- readonly 'elements': _T_Elements;
717
- readonly '>': _T_Structural_Token;
718
- };
719
- }
720
- type SG = readonly [
721
- 'list',
722
- {
723
- readonly '[': _T_Structural_Token;
724
- readonly 'elements': _T_Elements;
725
- readonly ']': _T_Structural_Token;
726
- }
727
- ] | readonly [
728
- 'concise group',
729
- {
730
- readonly '<': _T_Structural_Token;
731
- readonly 'elements': _T_Elements;
732
- readonly '>': _T_Structural_Token;
733
- }
734
- ];
735
- }
736
- type ordered_collection = _i_core._T_State_Group<null, readonly [
737
- 'list',
738
- {
739
- readonly '[': _T_Structural_Token;
740
- readonly 'elements': _T_Elements;
741
- readonly ']': _T_Structural_Token;
742
- }
743
- ] | readonly [
744
- 'concise group',
745
- {
746
- readonly '<': _T_Structural_Token;
747
- readonly 'elements': _T_Elements;
748
- readonly '>': _T_Structural_Token;
749
- }
750
- ]>;
751
- namespace set_optional_value {
752
- namespace $sr_ {
753
- }
754
- type $sr_ = _T_Structural_Token;
755
- namespace value {
756
- }
757
- type value = _T_Value;
758
- }
759
- type set_optional_value = {
760
- readonly '*': _T_Structural_Token;
761
- readonly 'value': _T_Value;
140
+ export type Concrete_Value_ = readonly ['indexed collection', Concrete_Value_.indexed_collection] | readonly ['not set', Concrete_Value_.not_set] | readonly ['ordered collection', Concrete_Value_.ordered_collection] | readonly ['set optional value', Concrete_Value_.set_optional_value] | readonly ['state', Concrete_Value_.state] | readonly ['text', Concrete_Value_.text];
141
+ export declare namespace Value_ {
142
+ namespace _type {
143
+ type concrete = Concrete_Value_;
144
+ namespace include {
145
+ type $at_ = Structural_Token_;
146
+ type path = String_;
147
+ }
148
+ type include = {
149
+ readonly '@': include.$at_;
150
+ readonly 'path': include.path;
762
151
  };
763
- namespace state {
764
- namespace $vb_ {
765
- }
766
- type $vb_ = _T_Structural_Token;
767
- namespace status {
768
- namespace SG {
769
- namespace missing_data {
770
- namespace $ha_ {
771
- }
772
- type $ha_ = _T_Structural_Token;
773
- }
774
- type missing_data = {
775
- readonly '#': _T_Structural_Token;
776
- };
777
- namespace _set {
778
- namespace state {
779
- }
780
- type state = _T_String;
781
- namespace value {
782
- }
783
- type value = _T_Value;
784
- }
785
- type _set = {
786
- readonly 'state': _T_String;
787
- readonly 'value': _T_Value;
788
- };
789
- }
790
- type SG = readonly [
791
- 'missing data',
792
- {
793
- readonly '#': _T_Structural_Token;
794
- }
795
- ] | readonly [
796
- 'set',
797
- {
798
- readonly 'state': _T_String;
799
- readonly 'value': _T_Value;
800
- }
801
- ];
802
- }
803
- type status = _i_core._T_State_Group<null, readonly [
804
- 'missing data',
805
- {
806
- readonly '#': _T_Structural_Token;
807
- }
808
- ] | readonly [
809
- 'set',
810
- {
811
- readonly 'state': _T_String;
812
- readonly 'value': _T_Value;
813
- }
814
- ]>;
152
+ namespace missing_data {
153
+ type $ha_ = Structural_Token_;
815
154
  }
816
- type state = {
817
- readonly '|': _T_Structural_Token;
818
- readonly 'status': _i_core._T_State_Group<null, readonly [
819
- 'missing data',
820
- {
821
- readonly '#': _T_Structural_Token;
822
- }
823
- ] | readonly [
824
- 'set',
825
- {
826
- readonly 'state': _T_String;
827
- readonly 'value': _T_Value;
828
- }
829
- ]>;
155
+ type missing_data = {
156
+ readonly '#': missing_data.$ha_;
830
157
  };
831
- namespace text {
832
- }
833
- type text = _T_String;
834
- }
835
- type SG = readonly [
836
- 'indexed collection',
837
- _i_core._T_State_Group<null, readonly [
838
- 'dictionary',
839
- {
840
- readonly '{': _T_Structural_Token;
841
- readonly 'entries': _T_Key_Value_Pairs;
842
- readonly '}': _T_Structural_Token;
843
- }
844
- ] | readonly [
845
- 'verbose group',
846
- {
847
- readonly '(': _T_Structural_Token;
848
- readonly 'entries': _T_Key_Value_Pairs;
849
- readonly ')': _T_Structural_Token;
850
- }
851
- ]>
852
- ] | readonly [
853
- 'not set',
854
- {
855
- readonly '~': _T_Structural_Token;
856
- }
857
- ] | readonly [
858
- 'ordered collection',
859
- _i_core._T_State_Group<null, readonly [
860
- 'list',
861
- {
862
- readonly '[': _T_Structural_Token;
863
- readonly 'elements': _T_Elements;
864
- readonly ']': _T_Structural_Token;
865
- }
866
- ] | readonly [
867
- 'concise group',
868
- {
869
- readonly '<': _T_Structural_Token;
870
- readonly 'elements': _T_Elements;
871
- readonly '>': _T_Structural_Token;
872
- }
873
- ]>
874
- ] | readonly [
875
- 'set optional value',
876
- {
877
- readonly '*': _T_Structural_Token;
878
- readonly 'value': _T_Value;
879
- }
880
- ] | readonly [
881
- 'state',
882
- {
883
- readonly '|': _T_Structural_Token;
884
- readonly 'status': _i_core._T_State_Group<null, readonly [
885
- 'missing data',
886
- {
887
- readonly '#': _T_Structural_Token;
888
- }
889
- ] | readonly [
890
- 'set',
891
- {
892
- readonly 'state': _T_String;
893
- readonly 'value': _T_Value;
894
- }
895
- ]>;
896
- }
897
- ] | readonly ['text', _T_String];
898
- }
899
- export declare namespace Value {
900
- namespace _type {
901
- namespace SG {
902
- namespace concrete {
903
- }
904
- type concrete = _T_Concrete_Value;
905
- namespace include {
906
- namespace $at_ {
907
- }
908
- type $at_ = _T_Structural_Token;
909
- namespace path {
910
- }
911
- type path = _T_String;
912
- }
913
- type include = {
914
- readonly '@': _T_Structural_Token;
915
- readonly 'path': _T_String;
916
- };
917
- namespace missing_data {
918
- namespace $ha_ {
919
- }
920
- type $ha_ = _T_Structural_Token;
921
- }
922
- type missing_data = {
923
- readonly '#': _T_Structural_Token;
924
- };
925
- }
926
- type SG = readonly ['concrete', _T_Concrete_Value] | readonly [
927
- 'include',
928
- {
929
- readonly '@': _T_Structural_Token;
930
- readonly 'path': _T_String;
931
- }
932
- ] | readonly [
933
- 'missing data',
934
- {
935
- readonly '#': _T_Structural_Token;
936
- }
937
- ];
938
158
  }
939
- type _type = _i_core._T_State_Group<null, readonly ['concrete', _T_Concrete_Value] | readonly [
940
- 'include',
941
- {
942
- readonly '@': _T_Structural_Token;
943
- readonly 'path': _T_String;
944
- }
945
- ] | readonly [
946
- 'missing data',
947
- {
948
- readonly '#': _T_Structural_Token;
949
- }
950
- ]>;
159
+ type _type = readonly ['concrete', _type.concrete] | readonly ['include', _type.include] | readonly ['missing data', _type.missing_data];
951
160
  }
952
- export declare namespace Content {
953
- }
954
- export declare namespace Document {
161
+ export type Value_ = {
162
+ readonly 'type': Value_._type;
163
+ };
164
+ export type Content_ = Value_;
165
+ export declare namespace Document_ {
955
166
  namespace header {
956
167
  namespace O {
957
- namespace $ex_ {
958
- }
959
- type $ex_ = _T_Structural_Token;
960
- namespace value {
961
- }
962
- type value = _T_Value;
168
+ type $ex_ = Structural_Token_;
169
+ type value = Value_;
963
170
  }
964
171
  type O = {
965
- readonly '!': _T_Structural_Token;
966
- readonly 'value': _T_Value;
172
+ readonly '!': O.$ex_;
173
+ readonly 'value': O.value;
967
174
  };
968
175
  }
969
- type header = _pi.Optional_Value<{
970
- readonly '!': _T_Structural_Token;
971
- readonly 'value': _T_Value;
972
- }>;
973
- namespace content {
974
- }
975
- type content = _T_Content;
176
+ type header = _pi.Optional_Value<header.O>;
177
+ type content = Content_;
976
178
  }
179
+ export type Document_ = {
180
+ readonly 'header': Document_.header;
181
+ readonly 'content': Document_.content;
182
+ };
183
+ export { Structural_Token_ as Structural_Token, String_ as String, Key_Value_Pairs_ as Key_Value_Pairs, Elements_ as Elements, Concrete_Value_ as Concrete_Value, Value_ as Value, Content_ as Content, Document_ as Document, };