pareto 0.80.74 → 0.80.76

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 (79) hide show
  1. package/dist/modules/pareto_new/schemas/module/shorthands/target.d.ts +10 -0
  2. package/dist/modules/pareto_new/schemas/module/shorthands/target.js +11 -1
  3. package/dist/modules/pareto_new/schemas/refiner/schema.d.ts +406 -37
  4. package/dist/modules/pareto_new/schemas/refiner/schema.js +3 -4
  5. package/dist/modules/pareto_new/schemas/refiner/shorthands/target.d.ts +77 -5
  6. package/dist/modules/pareto_new/schemas/refiner/shorthands/target.js +205 -8
  7. package/dist/modules/pareto_new/schemas/refiner/transformers/typescript_light.d.ts +6 -0
  8. package/dist/modules/pareto_new/schemas/refiner/transformers/typescript_light.js +363 -18
  9. package/dist/modules/pareto_new/schemas/schema/schema.d.ts +123 -56
  10. package/dist/modules/pareto_new/schemas/schema/schema.js +3 -3
  11. package/dist/modules/pareto_new/schemas/schema/shorthands/target.d.ts +12 -11
  12. package/dist/modules/pareto_new/schemas/schema/shorthands/target.js +9 -6
  13. package/dist/modules/pareto_new/schemas/schema/transformers/typescript_light.js +6 -6
  14. package/dist/modules/pareto_new/schemas/schema_reference/schema.d.ts +48 -11
  15. package/dist/modules/pareto_new/schemas/schema_reference/schema.js +2 -1
  16. package/dist/modules/pareto_new/schemas/schema_reference/shorthands/target.d.ts +11 -2
  17. package/dist/modules/pareto_new/schemas/schema_reference/shorthands/target.js +29 -6
  18. package/dist/modules/pareto_new/schemas/schema_reference/transformers/typescript_light.d.ts +8 -0
  19. package/dist/modules/pareto_new/schemas/schema_reference/transformers/typescript_light.js +24 -4
  20. package/dist/modules/pareto_new/schemas/transformer/schema.d.ts +388 -33
  21. package/dist/modules/pareto_new/schemas/transformer/schema.js +3 -4
  22. package/dist/modules/pareto_new/schemas/transformer/shorthands/target.d.ts +75 -3
  23. package/dist/modules/pareto_new/schemas/transformer/shorthands/target.js +196 -47
  24. package/dist/modules/pareto_new/schemas/transformer/transformers/typescript_light.d.ts +7 -1
  25. package/dist/modules/pareto_new/schemas/transformer/transformers/typescript_light.js +313 -30
  26. package/dist/modules/typescript_light/schemas/typescript_light/schema.d.ts +293 -259
  27. package/dist/modules/typescript_light/schemas/typescript_light/schema.js +3 -3
  28. package/dist/modules/typescript_light/schemas/{primitives → typescript_light}/serializers.d.ts +7 -8
  29. package/dist/modules/typescript_light/schemas/typescript_light/serializers.js +487 -0
  30. package/dist/modules/typescript_light/schemas/typescript_light/shorthands/target.d.ts +16 -14
  31. package/dist/modules/typescript_light/schemas/typescript_light/shorthands/target.js +39 -37
  32. package/dist/modules/typescript_light/schemas/typescript_light/transformers/paragraph.d.ts +8 -1
  33. package/dist/modules/typescript_light/schemas/typescript_light/transformers/paragraph.js +206 -222
  34. package/package.json +1 -1
  35. package/dist/modules/file_name/schemas/file_name/schema.d.ts +0 -1
  36. package/dist/modules/file_name/schemas/file_name/schema.js +0 -2
  37. package/dist/modules/file_name/schemas/file_name/serializers.d.ts +0 -6
  38. package/dist/modules/file_name/schemas/file_name/serializers.js +0 -23
  39. package/dist/modules/implementation_old/schemas/resolved/schema.d.ts +0 -748
  40. package/dist/modules/implementation_old/schemas/resolved/schema.js +0 -4
  41. package/dist/modules/implementation_old/schemas/resolved/shorthands/target.d.ts +0 -134
  42. package/dist/modules/implementation_old/schemas/resolved/shorthands/target.js +0 -460
  43. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_project.d.ts +0 -5
  44. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_project.js +0 -9
  45. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_source_file.d.ts +0 -9
  46. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_source_file.js +0 -647
  47. package/dist/modules/implementation_old/schemas/unresolved/schema.d.ts +0 -1288
  48. package/dist/modules/implementation_old/schemas/unresolved/schema.js +0 -4
  49. package/dist/modules/interface_old/schemas/resolved/schema.d.ts +0 -160
  50. package/dist/modules/interface_old/schemas/resolved/schema.js +0 -3
  51. package/dist/modules/interface_old/schemas/resolved/shorthands/target.d.ts +0 -47
  52. package/dist/modules/interface_old/schemas/resolved/shorthands/target.js +0 -185
  53. package/dist/modules/interface_old/schemas/resolved/transformers/to_be_written_directory_content.d.ts +0 -5
  54. package/dist/modules/interface_old/schemas/resolved/transformers/to_be_written_directory_content.js +0 -9
  55. package/dist/modules/interface_old/schemas/resolved/transformers/typescript.d.ts +0 -10
  56. package/dist/modules/interface_old/schemas/resolved/transformers/typescript.js +0 -270
  57. package/dist/modules/interface_old/schemas/unresolved/schema.d.ts +0 -371
  58. package/dist/modules/interface_old/schemas/unresolved/schema.js +0 -4
  59. package/dist/modules/pareto_new/schemas/type_reference/schema.d.ts +0 -18
  60. package/dist/modules/pareto_new/schemas/type_reference/schema.js +0 -2
  61. package/dist/modules/pareto_new/schemas/type_reference/shorthands/target.d.ts +0 -3
  62. package/dist/modules/pareto_new/schemas/type_reference/shorthands/target.js +0 -8
  63. package/dist/modules/pareto_new/schemas/value_reference/schema.d.ts +0 -18
  64. package/dist/modules/pareto_new/schemas/value_reference/schema.js +0 -3
  65. package/dist/modules/pareto_new/schemas/value_reference/shorthands/target.d.ts +0 -10
  66. package/dist/modules/pareto_new/schemas/value_reference/shorthands/target.js +0 -18
  67. package/dist/modules/pareto_old/schemas/library/schema.d.ts +0 -1
  68. package/dist/modules/pareto_old/schemas/library/schema.js +0 -2
  69. package/dist/modules/pareto_old/schemas/library/transformers/typescript_light.d.ts +0 -12
  70. package/dist/modules/pareto_old/schemas/library/transformers/typescript_light.js +0 -13
  71. package/dist/modules/typescript_light/schemas/identifier/schema.d.ts +0 -1
  72. package/dist/modules/typescript_light/schemas/identifier/schema.js +0 -2
  73. package/dist/modules/typescript_light/schemas/identifier/serializers.d.ts +0 -2
  74. package/dist/modules/typescript_light/schemas/identifier/serializers.js +0 -230
  75. package/dist/modules/typescript_light/schemas/primitives/schema.d.ts +0 -2
  76. package/dist/modules/typescript_light/schemas/primitives/schema.js +0 -2
  77. package/dist/modules/typescript_light/schemas/primitives/serializers.js +0 -255
  78. package/dist/temp/single_entry_dictionary.d.ts +0 -2
  79. package/dist/temp/single_entry_dictionary.js +0 -8
