astn 0.110.18 → 0.110.20

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 (167) hide show
  1. package/dist/bin/convert_to_json.js +10 -20
  2. package/dist/bin/validate_astn.js +9 -19
  3. package/dist/generated/{interface/schemas/target/resolved.d.ts → generic/astn_target.d.ts} +1 -1
  4. package/dist/generated/generic/astn_target.js +3 -0
  5. package/dist/generated/generic/resolve.d.ts +2 -2
  6. package/dist/generated/generic/resolve.js +14 -22
  7. package/dist/generated/implementation/generic/resolve.d.ts +81 -0
  8. package/dist/generated/implementation/generic/resolve.js +251 -0
  9. package/dist/generated/implementation/generic/unmarshall.d.ts +37 -0
  10. package/dist/generated/implementation/generic/unmarshall.js +168 -0
  11. package/dist/generated/implementation/schemas/ast/marshall.d.ts +7 -0
  12. package/dist/generated/implementation/schemas/ast/marshall.js +227 -0
  13. package/dist/generated/implementation/schemas/ast/serializer.d.ts +14 -0
  14. package/dist/generated/implementation/schemas/ast/serializer.js +328 -0
  15. package/dist/generated/implementation/schemas/ast/unmarshall.d.ts +7 -0
  16. package/dist/generated/implementation/schemas/ast/unmarshall.js +239 -0
  17. package/dist/generated/implementation/schemas/ide/marshall.d.ts +4 -0
  18. package/dist/generated/implementation/schemas/ide/marshall.js +81 -0
  19. package/dist/generated/implementation/schemas/ide/serializer.d.ts +3 -0
  20. package/dist/generated/implementation/schemas/ide/serializer.js +72 -0
  21. package/dist/generated/implementation/schemas/ide/unmarshall.d.ts +4 -0
  22. package/dist/generated/implementation/schemas/ide/unmarshall.js +79 -0
  23. package/dist/generated/implementation/schemas/parse_result/marshall.d.ts +3 -0
  24. package/dist/generated/implementation/schemas/parse_result/marshall.js +184 -0
  25. package/dist/generated/implementation/schemas/parse_result/serializer.d.ts +6 -0
  26. package/dist/generated/implementation/schemas/parse_result/serializer.js +288 -0
  27. package/dist/generated/implementation/schemas/parse_result/unmarshall.d.ts +3 -0
  28. package/dist/generated/implementation/schemas/parse_result/unmarshall.js +103 -0
  29. package/dist/generated/implementation/schemas/target/marshall.d.ts +3 -0
  30. package/dist/generated/implementation/schemas/target/marshall.js +122 -0
  31. package/dist/generated/implementation/schemas/target/serializer.d.ts +3 -0
  32. package/dist/generated/implementation/schemas/target/serializer.js +122 -0
  33. package/dist/generated/implementation/schemas/target/unmarshall.d.ts +3 -0
  34. package/dist/generated/implementation/schemas/target/unmarshall.js +81 -0
  35. package/dist/generated/implementation/schemas/token/marshall.d.ts +11 -0
  36. package/dist/generated/implementation/schemas/token/marshall.js +230 -0
  37. package/dist/generated/implementation/schemas/token/unmarshall.d.ts +11 -0
  38. package/dist/generated/implementation/schemas/token/unmarshall.js +180 -0
  39. package/dist/generated/interface/core/astn_source.d.ts +116 -0
  40. package/dist/generated/interface/core/astn_source.js +3 -0
  41. package/dist/generated/interface/{schemas/target/unresolved.d.ts → core/astn_target.d.ts} +27 -27
  42. package/dist/generated/interface/core/astn_target.js +3 -0
  43. package/dist/generated/interface/core/resolve.d.ts +11 -0
  44. package/dist/generated/interface/core/resolve.js +3 -0
  45. package/dist/generated/interface/core/unconstrained.d.ts +19 -0
  46. package/dist/generated/interface/core/unconstrained.js +3 -0
  47. package/dist/generated/interface/core/unresolved.d.ts +162 -13
  48. package/dist/generated/interface/generic/resolve.d.ts +11 -0
  49. package/dist/generated/interface/generic/resolve.js +3 -0
  50. package/dist/generated/interface/schemas/ast/marshall.d.ts +226 -0
  51. package/dist/generated/interface/schemas/{ide/resolved.js → ast/marshall.js} +1 -1
  52. package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +134 -0
  53. package/dist/generated/interface/schemas/ast/migrate_boilerplate.js +3 -0
  54. package/dist/generated/interface/schemas/ast/serializer.d.ts +436 -0
  55. package/dist/generated/interface/schemas/ast/{unresolved.js → serializer.js} +1 -1
  56. package/dist/generated/interface/schemas/ast/unconstrained.d.ts +20 -210
  57. package/dist/generated/interface/schemas/ast/unmarshall.d.ts +134 -0
  58. package/dist/generated/interface/schemas/{ide/unresolved.js → ast/unmarshall.js} +1 -1
  59. package/dist/generated/interface/schemas/ide/marshall.d.ts +136 -0
  60. package/dist/generated/interface/schemas/{ast/resolved.js → ide/marshall.js} +1 -1
  61. package/dist/generated/interface/schemas/ide/migrate_boilerplate.d.ts +68 -0
  62. package/dist/generated/interface/schemas/ide/migrate_boilerplate.js +3 -0
  63. package/dist/generated/interface/schemas/ide/serializer.d.ts +106 -0
  64. package/dist/generated/interface/schemas/{target/unresolved.js → ide/serializer.js} +1 -1
  65. package/dist/generated/interface/schemas/ide/unconstrained.d.ts +50 -29
  66. package/dist/generated/interface/schemas/ide/unmarshall.d.ts +68 -0
  67. package/dist/generated/interface/schemas/{parse_result/unresolved.js → ide/unmarshall.js} +1 -1
  68. package/dist/generated/interface/schemas/parse_result/marshall.d.ts +106 -0
  69. package/dist/generated/interface/schemas/parse_result/{resolved.js → marshall.js} +1 -1
  70. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.d.ts +46 -0
  71. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.js +3 -0
  72. package/dist/generated/interface/schemas/parse_result/serializer.d.ts +196 -0
  73. package/dist/generated/interface/schemas/parse_result/serializer.js +3 -0
  74. package/dist/generated/interface/schemas/parse_result/unconstrained.d.ts +20 -168
  75. package/dist/generated/interface/schemas/parse_result/unmarshall.d.ts +46 -0
  76. package/dist/generated/interface/schemas/parse_result/unmarshall.js +3 -0
  77. package/dist/generated/interface/schemas/target/marshall.d.ts +126 -0
  78. package/dist/generated/interface/schemas/target/{resolved.js → marshall.js} +1 -1
  79. package/dist/generated/interface/schemas/target/migrate_boilerplate.d.ts +46 -0
  80. package/dist/generated/interface/schemas/target/migrate_boilerplate.js +3 -0
  81. package/dist/generated/interface/schemas/target/serializer.d.ts +126 -0
  82. package/dist/generated/interface/schemas/target/serializer.js +3 -0
  83. package/dist/generated/interface/schemas/target/unconstrained.d.ts +1 -1
  84. package/dist/generated/interface/schemas/target/unmarshall.d.ts +46 -0
  85. package/dist/generated/interface/schemas/target/unmarshall.js +3 -0
  86. package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +1 -1
  87. package/dist/generated/interface/schemas/token/marshall.d.ts +346 -0
  88. package/dist/generated/interface/schemas/token/marshall.js +3 -0
  89. package/dist/generated/interface/schemas/token/migrate_boilerplate.d.ts +222 -0
  90. package/dist/generated/interface/schemas/token/migrate_boilerplate.js +3 -0
  91. package/dist/generated/interface/schemas/token/unconstrained.d.ts +326 -0
  92. package/dist/generated/interface/schemas/token/unconstrained.js +3 -0
  93. package/dist/generated/interface/schemas/token/unmarshall.d.ts +222 -0
  94. package/dist/generated/interface/schemas/token/unmarshall.js +3 -0
  95. package/dist/index.js +8 -18
  96. package/dist/parse/ast.d.ts +10 -0
  97. package/dist/parse/ast.js +227 -0
  98. package/dist/parse/astn_parse_generic.d.ts +8 -0
  99. package/dist/parse/astn_parse_generic.js +65 -0
  100. package/dist/parse/parse.d.ts +3 -10
  101. package/dist/parse/parse.js +19 -226
  102. package/dist/parse/parse_generic.d.ts +7 -42
  103. package/dist/parse/parse_generic.js +14 -605
  104. package/dist/{transformations/parse_generic.d.ts → parse/string_iterator.d.ts} +19 -15
  105. package/dist/parse/string_iterator.js +139 -0
  106. package/dist/parse/token.d.ts +9 -0
  107. package/dist/parse/token.js +506 -0
  108. package/dist/parse/tokenize.d.ts +8 -0
  109. package/dist/parse/tokenize.js +483 -0
  110. package/dist/serializers/json.js +8 -18
  111. package/dist/serializers/parse_result.js +8 -18
  112. package/dist/transformations/ast/ide.d.ts +3 -2
  113. package/dist/transformations/ast/ide.js +8 -18
  114. package/dist/transformations/ast/json_target.d.ts +1 -1
  115. package/dist/transformations/ast/json_target.js +8 -18
  116. package/dist/transformations/target/fountain_pen_block.js +10 -20
  117. package/dist/transformations/target_json/fountain_pen_block.js +8 -18
  118. package/package.json +5 -7
  119. package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +0 -1108
  120. package/dist/generated/interface/schemas/ast/poormans_parser.js +0 -3
  121. package/dist/generated/interface/schemas/ast/resolved.d.ts +0 -1108
  122. package/dist/generated/interface/schemas/ast/unresolved.d.ts +0 -1108
  123. package/dist/generated/interface/schemas/ide/poormans_parser.d.ts +0 -161
  124. package/dist/generated/interface/schemas/ide/poormans_parser.js +0 -3
  125. package/dist/generated/interface/schemas/ide/resolved.d.ts +0 -161
  126. package/dist/generated/interface/schemas/ide/unresolved.d.ts +0 -161
  127. package/dist/generated/interface/schemas/parse_result/poormans_parser.d.ts +0 -416
  128. package/dist/generated/interface/schemas/parse_result/poormans_parser.js +0 -3
  129. package/dist/generated/interface/schemas/parse_result/resolved.d.ts +0 -416
  130. package/dist/generated/interface/schemas/parse_result/unresolved.d.ts +0 -416
  131. package/dist/generated/interface/schemas/target/poormans_parser.d.ts +0 -186
  132. package/dist/generated/interface/schemas/target/poormans_parser.js +0 -3
  133. package/dist/generated/interface/schemas/target_json/poormans_parser.d.ts +0 -169
  134. package/dist/generated/interface/schemas/target_json/poormans_parser.js +0 -3
  135. package/dist/generated/interface/schemas/target_json/resolved.d.ts +0 -169
  136. package/dist/generated/interface/schemas/target_json/resolved.js +0 -3
  137. package/dist/generated/interface/schemas/target_json/unresolved.d.ts +0 -169
  138. package/dist/generated/interface/schemas/target_json/unresolved.js +0 -3
  139. package/dist/lib/globals.d.ts +0 -24
  140. package/dist/lib/globals.js +0 -2
  141. package/dist/lib/transformations/create_error_message.d.ts +0 -5
  142. package/dist/lib/transformations/create_error_message.js +0 -89
  143. package/dist/lib/transformations/format.d.ts +0 -42
  144. package/dist/lib/transformations/format.js +0 -166
  145. package/dist/lib/transformations/fountain_pen/astn.d.ts +0 -11
  146. package/dist/lib/transformations/fountain_pen/astn.js +0 -156
  147. package/dist/lib/transformations/fountain_pen/json.d.ts +0 -4
  148. package/dist/lib/transformations/fountain_pen/json.js +0 -113
  149. package/dist/lib/transformations/parse.d.ts +0 -11
  150. package/dist/lib/transformations/parse.js +0 -257
  151. package/dist/lib/transformations/parse_generic.d.ts +0 -43
  152. package/dist/lib/transformations/parse_generic.js +0 -644
  153. package/dist/transformations/create_error_message.d.ts +0 -5
  154. package/dist/transformations/create_error_message.js +0 -89
  155. package/dist/transformations/format.d.ts +0 -42
  156. package/dist/transformations/format.js +0 -166
  157. package/dist/transformations/fountain_pen/astn.d.ts +0 -11
  158. package/dist/transformations/fountain_pen/astn.js +0 -166
  159. package/dist/transformations/fountain_pen/json.d.ts +0 -4
  160. package/dist/transformations/fountain_pen/json.js +0 -123
  161. package/dist/transformations/parse.d.ts +0 -11
  162. package/dist/transformations/parse.js +0 -257
  163. package/dist/transformations/parse_generic.js +0 -644
  164. package/dist/transformations/target/fountain_pen/astn.d.ts +0 -11
  165. package/dist/transformations/target/fountain_pen/astn.js +0 -156
  166. package/dist/transformations/target/fountain_pen/json.d.ts +0 -4
  167. package/dist/transformations/target/fountain_pen/json.js +0 -113