@@ -1,257 +1,38 @@
1
1
  import * as p_ from 'pareto-core/schema';
2
- import * as p_di from 'pareto-core/schema';
3
- export type Directory = {
4
- 'content': ['files', p_.Dictionary<Source_File>] | ['directories', p_.Dictionary<Directory>] | ['mixed', p_.Dictionary<Node>];
5
- };
6
- export type Node = ['file', Source_File] | ['directory', Directory];
7
- export type Source_File = {
8
- 'statements': Statements_;
9
- };
10
- export type Block_ = Statements_;
11
- export declare namespace Statements_ {
12
- namespace L {
13
- type block = Block_;
14
- namespace export_ {
15
- namespace type_ {
16
- namespace named_exports {
17
- namespace specifiers {
18
- namespace L {
19
- type name = Identifier_;
20
- namespace as_ {
21
- type O = Identifier_;
22
- }
23
- type as_ = p_di.Optional_Value<as_.O>;
24
- }
25
- type L = {
26
- readonly 'type only': boolean;
27
- readonly 'name': L.name;
28
- readonly 'as': L.as_;
29
- };
30
- }
31
- type specifiers = p_di.List<specifiers.L>;
32
- namespace from_ {
33
- type O = String_Literal_;
34
- }
35
- type from_ = p_di.Optional_Value<from_.O>;
36
- }
37
- type named_exports = {
38
- readonly 'specifiers': named_exports.specifiers;
39
- readonly 'from': named_exports.from_;
40
- };
41
- }
42
- type type_ = readonly ['named exports', type_.named_exports];
43
- }
44
- type export_ = {
45
- readonly 'type': export_.type_;
46
- };
47
- type expression = Expression_;
48
- namespace import_ {
49
- namespace type_ {
50
- type default_ = Identifier_;
51
- type namespace = Identifier_;
52
- namespace named {
53
- namespace specifiers {
54
- namespace L {
55
- type name = Identifier_;
56
- namespace as_ {
57
- type O = Identifier_;
58
- }
59
- type as_ = p_di.Optional_Value<as_.O>;
60
- }
61
- type L = {
62
- readonly 'name': L.name;
63
- readonly 'as': L.as_;
64
- };
65
- }
66
- type specifiers = p_di.List<specifiers.L>;
67
- }
68
- type named = {
69
- readonly 'specifiers': named.specifiers;
70
- };
71
- }
72
- type type_ = readonly ['default', type_.default_] | readonly ['namespace', type_.namespace] | readonly ['named', type_.named];
73
- type from_ = String_Literal_;
74
- }
75
- type import_ = {
76
- readonly 'type': import_.type_;
77
- readonly 'from': import_.from_;
78
- };
79
- namespace module_declaration {
80
- type export_ = boolean;
81
- type name = Identifier_;
82
- type block = Block_;
83
- }
84
- type module_declaration = {
85
- readonly 'export': module_declaration.export_;
86
- readonly 'name': module_declaration.name;
87
- readonly 'block': module_declaration.block;
88
- };
89
- namespace return_ {
90
- type O = Expression_;
91
- }
92
- type return_ = p_di.Optional_Value<return_.O>;
93
- namespace switch_ {
94
- type expression = Expression_;
95
- namespace clauses {
96
- namespace L {
97
- namespace type_ {
98
- type case_ = Expression_;
99
- type default_ = null;
100
- }
101
- type type_ = readonly ['case', type_.case_] | readonly ['default', type_.default_];
102
- type statements = Statements_;
103
- }
104
- type L = {
105
- readonly 'type': L.type_;
106
- readonly 'statements': L.statements;
107
- };
108
- }
109
- type clauses = p_di.List<clauses.L>;
110
- }
111
- type switch_ = {
112
- readonly 'expression': switch_.expression;
113
- readonly 'clauses': switch_.clauses;
114
- };
115
- namespace type_alias_declaration {
116
- type export_ = boolean;
117
- type name = Identifier_;
118
- namespace parameters {
119
- type L = Identifier_;
120
- }
121
- type parameters = p_di.List<parameters.L>;
122
- type type_ = Type_;
123
- }
124
- type type_alias_declaration = {
125
- readonly 'export': type_alias_declaration.export_;
126
- readonly 'name': type_alias_declaration.name;
127
- readonly 'parameters': type_alias_declaration.parameters;
128
- readonly 'type': type_alias_declaration.type_;
129
- };
130
- namespace variable {
131
- type export_ = boolean;
132
- type const_ = boolean;
133
- type name = Identifier_;
134
- namespace type_ {
135
- type O = Type_;
136
- }
137
- type type_ = p_di.Optional_Value<type_.O>;
138
- namespace expression {
139
- type O = Expression_;
140
- }
141
- type expression = p_di.Optional_Value<expression.O>;
142
- }
143
- type variable = {
144
- readonly 'export': variable.export_;
145
- readonly 'const': variable.const_;
146
- readonly 'name': variable.name;
147
- readonly 'type': variable.type_;
148
- readonly 'expression': variable.expression;
149
- };
150
- }
151
- type L = readonly ['empty line', null] | readonly ['block', L.block] | readonly ['export', L.export_] | readonly ['expression', L.expression] | readonly ['import', L.import_] | readonly ['line comment', string] | readonly ['module declaration', L.module_declaration] | readonly ['return', L.return_] | readonly ['switch', L.switch_] | readonly ['type alias declaration', L.type_alias_declaration] | readonly ['variable', L.variable];
2
+ type Block_ = Statements_;
3
+ declare namespace Source_File_ {
4
+ type statements = Statements_;
152
5
  }
153
- export type Statements_ = p_di.List<Statements_.L>;
154
- export declare namespace Type_ {
155
- type boolean_ = null;
156
- namespace function_ {
157
- namespace type_parameters {
158
- type L = Type_;
159
- }
160
- type type_parameters = p_di.List<type_parameters.L>;
161
- type parameters = Function_Parameters_;
162
- type return_ = Type_;
163
- }
164
- type function_ = {
165
- readonly 'type parameters': function_.type_parameters;
166
- readonly 'parameters': function_.parameters;
167
- readonly 'return': function_.return_;
168
- };
169
- type literal_type = String_Literal_;
170
- type never_ = null;
171
- type null_ = null;
172
- type number_ = null;
173
- type string_ = null;
174
- namespace tuple {
175
- type readonly = boolean;
176
- namespace elements {
177
- type L = Type_;
178
- }
179
- type elements = p_di.List<elements.L>;
180
- }
181
- type tuple = {
182
- readonly 'readonly': tuple.readonly;
183
- readonly 'elements': tuple.elements;
184
- };
185
- namespace type_literal {
186
- namespace properties {
187
- namespace L {
188
- namespace key {
189
- type identifier = Identifier_;
190
- type string_literal = String_Literal_;
191
- }
192
- type key = readonly ['identifier', key.identifier] | readonly ['string literal', key.string_literal];
193
- type readonly = boolean;
194
- type type_ = Type_;
195
- }
196
- type L = {
197
- readonly 'key': L.key;
198
- readonly 'readonly': L.readonly;
199
- readonly 'type': L.type_;
200
- };
201
- }
202
- type properties = p_di.List<properties.L>;
203
- }
204
- type type_literal = {
205
- readonly 'properties': type_literal.properties;
206
- };
207
- namespace type_reference {
208
- type start = Identifier_;
209
- namespace tail {
210
- type L = Identifier_;
6
+ type Source_File_ = {
7
+ readonly 'statements': Source_File_.statements;
8
+ };
9
+ declare namespace Directory_ {
10
+ namespace content {
11
+ namespace directories {
12
+ type D = Directory_;
211
13
  }
212
- type tail = p_di.List<tail.L>;
213
- namespace type_arguments {
214
- type L = Type_;
14
+ type directories = p_.Dictionary<directories.D>;
15
+ namespace files {
16
+ type D = Source_File_;
215
17
  }
216
- type type_arguments = p_di.List<type_arguments.L>;
217
- }
218
- type type_reference = {
219
- readonly 'start': type_reference.start;
220
- readonly 'tail': type_reference.tail;
221
- readonly 'type arguments': type_reference.type_arguments;
222
- };
223
- namespace union {
224
- type L = Type_;
225
- }
226
- type union = p_di.List<union.L>;
227
- type void_ = null;
228
- }
229
- export type Type_ = readonly ['boolean', Type_.boolean_] | readonly ['function', Type_.function_] | readonly ['literal type', Type_.literal_type] | readonly ['never', Type_.never_] | readonly ['null', Type_.null_] | readonly ['number', Type_.number_] | readonly ['string', Type_.string_] | readonly ['tuple', Type_.tuple] | readonly ['type literal', Type_.type_literal] | readonly ['type reference', Type_.type_reference] | readonly ['union', Type_.union] | readonly ['void', Type_.void_];
230
- export declare namespace Function_Parameters_ {
231
- namespace L {
232
- type name = Identifier_;
233
- namespace type_ {
234
- type O = Type_;
18
+ type files = p_.Dictionary<files.D>;
19
+ namespace mixed {
20
+ type D = Node_;
235
21
  }
236
- type type_ = p_di.Optional_Value<type_.O>;
22
+ type mixed = p_.Dictionary<mixed.D>;
237
23
  }
238
- type L = {
239
- readonly 'name': L.name;
240
- readonly 'type': L.type_;
241
- };
24
+ type content = readonly ['directories', content.directories] | readonly ['files', content.files] | readonly ['mixed', content.mixed];
242
25
  }
243
- export type Function_Parameters_ = p_di.List<Function_Parameters_.L>;
244
- export declare namespace Expression_ {
26
+ type Directory_ = {
27
+ readonly 'content': Directory_.content;
28
+ };
29
+ declare namespace Expression_ {
245
30
  namespace array_literal {
246
31
  type L = Expression_;
247
32
  }
248
- type array_literal = p_di.List<array_literal.L>;
33
+ type array_literal = p_.List<array_literal.L>;
249
34
  namespace arrow_function {
250
- type parameters = Function_Parameters_;
251
- namespace return_type {
252
- type O = Type_;
253
- }
254
- type return_type = p_di.Optional_Value<return_type.O>;
35
+ type declaration = Function_Declaration_;
255
36
  namespace body {
256
37
  type block = Block_;
257
38
  type expression = Expression_;
@@ -259,8 +40,7 @@ export declare namespace Expression_ {
259
40
  type body = readonly ['block', body.block] | readonly ['expression', body.expression];
260
41
  }
261
42
  type arrow_function = {
262
- readonly 'parameters': arrow_function.parameters;
263
- readonly 'return type': arrow_function.return_type;
43
+ readonly 'declaration': arrow_function.declaration;
264
44
  readonly 'body': arrow_function.body;
265
45
  };
266
46
  namespace assignment {
@@ -273,28 +53,28 @@ export declare namespace Expression_ {
273
53
  };
274
54
  namespace call {
275
55
  type function_selection = Expression_;
56
+ type arguments_on_own_line = boolean;
276
57
  namespace arguments_ {
277
58
  type L = Expression_;
278
59
  }
279
- type arguments_ = p_di.List<arguments_.L>;
60
+ type arguments_ = p_.List<arguments_.L>;
280
61
  }
281
62
  type call = {
282
63
  readonly 'function selection': call.function_selection;
64
+ readonly 'arguments on own line': call.arguments_on_own_line;
283
65
  readonly 'arguments': call.arguments_;
284
66
  };
285
67
  namespace compare {
286
68
  type left = Expression_;
287
69
  namespace operator {
288
- type loosely_equal = null;
289
70
  type strictly_equal = null;
290
- type loosely_not_equal = null;
291
71
  type strictly_not_equal = null;
292
72
  type smaller_than = null;
293
73
  type smaller_than_or_equal = null;
294
74
  type greater_than = null;
295
75
  type greater_than_or_equal = null;
296
76
  }
297
- type operator = readonly ['loosely equal', operator.loosely_equal] | readonly ['strictly equal', operator.strictly_equal] | readonly ['loosely not equal', operator.loosely_not_equal] | readonly ['strictly not equal', operator.strictly_not_equal] | readonly ['smaller than', operator.smaller_than] | readonly ['smaller than or equal', operator.smaller_than_or_equal] | readonly ['greater than', operator.greater_than] | readonly ['greater than or equal', operator.greater_than_or_equal];
77
+ type operator = readonly ['strictly equal', operator.strictly_equal] | readonly ['strictly not equal', operator.strictly_not_equal] | readonly ['smaller than', operator.smaller_than] | readonly ['smaller than or equal', operator.smaller_than_or_equal] | readonly ['greater than', operator.greater_than] | readonly ['greater than or equal', operator.greater_than_or_equal];
298
78
  type right = Expression_;
299
79
  }
300
80
  type compare = {
@@ -339,7 +119,7 @@ export declare namespace Expression_ {
339
119
  readonly 'value': L.value;
340
120
  };
341
121
  }
342
- type properties = p_di.List<properties.L>;
122
+ type properties = p_.List<properties.L>;
343
123
  }
344
124
  type object_literal = {
345
125
  readonly 'properties': object_literal.properties;
@@ -368,8 +148,198 @@ export declare namespace Expression_ {
368
148
  readonly 'operand': unary_operation.operand;
369
149
  };
370
150
  }
371
- export type Expression_ = readonly ['array literal', Expression_.array_literal] | readonly ['arrow function', Expression_.arrow_function] | readonly ['assignment', Expression_.assignment] | readonly ['call', Expression_.call] | readonly ['compare', Expression_.compare] | readonly ['conditional', Expression_.conditional] | readonly ['element access', Expression_.element_access] | readonly ['identifier', Expression_.identifier] | readonly ['false', Expression_.false_] | readonly ['null', Expression_.null_] | readonly ['number literal', Expression_.number_literal] | readonly ['object literal', Expression_.object_literal] | readonly ['parenthesized', Expression_.parenthesized] | readonly ['property access', Expression_.property_access] | readonly ['string literal', Expression_.string_literal] | readonly ['true', Expression_.true_] | readonly ['unary operation', Expression_.unary_operation];
372
- export declare namespace String_Literal_ {
151
+ type Expression_ = readonly ['array literal', Expression_.array_literal] | readonly ['arrow function', Expression_.arrow_function] | readonly ['assignment', Expression_.assignment] | readonly ['call', Expression_.call] | readonly ['compare', Expression_.compare] | readonly ['conditional', Expression_.conditional] | readonly ['element access', Expression_.element_access] | readonly ['identifier', Expression_.identifier] | readonly ['false', Expression_.false_] | readonly ['null', Expression_.null_] | readonly ['number literal', Expression_.number_literal] | readonly ['object literal', Expression_.object_literal] | readonly ['parenthesized', Expression_.parenthesized] | readonly ['property access', Expression_.property_access] | readonly ['string literal', Expression_.string_literal] | readonly ['true', Expression_.true_] | readonly ['unary operation', Expression_.unary_operation];
152
+ declare namespace Function_Declaration_ {
153
+ namespace type_parameters {
154
+ type L = Type_;
155
+ }
156
+ type type_parameters = p_.List<type_parameters.L>;
157
+ namespace parameters {
158
+ namespace L {
159
+ type name = Identifier_;
160
+ namespace type_ {
161
+ type O = Type_;
162
+ }
163
+ type type_ = p_.Optional_Value<type_.O>;
164
+ }
165
+ type L = {
166
+ readonly 'name': L.name;
167
+ readonly 'type': L.type_;
168
+ };
169
+ }
170
+ type parameters = p_.List<parameters.L>;
171
+ namespace return_type {
172
+ type O = Type_;
173
+ }
174
+ type return_type = p_.Optional_Value<return_type.O>;
175
+ }
176
+ type Function_Declaration_ = {
177
+ readonly 'type parameters': Function_Declaration_.type_parameters;
178
+ readonly 'parameters': Function_Declaration_.parameters;
179
+ readonly 'return type': Function_Declaration_.return_type;
180
+ };
181
+ declare namespace Identifier_ {
182
+ type raw = string;
183
+ type escaped = string;
184
+ }
185
+ type Identifier_ = readonly ['raw', Identifier_.raw] | readonly ['escaped', Identifier_.escaped];
186
+ declare namespace Node_ {
187
+ type directory = Directory_;
188
+ type file = Source_File_;
189
+ }
190
+ type Node_ = readonly ['directory', Node_.directory] | readonly ['file', Node_.file];
191
+ declare namespace Statement_ {
192
+ type block = Block_;
193
+ type empty_line = null;
194
+ namespace export_ {
195
+ namespace type_ {
196
+ namespace named_exports {
197
+ namespace specifiers {
198
+ namespace L {
199
+ type type_only = boolean;
200
+ type name = Identifier_;
201
+ namespace as_ {
202
+ type O = Identifier_;
203
+ }
204
+ type as_ = p_.Optional_Value<as_.O>;
205
+ }
206
+ type L = {
207
+ readonly 'type only': L.type_only;
208
+ readonly 'name': L.name;
209
+ readonly 'as': L.as_;
210
+ };
211
+ }
212
+ type specifiers = p_.List<specifiers.L>;
213
+ namespace from_ {
214
+ type O = String_Literal_;
215
+ }
216
+ type from_ = p_.Optional_Value<from_.O>;
217
+ }
218
+ type named_exports = {
219
+ readonly 'specifiers': named_exports.specifiers;
220
+ readonly 'from': named_exports.from_;
221
+ };
222
+ }
223
+ type type_ = readonly ['named exports', type_.named_exports];
224
+ }
225
+ type export_ = {
226
+ readonly 'type': export_.type_;
227
+ };
228
+ type expression = Expression_;
229
+ namespace import_ {
230
+ namespace type_ {
231
+ type default_ = Identifier_;
232
+ type namespace = Identifier_;
233
+ namespace named {
234
+ namespace specifiers {
235
+ namespace L {
236
+ type name = Identifier_;
237
+ namespace as_ {
238
+ type O = Identifier_;
239
+ }
240
+ type as_ = p_.Optional_Value<as_.O>;
241
+ }
242
+ type L = {
243
+ readonly 'name': L.name;
244
+ readonly 'as': L.as_;
245
+ };
246
+ }
247
+ type specifiers = p_.List<specifiers.L>;
248
+ }
249
+ type named = {
250
+ readonly 'specifiers': named.specifiers;
251
+ };
252
+ }
253
+ type type_ = readonly ['default', type_.default_] | readonly ['namespace', type_.namespace] | readonly ['named', type_.named];
254
+ type from_ = String_Literal_;
255
+ }
256
+ type import_ = {
257
+ readonly 'type': import_.type_;
258
+ readonly 'from': import_.from_;
259
+ };
260
+ type line_comment = string;
261
+ namespace namespace {
262
+ type export_ = boolean;
263
+ type name = Identifier_;
264
+ type block = Block_;
265
+ }
266
+ type namespace = {
267
+ readonly 'export': namespace.export_;
268
+ readonly 'name': namespace.name;
269
+ readonly 'block': namespace.block;
270
+ };
271
+ namespace return_ {
272
+ type O = Expression_;
273
+ }
274
+ type return_ = p_.Optional_Value<return_.O>;
275
+ namespace switch_ {
276
+ type expression = Expression_;
277
+ namespace clauses {
278
+ namespace L {
279
+ namespace type_ {
280
+ type case_ = Expression_;
281
+ type default_ = null;
282
+ }
283
+ type type_ = readonly ['case', type_.case_] | readonly ['default', type_.default_];
284
+ namespace body {
285
+ type statement = Statement_;
286
+ type statements = Statements_;
287
+ }
288
+ type body = readonly ['statement', body.statement] | readonly ['statements', body.statements];
289
+ }
290
+ type L = {
291
+ readonly 'type': L.type_;
292
+ readonly 'body': L.body;
293
+ };
294
+ }
295
+ type clauses = p_.List<clauses.L>;
296
+ }
297
+ type switch_ = {
298
+ readonly 'expression': switch_.expression;
299
+ readonly 'clauses': switch_.clauses;
300
+ };
301
+ namespace type_alias_declaration {
302
+ type export_ = boolean;
303
+ type name = Identifier_;
304
+ namespace parameters {
305
+ type L = Identifier_;
306
+ }
307
+ type parameters = p_.List<parameters.L>;
308
+ type type_ = Type_;
309
+ }
310
+ type type_alias_declaration = {
311
+ readonly 'export': type_alias_declaration.export_;
312
+ readonly 'name': type_alias_declaration.name;
313
+ readonly 'parameters': type_alias_declaration.parameters;
314
+ readonly 'type': type_alias_declaration.type_;
315
+ };
316
+ namespace variable {
317
+ type export_ = boolean;
318
+ type const_ = boolean;
319
+ type name = Identifier_;
320
+ namespace type_ {
321
+ type O = Type_;
322
+ }
323
+ type type_ = p_.Optional_Value<type_.O>;
324
+ namespace expression {
325
+ type O = Expression_;
326
+ }
327
+ type expression = p_.Optional_Value<expression.O>;
328
+ }
329
+ type variable = {
330
+ readonly 'export': variable.export_;
331
+ readonly 'const': variable.const_;
332
+ readonly 'name': variable.name;
333
+ readonly 'type': variable.type_;
334
+ readonly 'expression': variable.expression;
335
+ };
336
+ }
337
+ type Statement_ = readonly ['block', Statement_.block] | readonly ['empty line', Statement_.empty_line] | readonly ['export', Statement_.export_] | readonly ['expression', Statement_.expression] | readonly ['import', Statement_.import_] | readonly ['line comment', Statement_.line_comment] | readonly ['namespace', Statement_.namespace] | readonly ['return', Statement_.return_] | readonly ['switch', Statement_.switch_] | readonly ['type alias declaration', Statement_.type_alias_declaration] | readonly ['variable', Statement_.variable];
338
+ declare namespace Statements_ {
339
+ type L = Statement_;
340
+ }
341
+ type Statements_ = p_.List<Statements_.L>;
342
+ declare namespace String_Literal_ {
373
343
  namespace delimiter {
374
344
  type quote = null;
375
345
  type apostrophe = null;
@@ -377,14 +347,78 @@ export declare namespace String_Literal_ {
377
347
  type delimiter = readonly ['quote', delimiter.quote] | readonly ['apostrophe', delimiter.apostrophe];
378
348
  type value = string;
379
349
  }
380
- export type String_Literal_ = {
350
+ type String_Literal_ = {
381
351
  readonly 'delimiter': String_Literal_.delimiter;
382
352
  readonly 'value': String_Literal_.value;
383
353
  };
384
- export declare namespace Identifier_ {
385
- type value = string;
354
+ declare namespace Type_ {
355
+ type boolean_ = null;
356
+ namespace function_ {
357
+ type declaration = Function_Declaration_;
358
+ }
359
+ type function_ = {
360
+ readonly 'declaration': function_.declaration;
361
+ };
362
+ type literal_type = String_Literal_;
363
+ type never_ = null;
364
+ type null_ = null;
365
+ type number_ = null;
366
+ type string_ = null;
367
+ namespace tuple {
368
+ type readonly = boolean;
369
+ namespace elements {
370
+ type L = Type_;
371
+ }
372
+ type elements = p_.List<elements.L>;
373
+ }
374
+ type tuple = {
375
+ readonly 'readonly': tuple.readonly;
376
+ readonly 'elements': tuple.elements;
377
+ };
378
+ namespace type_literal {
379
+ namespace properties {
380
+ namespace L {
381
+ namespace key {
382
+ type identifier = Identifier_;
383
+ type string_literal = String_Literal_;
384
+ }
385
+ type key = readonly ['identifier', key.identifier] | readonly ['string literal', key.string_literal];
386
+ type readonly = boolean;
387
+ type type_ = Type_;
388
+ }
389
+ type L = {
390
+ readonly 'key': L.key;
391
+ readonly 'readonly': L.readonly;
392
+ readonly 'type': L.type_;
393
+ };
394
+ }
395
+ type properties = p_.List<properties.L>;
396
+ }
397
+ type type_literal = {
398
+ readonly 'properties': type_literal.properties;
399
+ };
400
+ namespace type_reference {
401
+ type start = Identifier_;
402
+ namespace tail {
403
+ type L = Identifier_;
404
+ }
405
+ type tail = p_.List<tail.L>;
406
+ namespace type_arguments {
407
+ type L = Type_;
408
+ }
409
+ type type_arguments = p_.List<type_arguments.L>;
410
+ }
411
+ type type_reference = {
412
+ readonly 'start': type_reference.start;
413
+ readonly 'tail': type_reference.tail;
414
+ readonly 'type arguments': type_reference.type_arguments;
415
+ };
416
+ type undefined_ = null;
417
+ namespace union {
418
+ type L = Type_;
419
+ }
420
+ type union = p_.List<union.L>;
421
+ type void_ = null;
386
422
  }
387
- export type Identifier_ = {
388
- readonly 'value': Identifier_.value;
389
- };
390
- export type { Block_ as Block, Statements_ as Statements, Type_ as Type, Function_Parameters_ as Function_Parameters, Expression_ as Expression, String_Literal_ as String_Literal, Identifier_ as Identifier, };
423
+ type Type_ = readonly ['boolean', Type_.boolean_] | readonly ['function', Type_.function_] | readonly ['literal type', Type_.literal_type] | readonly ['never', Type_.never_] | readonly ['null', Type_.null_] | readonly ['number', Type_.number_] | readonly ['string', Type_.string_] | readonly ['tuple', Type_.tuple] | readonly ['type literal', Type_.type_literal] | readonly ['type reference', Type_.type_reference] | readonly ['undefined', Type_.undefined_] | readonly ['union', Type_.union] | readonly ['void', Type_.void_];
424
+ export { type Block_ as Block, type Source_File_ as Source_File, type Directory_ as Directory, type Expression_ as Expression, type Function_Declaration_ as Function_Declaration, type Identifier_ as Identifier, type Node_ as Node, type Statement_ as Statement, type Statements_ as Statements, type String_Literal_ as String_Literal, type Type_ as Type, };
@@ -1,4 +1,4 @@
1
1
  import * as p_ from 'pareto-core/schema';
2
- import * as p_i from 'pareto-core/__internal/Abort';
3
- import * as p_di from 'pareto-core/schema';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvdHlwZXNjcmlwdF9saWdodC9zY2hlbWFzL3R5cGVzY3JpcHRfbGlnaHQvc2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sb0JBQW9CLENBQUE7QUFFeEMsT0FBTyxLQUFLLEdBQUcsTUFBTSw4QkFBOEIsQ0FBQTtBQUNuRCxPQUFPLEtBQUssSUFBSSxNQUFNLG9CQUFvQixDQUFBIn0=
2
+ // exported root types
3
+ export {};
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvdHlwZXNjcmlwdF9saWdodC9zY2hlbWFzL3R5cGVzY3JpcHRfbGlnaHQvc2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sb0JBQW9CLENBQUE7QUFneUJ4QyxzQkFBc0I7QUFDdEIsT0FBTyxFQVlOLENBQUEifQ==
@@ -1,13 +1,12 @@
1
1
  import * as p_ from 'pareto-core/serializer';
2
- import type * as s_in from "../typescript_light/schema.js";
3
- import type * as s_in2 from "./schema.js";
2
+ import type * as s_in from "./schema.js";
4
3
  declare namespace declarations {
5
- type Escaped_Text = p_.Serializer<s_in2.Text>;
6
- type Apostrophed_Text = p_.Serializer<s_in2.Text>;
7
- type Backticked_Text = p_.Serializer<s_in2.Text>;
8
- type Quoted_Text = p_.Serializer<s_in2.Text>;
9
- type Decimal = p_.Serializer<s_in2.Number>;
10
- type Float = p_.Serializer<s_in2.Number>;
4
+ type Escaped_Text = p_.Serializer<string>;
5
+ type Apostrophed_Text = p_.Serializer<string>;
6
+ type Backticked_Text = p_.Serializer<string>;
7
+ type Quoted_Text = p_.Serializer<string>;
8
+ type Decimal = p_.Serializer<number>;
9
+ type Float = p_.Serializer<number>;
11
10
  type Identifier = p_.Serializer<s_in.Identifier>;
12
11
  }
13
12
  export declare const Escaped_Text: declarations.Escaped_Text;