@@ -1,5 +1,6 @@
1
1
  import * as _pt from 'exupery-core-types';
2
- import * as _i_core from "../../core/resolved";
2
+ import * as _i_core from "../../core/unconstrained";
3
+ import * as _i_imports_token from "../token/unconstrained";
3
4
  export type _T_Document = {
4
5
  readonly 'content': _T_Value;
5
6
  readonly 'header': _pt.Optional_Value<{
@@ -19,44 +20,18 @@ export type _T_Key_Value_Pairs = _i_core._T_List<null, {
19
20
  readonly 'value': _T_Value;
20
21
  }>;
21
22
  }>;
22
- export type _T_Location = {
23
- readonly 'absolute': number;
24
- readonly 'relative': _T_Relative_Location;
25
- };
26
- export type _T_Range = {
27
- readonly 'end': _T_Location;
28
- readonly 'start': _T_Location;
29
- };
30
- export type _T_Relative_Location = {
31
- readonly 'column': number;
32
- readonly 'line': number;
33
- };
34
- export type _T_Relative_Range = {
35
- readonly 'end': _T_Relative_Location;
36
- readonly 'start': _T_Relative_Location;
37
- };
38
23
  export type _T_String = {
39
- readonly 'range': _T_Range;
40
- readonly 'trailing trivia': _T_Trivia;
41
- readonly 'type': _T_String_Type;
24
+ readonly 'range': _i_imports_token._T_Range;
25
+ readonly 'trailing trivia': _i_imports_token._T_Trivia;
26
+ readonly 'type': _i_imports_token._T_String_Type;
42
27
  readonly 'value': string;
43
28
  };
44
- export type _T_String_Type = _i_core._T_State_Group<null, readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null]>;
45
29
  export type _T_Structural_Token = {
46
- readonly 'range': _T_Range;
47
- readonly 'trailing trivia': _T_Trivia;
48
- };
49
- export type _T_Trivia = {
50
- readonly 'comments': _i_core._T_List<null, {
51
- readonly 'content': string;
52
- readonly 'range': _T_Range;
53
- readonly 'trailing whitespace': _T_Whitespace;
54
- readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
55
- }>;
56
- readonly 'leading whitespace': _T_Whitespace;
30
+ readonly 'range': _i_imports_token._T_Range;
31
+ readonly 'trailing trivia': _i_imports_token._T_Trivia;
57
32
  };
58
33
  export type _T_Value = {
59
- readonly 'range': _T_Range;
34
+ readonly 'range': _i_imports_token._T_Range;
60
35
  readonly 'type': _i_core._T_State_Group<null, readonly [
61
36
  'include',
62
37
  {
@@ -117,23 +92,12 @@ export type _T_Value = {
117
92
  }
118
93
  ]>;
119
94
  };
120
- export type _T_Whitespace = {
121
- readonly 'range': _T_Range;
122
- readonly 'value': string;
123
- };
124
95
  export type Document = _T_Document;
125
96
  export type Elements = _T_Elements;
126
97
  export type Key_Value_Pairs = _T_Key_Value_Pairs;
127
- export type Location = _T_Location;
128
- export type Range = _T_Range;
129
- export type Relative_Location = _T_Relative_Location;
130
- export type Relative_Range = _T_Relative_Range;
131
98
  export type String = _T_String;
132
- export type String_Type = _T_String_Type;
133
99
  export type Structural_Token = _T_Structural_Token;
134
- export type Trivia = _T_Trivia;
135
100
  export type Value = _T_Value;
136
- export type Whitespace = _T_Whitespace;
137
101
  export declare namespace _T_Document {
138
102
  namespace content {
139
103
  }
@@ -213,101 +177,30 @@ export declare namespace _T_Key_Value_Pairs {
213
177
  }>;
214
178
  };
215
179
  }
216
- export declare namespace _T_Location {
217
- type absolute = number;
218
- namespace relative {
219
- }
220
- type relative = _T_Relative_Location;
221
- }
222
- export declare namespace _T_Range {
223
- namespace end {
224
- }
225
- type end = _T_Location;
226
- namespace start {
227
- }
228
- type start = _T_Location;
229
- }
230
- export declare namespace _T_Relative_Location {
231
- type column = number;
232
- type line = number;
233
- }
234
- export declare namespace _T_Relative_Range {
235
- namespace end {
236
- }
237
- type end = _T_Relative_Location;
238
- namespace start {
239
- }
240
- type start = _T_Relative_Location;
241
- }
242
180
  export declare namespace _T_String {
243
181
  namespace range {
244
182
  }
245
- type range = _T_Range;
183
+ type range = _i_imports_token._T_Range;
246
184
  namespace trailing_trivia {
247
185
  }
248
- type trailing_trivia = _T_Trivia;
186
+ type trailing_trivia = _i_imports_token._T_Trivia;
249
187
  namespace _type {
250
188
  }
251
- type _type = _T_String_Type;
189
+ type _type = _i_imports_token._T_String_Type;
252
190
  type value = string;
253
191
  }
254
- export declare namespace _T_String_Type {
255
- namespace SG {
256
- type apostrophed = null;
257
- type backticked = null;
258
- type quoted = null;
259
- type undelimited = null;
260
- }
261
- type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
262
- }
263
192
  export declare namespace _T_Structural_Token {
264
193
  namespace range {
265
194
  }
266
- type range = _T_Range;
195
+ type range = _i_imports_token._T_Range;
267
196
  namespace trailing_trivia {
268
197
  }
269
- type trailing_trivia = _T_Trivia;
270
- }
271
- export declare namespace _T_Trivia {
272
- namespace comments {
273
- namespace L {
274
- type content = string;
275
- namespace range {
276
- }
277
- type range = _T_Range;
278
- namespace trailing_whitespace {
279
- }
280
- type trailing_whitespace = _T_Whitespace;
281
- namespace _type {
282
- namespace SG {
283
- type block = null;
284
- type line = null;
285
- }
286
- type SG = readonly ['block', null] | readonly ['line', null];
287
- }
288
- type _type = _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
289
- }
290
- type L = {
291
- readonly 'content': string;
292
- readonly 'range': _T_Range;
293
- readonly 'trailing whitespace': _T_Whitespace;
294
- readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
295
- };
296
- }
297
- type comments = _i_core._T_List<null, {
298
- readonly 'content': string;
299
- readonly 'range': _T_Range;
300
- readonly 'trailing whitespace': _T_Whitespace;
301
- readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
302
- }>;
303
- namespace leading_whitespace {
304
- }
305
- type leading_whitespace = _T_Whitespace;
198
+ type trailing_trivia = _i_imports_token._T_Trivia;
306
199
  }
307
200
  export declare namespace _T_Value {
308
201
  namespace range {
309
202
  }
310
- type range = _T_Range;
203
+ type range = _i_imports_token._T_Range;
311
204
  namespace _type {
312
205
  namespace SG {
313
206
  namespace include {
@@ -614,12 +507,6 @@ export declare namespace _T_Value {
614
507
  }
615
508
  ]>;
616
509
  }
617
- export declare namespace _T_Whitespace {
618
- namespace range {
619
- }
620
- type range = _T_Range;
621
- type value = string;
622
- }
623
510
  export declare namespace Document {
624
511
  namespace content {
625
512
  }
@@ -699,101 +586,30 @@ export declare namespace Key_Value_Pairs {
699
586
  }>;
700
587
  };
701
588
  }
702
- export declare namespace Location {
703
- type absolute = number;
704
- namespace relative {
705
- }
706
- type relative = _T_Relative_Location;
707
- }
708
- export declare namespace Range {
709
- namespace end {
710
- }
711
- type end = _T_Location;
712
- namespace start {
713
- }
714
- type start = _T_Location;
715
- }
716
- export declare namespace Relative_Location {
717
- type column = number;
718
- type line = number;
719
- }
720
- export declare namespace Relative_Range {
721
- namespace end {
722
- }
723
- type end = _T_Relative_Location;
724
- namespace start {
725
- }
726
- type start = _T_Relative_Location;
727
- }
728
589
  export declare namespace String {
729
590
  namespace range {
730
591
  }
731
- type range = _T_Range;
592
+ type range = _i_imports_token._T_Range;
732
593
  namespace trailing_trivia {
733
594
  }
734
- type trailing_trivia = _T_Trivia;
595
+ type trailing_trivia = _i_imports_token._T_Trivia;
735
596
  namespace _type {
736
597
  }
737
- type _type = _T_String_Type;
598
+ type _type = _i_imports_token._T_String_Type;
738
599
  type value = string;
739
600
  }
740
- export declare namespace String_Type {
741
- namespace SG {
742
- type apostrophed = null;
743
- type backticked = null;
744
- type quoted = null;
745
- type undelimited = null;
746
- }
747
- type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
748
- }
749
601
  export declare namespace Structural_Token {
750
602
  namespace range {
751
603
  }
752
- type range = _T_Range;
604
+ type range = _i_imports_token._T_Range;
753
605
  namespace trailing_trivia {
754
606
  }
755
- type trailing_trivia = _T_Trivia;
756
- }
757
- export declare namespace Trivia {
758
- namespace comments {
759
- namespace L {
760
- type content = string;
761
- namespace range {
762
- }
763
- type range = _T_Range;
764
- namespace trailing_whitespace {
765
- }
766
- type trailing_whitespace = _T_Whitespace;
767
- namespace _type {
768
- namespace SG {
769
- type block = null;
770
- type line = null;
771
- }
772
- type SG = readonly ['block', null] | readonly ['line', null];
773
- }
774
- type _type = _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
775
- }
776
- type L = {
777
- readonly 'content': string;
778
- readonly 'range': _T_Range;
779
- readonly 'trailing whitespace': _T_Whitespace;
780
- readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
781
- };
782
- }
783
- type comments = _i_core._T_List<null, {
784
- readonly 'content': string;
785
- readonly 'range': _T_Range;
786
- readonly 'trailing whitespace': _T_Whitespace;
787
- readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
788
- }>;
789
- namespace leading_whitespace {
790
- }
791
- type leading_whitespace = _T_Whitespace;
607
+ type trailing_trivia = _i_imports_token._T_Trivia;
792
608
  }
793
609
  export declare namespace Value {
794
610
  namespace range {
795
611
  }
796
- type range = _T_Range;
612
+ type range = _i_imports_token._T_Range;
797
613
  namespace _type {
798
614
  namespace SG {
799
615
  namespace include {
@@ -1100,9 +916,3 @@ export declare namespace Value {
1100
916
  }
1101
917
  ]>;
1102
918
  }
1103
- export declare namespace Whitespace {
1104
- namespace range {
1105
- }
1106
- type range = _T_Range;
1107
- type value = string;
1108
- }
@@ -0,0 +1,134 @@
1
+ import * as _i_in from "../../core/astn_source";
2
+ import * as _i_out from "./unconstrained";
3
+ export type _T_Document = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Document;
4
+ export type _T_Elements = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Elements;
5
+ export type _T_Key_Value_Pairs = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Key_Value_Pairs;
6
+ export type _T_String = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_String;
7
+ export type _T_Structural_Token = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Structural_Token;
8
+ export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
9
+ export type Document = _T_Document;
10
+ export type Elements = _T_Elements;
11
+ export type Key_Value_Pairs = _T_Key_Value_Pairs;
12
+ export type String = _T_String;
13
+ export type Structural_Token = _T_Structural_Token;
14
+ export type Value = _T_Value;
15
+ export declare namespace _T_Document {
16
+ namespace CONTEXT {
17
+ }
18
+ type CONTEXT = _i_in._T_Value;
19
+ namespace PARAMS {
20
+ }
21
+ namespace RESULT {
22
+ }
23
+ type RESULT = _i_out._T_Document;
24
+ }
25
+ export declare namespace _T_Elements {
26
+ namespace CONTEXT {
27
+ }
28
+ type CONTEXT = _i_in._T_Value;
29
+ namespace PARAMS {
30
+ }
31
+ namespace RESULT {
32
+ }
33
+ type RESULT = _i_out._T_Elements;
34
+ }
35
+ export declare namespace _T_Key_Value_Pairs {
36
+ namespace CONTEXT {
37
+ }
38
+ type CONTEXT = _i_in._T_Value;
39
+ namespace PARAMS {
40
+ }
41
+ namespace RESULT {
42
+ }
43
+ type RESULT = _i_out._T_Key_Value_Pairs;
44
+ }
45
+ export declare namespace _T_String {
46
+ namespace CONTEXT {
47
+ }
48
+ type CONTEXT = _i_in._T_Value;
49
+ namespace PARAMS {
50
+ }
51
+ namespace RESULT {
52
+ }
53
+ type RESULT = _i_out._T_String;
54
+ }
55
+ export declare namespace _T_Structural_Token {
56
+ namespace CONTEXT {
57
+ }
58
+ type CONTEXT = _i_in._T_Value;
59
+ namespace PARAMS {
60
+ }
61
+ namespace RESULT {
62
+ }
63
+ type RESULT = _i_out._T_Structural_Token;
64
+ }
65
+ export declare namespace _T_Value {
66
+ namespace CONTEXT {
67
+ }
68
+ type CONTEXT = _i_in._T_Value;
69
+ namespace PARAMS {
70
+ }
71
+ namespace RESULT {
72
+ }
73
+ type RESULT = _i_out._T_Value;
74
+ }
75
+ export declare namespace Document {
76
+ namespace CONTEXT {
77
+ }
78
+ type CONTEXT = _i_in._T_Value;
79
+ namespace PARAMS {
80
+ }
81
+ namespace RESULT {
82
+ }
83
+ type RESULT = _i_out._T_Document;
84
+ }
85
+ export declare namespace Elements {
86
+ namespace CONTEXT {
87
+ }
88
+ type CONTEXT = _i_in._T_Value;
89
+ namespace PARAMS {
90
+ }
91
+ namespace RESULT {
92
+ }
93
+ type RESULT = _i_out._T_Elements;
94
+ }
95
+ export declare namespace Key_Value_Pairs {
96
+ namespace CONTEXT {
97
+ }
98
+ type CONTEXT = _i_in._T_Value;
99
+ namespace PARAMS {
100
+ }
101
+ namespace RESULT {
102
+ }
103
+ type RESULT = _i_out._T_Key_Value_Pairs;
104
+ }
105
+ export declare namespace String {
106
+ namespace CONTEXT {
107
+ }
108
+ type CONTEXT = _i_in._T_Value;
109
+ namespace PARAMS {
110
+ }
111
+ namespace RESULT {
112
+ }
113
+ type RESULT = _i_out._T_String;
114
+ }
115
+ export declare namespace Structural_Token {
116
+ namespace CONTEXT {
117
+ }
118
+ type CONTEXT = _i_in._T_Value;
119
+ namespace PARAMS {
120
+ }
121
+ namespace RESULT {
122
+ }
123
+ type RESULT = _i_out._T_Structural_Token;
124
+ }
125
+ export declare namespace Value {
126
+ namespace CONTEXT {
127
+ }
128
+ type CONTEXT = _i_in._T_Value;
129
+ namespace PARAMS {
130
+ }
131
+ namespace RESULT {
132
+ }
133
+ type RESULT = _i_out._T_Value;
134
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5tYXJzaGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvYXN0L3VubWFyc2hhbGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -0,0 +1,136 @@
1
+ import * as _i_in from "./unconstrained";
2
+ import * as _i_out from "../../core/astn_target";
3
+ export type _T_Value_Serializers = {
4
+ readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
+ readonly 'custom numbers': null;
6
+ readonly 'default number': ($$_: number, $$_p: null) => string;
7
+ };
8
+ export type _T_s_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Key_Value_Pairs_To_Be_Sorted, $$_p: {
9
+ readonly 'value serializers': _T_Value_Serializers;
10
+ }) => _i_out._T_Value;
11
+ export type _T_s_Relative_Range = ($$_: _i_in._T_Relative_Range, $$_p: {
12
+ readonly 'value serializers': _T_Value_Serializers;
13
+ }) => _i_out._T_Value;
14
+ export type _T_s_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: {
15
+ readonly 'value serializers': _T_Value_Serializers;
16
+ }) => _i_out._T_Value;
17
+ export type Value_Serializers = _T_Value_Serializers;
18
+ export type s_Key_Value_Pairs_To_Be_Sorted = _T_s_Key_Value_Pairs_To_Be_Sorted;
19
+ export type s_Relative_Range = _T_s_Relative_Range;
20
+ export type s_Text_Edits = _T_s_Text_Edits;
21
+ export declare namespace _T_Value_Serializers {
22
+ namespace _boolean {
23
+ type CONTEXT = boolean;
24
+ namespace PARAMS {
25
+ }
26
+ type RESULT = string;
27
+ }
28
+ type _boolean = ($$_: boolean, $$_p: null) => string;
29
+ namespace custom_numbers {
30
+ }
31
+ type custom_numbers = null;
32
+ namespace default_number {
33
+ type CONTEXT = number;
34
+ namespace PARAMS {
35
+ }
36
+ type RESULT = string;
37
+ }
38
+ type default_number = ($$_: number, $$_p: null) => string;
39
+ }
40
+ export declare namespace _T_s_Key_Value_Pairs_To_Be_Sorted {
41
+ namespace CONTEXT {
42
+ }
43
+ type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
44
+ namespace PARAMS {
45
+ namespace value_serializers {
46
+ }
47
+ type value_serializers = _T_Value_Serializers;
48
+ }
49
+ namespace RESULT {
50
+ }
51
+ type RESULT = _i_out._T_Value;
52
+ }
53
+ export declare namespace _T_s_Relative_Range {
54
+ namespace CONTEXT {
55
+ }
56
+ type CONTEXT = _i_in._T_Relative_Range;
57
+ namespace PARAMS {
58
+ namespace value_serializers {
59
+ }
60
+ type value_serializers = _T_Value_Serializers;
61
+ }
62
+ namespace RESULT {
63
+ }
64
+ type RESULT = _i_out._T_Value;
65
+ }
66
+ export declare namespace _T_s_Text_Edits {
67
+ namespace CONTEXT {
68
+ }
69
+ type CONTEXT = _i_in._T_Text_Edits;
70
+ namespace PARAMS {
71
+ namespace value_serializers {
72
+ }
73
+ type value_serializers = _T_Value_Serializers;
74
+ }
75
+ namespace RESULT {
76
+ }
77
+ type RESULT = _i_out._T_Value;
78
+ }
79
+ export declare namespace Value_Serializers {
80
+ namespace _boolean {
81
+ type CONTEXT = boolean;
82
+ namespace PARAMS {
83
+ }
84
+ type RESULT = string;
85
+ }
86
+ type _boolean = ($$_: boolean, $$_p: null) => string;
87
+ namespace custom_numbers {
88
+ }
89
+ type custom_numbers = null;
90
+ namespace default_number {
91
+ type CONTEXT = number;
92
+ namespace PARAMS {
93
+ }
94
+ type RESULT = string;
95
+ }
96
+ type default_number = ($$_: number, $$_p: null) => string;
97
+ }
98
+ export declare namespace s_Key_Value_Pairs_To_Be_Sorted {
99
+ namespace CONTEXT {
100
+ }
101
+ type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
102
+ namespace PARAMS {
103
+ namespace value_serializers {
104
+ }
105
+ type value_serializers = _T_Value_Serializers;
106
+ }
107
+ namespace RESULT {
108
+ }
109
+ type RESULT = _i_out._T_Value;
110
+ }
111
+ export declare namespace s_Relative_Range {
112
+ namespace CONTEXT {
113
+ }
114
+ type CONTEXT = _i_in._T_Relative_Range;
115
+ namespace PARAMS {
116
+ namespace value_serializers {
117
+ }
118
+ type value_serializers = _T_Value_Serializers;
119
+ }
120
+ namespace RESULT {
121
+ }
122
+ type RESULT = _i_out._T_Value;
123
+ }
124
+ export declare namespace s_Text_Edits {
125
+ namespace CONTEXT {
126
+ }
127
+ type CONTEXT = _i_in._T_Text_Edits;
128
+ namespace PARAMS {
129
+ namespace value_serializers {
130
+ }
131
+ type value_serializers = _T_Value_Serializers;
132
+ }
133
+ namespace RESULT {
134
+ }
135
+ type RESULT = _i_out._T_Value;
136
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL2FzdC9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFyc2hhbGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL2lkZS9tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,68 @@
1
+ import * as _i_in from "./unconstrained";
2
+ import * as _i_out from "./unconstrained";
3
+ export type _T_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Key_Value_Pairs_To_Be_Sorted, $$_p: null) => _i_out._T_Key_Value_Pairs_To_Be_Sorted;
4
+ export type _T_Relative_Range = ($$_: _i_in._T_Relative_Range, $$_p: null) => _i_out._T_Relative_Range;
5
+ export type _T_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: null) => _i_out._T_Text_Edits;
6
+ export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
7
+ export type Relative_Range = _T_Relative_Range;
8
+ export type Text_Edits = _T_Text_Edits;
9
+ export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
10
+ namespace CONTEXT {
11
+ }
12
+ type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
13
+ namespace PARAMS {
14
+ }
15
+ namespace RESULT {
16
+ }
17
+ type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
18
+ }
19
+ export declare namespace _T_Relative_Range {
20
+ namespace CONTEXT {
21
+ }
22
+ type CONTEXT = _i_in._T_Relative_Range;
23
+ namespace PARAMS {
24
+ }
25
+ namespace RESULT {
26
+ }
27
+ type RESULT = _i_out._T_Relative_Range;
28
+ }
29
+ export declare namespace _T_Text_Edits {
30
+ namespace CONTEXT {
31
+ }
32
+ type CONTEXT = _i_in._T_Text_Edits;
33
+ namespace PARAMS {
34
+ }
35
+ namespace RESULT {
36
+ }
37
+ type RESULT = _i_out._T_Text_Edits;
38
+ }
39
+ export declare namespace Key_Value_Pairs_To_Be_Sorted {
40
+ namespace CONTEXT {
41
+ }
42
+ type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
43
+ namespace PARAMS {
44
+ }
45
+ namespace RESULT {
46
+ }
47
+ type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
48
+ }
49
+ export declare namespace Relative_Range {
50
+ namespace CONTEXT {
51
+ }
52
+ type CONTEXT = _i_in._T_Relative_Range;
53
+ namespace PARAMS {
54
+ }
55
+ namespace RESULT {
56
+ }
57
+ type RESULT = _i_out._T_Relative_Range;
58
+ }
59
+ export declare namespace Text_Edits {
60
+ namespace CONTEXT {
61
+ }
62
+ type CONTEXT = _i_in._T_Text_Edits;
63
+ namespace PARAMS {
64
+ }
65
+ namespace RESULT {
66
+ }
67
+ type RESULT = _i_out._T_Text_Edits;
68
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL21pZ3JhdGVfYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9