astn 0.113.29 → 0.113.31

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 (85) hide show
  1. package/dist/implementation/manual/schemas/authoring_parse_result/serializers.d.ts +1 -1
  2. package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.d.ts +2 -2
  3. package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.js +20 -8
  4. package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.d.ts +2 -2
  5. package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.js +2 -7
  6. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +15 -15
  7. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +39 -39
  8. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.d.ts +2 -2
  9. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.js +24 -24
  10. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.d.ts +1 -1
  11. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.js +21 -21
  12. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.d.ts +1 -1
  13. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.js +21 -21
  14. package/dist/implementation/manual/schemas/authoring_target/transformers/fountain_pen_block.js +139 -106
  15. package/dist/implementation/manual/schemas/sealed_target/serializers.d.ts +4 -0
  16. package/dist/implementation/manual/schemas/sealed_target/serializers.js +35 -0
  17. package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.d.ts +3 -3
  18. package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +31 -26
  19. package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +3 -3
  20. package/dist/implementation/manual/schemas/token/productions/annotated_character.js +7 -7
  21. package/dist/implementation/manual/text_to_text/convert_to_json.js +2 -2
  22. package/dist/interface/generated/pareto/schemas/astn_schema/data/resolved.d.ts +150 -0
  23. package/dist/interface/generated/pareto/schemas/astn_schema/data/resolved.js +3 -0
  24. package/dist/interface/generated/pareto/schemas/astn_schema/data/unresolved.d.ts +270 -0
  25. package/dist/interface/generated/pareto/schemas/astn_schema/data/unresolved.js +3 -0
  26. package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +2 -2
  27. package/dist/interface/generated/pareto/schemas/astn_schema/resolve.d.ts +192 -0
  28. package/dist/interface/generated/pareto/schemas/astn_schema/resolve.js +3 -0
  29. package/dist/interface/generated/pareto/schemas/authoring_target/data.d.ts +102 -0
  30. package/dist/interface/generated/pareto/schemas/authoring_target/data.js +3 -0
  31. package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +2 -2
  32. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.d.ts +71 -0
  33. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.js +3 -0
  34. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/resolve.d.ts +1 -0
  35. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/resolve.js +3 -0
  36. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/source.d.ts +63 -0
  37. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/source.js +3 -0
  38. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/target.d.ts +63 -0
  39. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/target.js +3 -0
  40. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/deserialize.d.ts +9 -0
  41. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/deserialize.js +3 -0
  42. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.d.ts +31 -0
  43. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.js +3 -0
  44. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/serialize.d.ts +9 -0
  45. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/serialize.js +3 -0
  46. package/dist/interface/generated/pareto/schemas/ide/data.d.ts +43 -0
  47. package/dist/interface/generated/pareto/schemas/ide/data.js +3 -0
  48. package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +2 -2
  49. package/dist/interface/generated/pareto/schemas/parse_tree/data.d.ts +182 -0
  50. package/dist/interface/generated/pareto/schemas/parse_tree/data.js +3 -0
  51. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/resolve.d.ts +1 -0
  52. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/resolve.js +3 -0
  53. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/source.d.ts +183 -0
  54. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/source.js +3 -0
  55. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/target.d.ts +183 -0
  56. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/target.js +3 -0
  57. package/dist/interface/generated/pareto/schemas/parse_tree/deserialize.d.ts +58 -0
  58. package/dist/interface/generated/pareto/schemas/parse_tree/deserialize.js +3 -0
  59. package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.d.ts +52 -0
  60. package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.js +3 -0
  61. package/dist/interface/generated/pareto/schemas/parse_tree/serialize.d.ts +58 -0
  62. package/dist/interface/generated/pareto/schemas/parse_tree/serialize.js +3 -0
  63. package/dist/interface/generated/pareto/schemas/sealed_target/data.d.ts +48 -0
  64. package/dist/interface/generated/pareto/schemas/sealed_target/data.js +3 -0
  65. package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +2 -2
  66. package/dist/interface/generated/pareto/schemas/token/data.d.ts +119 -0
  67. package/dist/interface/generated/pareto/schemas/token/data.js +3 -0
  68. package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +11 -11
  69. package/dist/interface/signatures/transformers/authoring_parse_tree/ide.d.ts +3 -3
  70. package/dist/interface/signatures/transformers/authoring_parse_tree/json_target.d.ts +2 -2
  71. package/dist/interface/signatures/transformers/authoring_parse_tree/token.d.ts +2 -2
  72. package/dist/interface/signatures/transformers/authoring_target/fountain_pen_block.d.ts +2 -2
  73. package/dist/interface/signatures/transformers/parse_tree/ide.d.ts +17 -0
  74. package/dist/interface/signatures/transformers/parse_tree/ide.js +3 -0
  75. package/dist/interface/signatures/transformers/parse_tree/json_target.d.ts +7 -0
  76. package/dist/interface/signatures/transformers/parse_tree/json_target.js +3 -0
  77. package/dist/interface/signatures/transformers/parse_tree/token.d.ts +4 -0
  78. package/dist/interface/signatures/transformers/parse_tree/token.js +3 -0
  79. package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +3 -3
  80. package/dist/modules/pareto-json/implementation/manual/schemas/json/serializers.d.ts +1 -1
  81. package/dist/modules/pareto-json/implementation/manual/schemas/json/transformers/fountain_pen_block.d.ts +2 -2
  82. package/dist/modules/pareto-json/shorthands/json.d.ts +1 -1
  83. package/dist/shorthands/parse_result.d.ts +3 -4
  84. package/dist/shorthands/parse_result.js +9 -15
  85. package/package.json +1 -1
@@ -0,0 +1,270 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i__location from "../../../core/location";
3
+ export declare namespace Schemas_ {
4
+ type location = i__location.Location;
5
+ namespace dictionary {
6
+ namespace D {
7
+ type location = i__location.Location;
8
+ type entry = Schema_Tree_;
9
+ }
10
+ type D = {
11
+ readonly 'location': D.location;
12
+ readonly 'entry': D.entry;
13
+ };
14
+ }
15
+ type dictionary = _pi.Dictionary<dictionary.D>;
16
+ }
17
+ export type Schemas_ = {
18
+ readonly 'location': Schemas_.location;
19
+ readonly 'dictionary': Schemas_.dictionary;
20
+ };
21
+ export declare namespace Text_Type_ {
22
+ namespace _type {
23
+ type location = i__location.Location;
24
+ namespace state_group {
25
+ type multi_line = null;
26
+ type single_line = null;
27
+ }
28
+ type state_group = readonly ['multi line', state_group.multi_line] | readonly ['single line', state_group.single_line];
29
+ }
30
+ type _type = {
31
+ readonly 'location': _type.location;
32
+ readonly 'state group': _type.state_group;
33
+ };
34
+ }
35
+ export type Text_Type_ = {
36
+ readonly 'type': Text_Type_._type;
37
+ };
38
+ export declare namespace Globals_ {
39
+ namespace text_types {
40
+ type location = i__location.Location;
41
+ namespace dictionary {
42
+ namespace D {
43
+ type location = i__location.Location;
44
+ type entry = Text_Type_;
45
+ }
46
+ type D = {
47
+ readonly 'location': D.location;
48
+ readonly 'entry': D.entry;
49
+ };
50
+ }
51
+ type dictionary = _pi.Dictionary<dictionary.D>;
52
+ }
53
+ type text_types = {
54
+ readonly 'location': text_types.location;
55
+ readonly 'dictionary': text_types.dictionary;
56
+ };
57
+ }
58
+ export type Globals_ = {
59
+ readonly 'text types': Globals_.text_types;
60
+ };
61
+ export declare namespace Type_ {
62
+ type node = Type_Node_;
63
+ }
64
+ export type Type_ = {
65
+ readonly 'node': Type_.node;
66
+ };
67
+ export declare namespace Types_ {
68
+ type location = i__location.Location;
69
+ namespace dictionary {
70
+ namespace D {
71
+ type location = i__location.Location;
72
+ type entry = Type_;
73
+ }
74
+ type D = {
75
+ readonly 'location': D.location;
76
+ readonly 'entry': D.entry;
77
+ };
78
+ }
79
+ type dictionary = _pi.Dictionary<dictionary.D>;
80
+ }
81
+ export type Types_ = {
82
+ readonly 'location': Types_.location;
83
+ readonly 'dictionary': Types_.dictionary;
84
+ };
85
+ export declare namespace Schema_ {
86
+ type imports = Imports_;
87
+ type globals = Globals_;
88
+ type types = Types_;
89
+ }
90
+ export type Schema_ = {
91
+ readonly 'imports': Schema_.imports;
92
+ readonly 'globals': Schema_.globals;
93
+ readonly 'types': Schema_.types;
94
+ };
95
+ export declare namespace Schema_Tree_ {
96
+ type location = i__location.Location;
97
+ namespace state_group {
98
+ type _set = Schemas_;
99
+ type schema = Schema_;
100
+ }
101
+ type state_group = readonly ['set', state_group._set] | readonly ['schema', state_group.schema];
102
+ }
103
+ export type Schema_Tree_ = {
104
+ readonly 'location': Schema_Tree_.location;
105
+ readonly 'state group': Schema_Tree_.state_group;
106
+ };
107
+ export declare namespace Imports_ {
108
+ type location = i__location.Location;
109
+ namespace dictionary {
110
+ namespace D {
111
+ type location = i__location.Location;
112
+ namespace entry {
113
+ namespace schema_set_child {
114
+ type location = i__location.Location;
115
+ type key = string;
116
+ }
117
+ type schema_set_child = {
118
+ readonly 'location': schema_set_child.location;
119
+ readonly 'key': schema_set_child.key;
120
+ };
121
+ type schema = null;
122
+ }
123
+ type entry = {
124
+ readonly 'schema set child': entry.schema_set_child;
125
+ readonly 'schema': entry.schema;
126
+ };
127
+ }
128
+ type D = {
129
+ readonly 'location': D.location;
130
+ readonly 'entry': D.entry;
131
+ };
132
+ }
133
+ type dictionary = _pi.Dictionary<dictionary.D>;
134
+ }
135
+ export type Imports_ = {
136
+ readonly 'location': Imports_.location;
137
+ readonly 'dictionary': Imports_.dictionary;
138
+ };
139
+ export declare namespace Dictionary_ {
140
+ type node = Type_Node_;
141
+ type ordered = boolean;
142
+ }
143
+ export type Dictionary_ = {
144
+ readonly 'node': Dictionary_.node;
145
+ readonly 'ordered': Dictionary_.ordered;
146
+ };
147
+ export declare namespace Group_ {
148
+ type location = i__location.Location;
149
+ namespace dictionary {
150
+ namespace D {
151
+ type location = i__location.Location;
152
+ type entry = Type_Node_;
153
+ }
154
+ type D = {
155
+ readonly 'location': D.location;
156
+ readonly 'entry': D.entry;
157
+ };
158
+ }
159
+ type dictionary = _pi.Dictionary<dictionary.D>;
160
+ }
161
+ export type Group_ = {
162
+ readonly 'location': Group_.location;
163
+ readonly 'dictionary': Group_.dictionary;
164
+ };
165
+ export declare namespace Type_Node_ {
166
+ type location = i__location.Location;
167
+ namespace state_group {
168
+ namespace component {
169
+ type location = i__location.Location;
170
+ namespace state_group {
171
+ namespace external {
172
+ namespace _import {
173
+ type location = i__location.Location;
174
+ type key = string;
175
+ }
176
+ type _import = {
177
+ readonly 'location': _import.location;
178
+ readonly 'key': _import.key;
179
+ };
180
+ namespace _type {
181
+ type location = i__location.Location;
182
+ type key = string;
183
+ }
184
+ type _type = {
185
+ readonly 'location': _type.location;
186
+ readonly 'key': _type.key;
187
+ };
188
+ }
189
+ type external = {
190
+ readonly 'import': external._import;
191
+ readonly 'type': external._type;
192
+ };
193
+ namespace internal {
194
+ type location = i__location.Location;
195
+ type key = string;
196
+ }
197
+ type internal = {
198
+ readonly 'location': internal.location;
199
+ readonly 'key': internal.key;
200
+ };
201
+ namespace internal_cyclic {
202
+ type location = i__location.Location;
203
+ type key = string;
204
+ }
205
+ type internal_cyclic = {
206
+ readonly 'location': internal_cyclic.location;
207
+ readonly 'key': internal_cyclic.key;
208
+ };
209
+ }
210
+ type state_group = readonly ['external', state_group.external] | readonly ['internal', state_group.internal] | readonly ['internal cyclic', state_group.internal_cyclic];
211
+ }
212
+ type component = {
213
+ readonly 'location': component.location;
214
+ readonly 'state group': component.state_group;
215
+ };
216
+ type dictionary = Dictionary_;
217
+ type group = Group_;
218
+ namespace list {
219
+ type node = Type_Node_;
220
+ }
221
+ type list = {
222
+ readonly 'node': list.node;
223
+ };
224
+ type nothing = null;
225
+ type optional = Type_Node_;
226
+ namespace state_group {
227
+ type location = i__location.Location;
228
+ namespace dictionary {
229
+ namespace D {
230
+ type location = i__location.Location;
231
+ type entry = Type_Node_;
232
+ }
233
+ type D = {
234
+ readonly 'location': D.location;
235
+ readonly 'entry': D.entry;
236
+ };
237
+ }
238
+ type dictionary = _pi.Dictionary<dictionary.D>;
239
+ }
240
+ type state_group = {
241
+ readonly 'location': state_group.location;
242
+ readonly 'dictionary': state_group.dictionary;
243
+ };
244
+ namespace text {
245
+ type location = i__location.Location;
246
+ namespace state_group {
247
+ namespace global {
248
+ type location = i__location.Location;
249
+ type key = string;
250
+ }
251
+ type global = {
252
+ readonly 'location': global.location;
253
+ readonly 'key': global.key;
254
+ };
255
+ type local = Text_Type_;
256
+ }
257
+ type state_group = readonly ['global', state_group.global] | readonly ['local', state_group.local];
258
+ }
259
+ type text = {
260
+ readonly 'location': text.location;
261
+ readonly 'state group': text.state_group;
262
+ };
263
+ }
264
+ type state_group = readonly ['component', state_group.component] | readonly ['dictionary', state_group.dictionary] | readonly ['group', state_group.group] | readonly ['list', state_group.list] | readonly ['nothing', state_group.nothing] | readonly ['optional', state_group.optional] | readonly ['state group', state_group.state_group] | readonly ['text', state_group.text];
265
+ }
266
+ export type Type_Node_ = {
267
+ readonly 'location': Type_Node_.location;
268
+ readonly 'state group': Type_Node_.state_group;
269
+ };
270
+ export { Schemas_ as Schemas, Text_Type_ as Text_Type, Globals_ as Globals, Type_ as Type, Types_ as Types, Schema_ as Schema, Schema_Tree_ as Schema_Tree, Imports_ as Imports, Dictionary_ as Dictionary, Group_ as Group, Type_Node_ as Type_Node, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2FzdG5fc2NoZW1hL2RhdGEvdW5yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,5 +1,5 @@
1
- import * as i_out from "./data_types/target";
2
- import * as i_in from "./data_types/source";
1
+ import * as i_out from "./data/unresolved";
2
+ import * as i_in from "./data/resolved";
3
3
  export declare namespace Schemas_ {
4
4
  type I = i_in.Schemas;
5
5
  type O = i_out.Schemas;
@@ -0,0 +1,192 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i_resolved from "./data/resolved";
3
+ import * as i_unresolved from "./data/unresolved";
4
+ export declare namespace Text_Type_ {
5
+ type I = i_unresolved.Text_Type;
6
+ type O = i_resolved.Text_Type;
7
+ namespace P {
8
+ }
9
+ }
10
+ export type Text_Type_ = ($$_: Text_Type_.I, $$_lookups: null, $$_p: null) => Text_Type_.O;
11
+ export declare namespace Globals_ {
12
+ type I = i_unresolved.Globals;
13
+ type O = i_resolved.Globals;
14
+ namespace P {
15
+ }
16
+ }
17
+ export type Globals_ = ($$_: Globals_.I, $$_lookups: null, $$_p: null) => Globals_.O;
18
+ export declare namespace Group_ {
19
+ type I = i_unresolved.Group;
20
+ type O = i_resolved.Group;
21
+ namespace L {
22
+ type noncircular_sibling_types = i_resolved.Types_.D;
23
+ }
24
+ namespace L {
25
+ type possibly_circular_dependent_sibling_types = i_resolved.Types_.D;
26
+ }
27
+ namespace P {
28
+ namespace globals {
29
+ type O = i_resolved.Globals_;
30
+ }
31
+ type globals = _pi.Optional_Value<globals.O>;
32
+ namespace imports {
33
+ type O = i_resolved.Imports_;
34
+ }
35
+ type imports = _pi.Optional_Value<imports.O>;
36
+ }
37
+ }
38
+ export type Group_ = ($$_: Group_.I, $$_lookups: {
39
+ readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Group_.L.noncircular_sibling_types>;
40
+ readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Group_.L.possibly_circular_dependent_sibling_types>;
41
+ }, $$_p: {
42
+ readonly 'globals': Group_.P.globals;
43
+ readonly 'imports': Group_.P.imports;
44
+ }) => Group_.O;
45
+ export declare namespace Dictionary_ {
46
+ type I = i_unresolved.Dictionary;
47
+ type O = i_resolved.Dictionary;
48
+ namespace L {
49
+ type noncircular_sibling_types = i_resolved.Types_.D;
50
+ }
51
+ namespace L {
52
+ type possibly_circular_dependent_sibling_types = i_resolved.Types_.D;
53
+ }
54
+ namespace P {
55
+ namespace globals {
56
+ type O = i_resolved.Globals_;
57
+ }
58
+ type globals = _pi.Optional_Value<globals.O>;
59
+ namespace imports {
60
+ type O = i_resolved.Imports_;
61
+ }
62
+ type imports = _pi.Optional_Value<imports.O>;
63
+ }
64
+ }
65
+ export type Dictionary_ = ($$_: Dictionary_.I, $$_lookups: {
66
+ readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Dictionary_.L.noncircular_sibling_types>;
67
+ readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Dictionary_.L.possibly_circular_dependent_sibling_types>;
68
+ }, $$_p: {
69
+ readonly 'globals': Dictionary_.P.globals;
70
+ readonly 'imports': Dictionary_.P.imports;
71
+ }) => Dictionary_.O;
72
+ export declare namespace Type_Node_ {
73
+ type I = i_unresolved.Type_Node;
74
+ type O = i_resolved.Type_Node;
75
+ namespace L {
76
+ type noncircular_sibling_types = i_resolved.Types_.D;
77
+ }
78
+ namespace L {
79
+ type possibly_circular_dependent_sibling_types = i_resolved.Types_.D;
80
+ }
81
+ namespace P {
82
+ namespace globals {
83
+ type O = i_resolved.Globals_;
84
+ }
85
+ type globals = _pi.Optional_Value<globals.O>;
86
+ namespace imports {
87
+ type O = i_resolved.Imports_;
88
+ }
89
+ type imports = _pi.Optional_Value<imports.O>;
90
+ }
91
+ }
92
+ export type Type_Node_ = ($$_: Type_Node_.I, $$_lookups: {
93
+ readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Type_Node_.L.noncircular_sibling_types>;
94
+ readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Type_Node_.L.possibly_circular_dependent_sibling_types>;
95
+ }, $$_p: {
96
+ readonly 'globals': Type_Node_.P.globals;
97
+ readonly 'imports': Type_Node_.P.imports;
98
+ }) => Type_Node_.O;
99
+ export declare namespace Type_ {
100
+ type I = i_unresolved.Type;
101
+ type O = i_resolved.Type;
102
+ namespace L {
103
+ type noncircular_sibling_types = i_resolved.Types_.D;
104
+ }
105
+ namespace L {
106
+ type possibly_circular_dependent_sibling_types = i_resolved.Types_.D;
107
+ }
108
+ namespace P {
109
+ namespace globals {
110
+ type O = i_resolved.Globals_;
111
+ }
112
+ type globals = _pi.Optional_Value<globals.O>;
113
+ namespace imports {
114
+ type O = i_resolved.Imports_;
115
+ }
116
+ type imports = _pi.Optional_Value<imports.O>;
117
+ }
118
+ }
119
+ export type Type_ = ($$_: Type_.I, $$_lookups: {
120
+ readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Type_.L.noncircular_sibling_types>;
121
+ readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Type_.L.possibly_circular_dependent_sibling_types>;
122
+ }, $$_p: {
123
+ readonly 'globals': Type_.P.globals;
124
+ readonly 'imports': Type_.P.imports;
125
+ }) => Type_.O;
126
+ export declare namespace Schemas_ {
127
+ type I = i_unresolved.Schemas;
128
+ type O = i_resolved.Schemas;
129
+ namespace L {
130
+ type sibling_schemas = i_resolved.Schemas_.D;
131
+ }
132
+ namespace P {
133
+ }
134
+ }
135
+ export type Schemas_ = ($$_: Schemas_.I, $$_lookups: {
136
+ readonly 'sibling schemas': _pi.Stack_Lookup<Schemas_.L.sibling_schemas>;
137
+ }, $$_p: null) => Schemas_.O;
138
+ export declare namespace Schema_Tree_ {
139
+ type I = i_unresolved.Schema_Tree;
140
+ type O = i_resolved.Schema_Tree;
141
+ namespace L {
142
+ type sibling_schemas = i_resolved.Schemas_.D;
143
+ }
144
+ namespace P {
145
+ }
146
+ }
147
+ export type Schema_Tree_ = ($$_: Schema_Tree_.I, $$_lookups: {
148
+ readonly 'sibling schemas': _pi.Stack_Lookup<Schema_Tree_.L.sibling_schemas>;
149
+ }, $$_p: null) => Schema_Tree_.O;
150
+ export declare namespace Schema_ {
151
+ type I = i_unresolved.Schema;
152
+ type O = i_resolved.Schema;
153
+ namespace L {
154
+ type sibling_schemas = i_resolved.Schemas_.D;
155
+ }
156
+ namespace P {
157
+ }
158
+ }
159
+ export type Schema_ = ($$_: Schema_.I, $$_lookups: {
160
+ readonly 'sibling schemas': _pi.Stack_Lookup<Schema_.L.sibling_schemas>;
161
+ }, $$_p: null) => Schema_.O;
162
+ export declare namespace Imports_ {
163
+ type I = i_unresolved.Imports;
164
+ type O = i_resolved.Imports;
165
+ namespace L {
166
+ type sibling_schemas = i_resolved.Schemas_.D;
167
+ }
168
+ namespace P {
169
+ }
170
+ }
171
+ export type Imports_ = ($$_: Imports_.I, $$_lookups: {
172
+ readonly 'sibling schemas': _pi.Stack_Lookup<Imports_.L.sibling_schemas>;
173
+ }, $$_p: null) => Imports_.O;
174
+ export declare namespace Types_ {
175
+ type I = i_unresolved.Types;
176
+ type O = i_resolved.Types;
177
+ namespace P {
178
+ namespace globals {
179
+ type O = i_resolved.Globals_;
180
+ }
181
+ type globals = _pi.Optional_Value<globals.O>;
182
+ namespace imports {
183
+ type O = i_resolved.Imports_;
184
+ }
185
+ type imports = _pi.Optional_Value<imports.O>;
186
+ }
187
+ }
188
+ export type Types_ = ($$_: Types_.I, $$_lookups: null, $$_p: {
189
+ readonly 'globals': Types_.P.globals;
190
+ readonly 'imports': Types_.P.imports;
191
+ }) => Types_.O;
192
+ export { Text_Type_ as Text_Type, Globals_ as Globals, Group_ as Group, Dictionary_ as Dictionary, Type_Node_ as Type_Node, Type_ as Type, Schemas_ as Schemas, Schema_Tree_ as Schema_Tree, Schema_ as Schema, Imports_ as Imports, Types_ as Types, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2FzdG5fc2NoZW1hL3Jlc29sdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -0,0 +1,102 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ export declare namespace Value_ {
3
+ namespace metadata {
4
+ namespace comments {
5
+ type L = string;
6
+ }
7
+ type comments = _pi.List<comments.L>;
8
+ }
9
+ type metadata = {
10
+ readonly 'comments': metadata.comments;
11
+ };
12
+ namespace data {
13
+ type missing = null;
14
+ namespace include {
15
+ type path = string;
16
+ }
17
+ type include = {
18
+ readonly 'path': include.path;
19
+ };
20
+ namespace concrete {
21
+ namespace _type {
22
+ namespace dictionary {
23
+ namespace D {
24
+ type O = Value_;
25
+ }
26
+ type D = _pi.Optional_Value<D.O>;
27
+ }
28
+ type dictionary = _pi.Dictionary<dictionary.D>;
29
+ namespace group {
30
+ namespace concise {
31
+ type L = Value_;
32
+ }
33
+ type concise = _pi.List<concise.L>;
34
+ namespace verbose {
35
+ namespace D {
36
+ type O = Value_;
37
+ }
38
+ type D = _pi.Optional_Value<D.O>;
39
+ }
40
+ type verbose = _pi.Dictionary<verbose.D>;
41
+ }
42
+ type group = readonly ['concise', group.concise] | readonly ['verbose', group.verbose];
43
+ namespace list {
44
+ type L = Value_;
45
+ }
46
+ type list = _pi.List<list.L>;
47
+ type nothing = null;
48
+ namespace optional {
49
+ type not_set = null;
50
+ type _set = Value_;
51
+ }
52
+ type optional = readonly ['not set', optional.not_set] | readonly ['set', optional._set];
53
+ namespace state_group {
54
+ type missing_data = null;
55
+ namespace _set {
56
+ type state = string;
57
+ type value = Value_;
58
+ }
59
+ type _set = {
60
+ readonly 'state': _set.state;
61
+ readonly 'value': _set.value;
62
+ };
63
+ }
64
+ type state_group = readonly ['missing data', state_group.missing_data] | readonly ['set', state_group._set];
65
+ namespace text {
66
+ type value = string;
67
+ namespace delimiter {
68
+ type none = null;
69
+ type quote = null;
70
+ type backtick = null;
71
+ }
72
+ type delimiter = readonly ['none', delimiter.none] | readonly ['quote', delimiter.quote] | readonly ['backtick', delimiter.backtick];
73
+ }
74
+ type text = {
75
+ readonly 'value': text.value;
76
+ readonly 'delimiter': text.delimiter;
77
+ };
78
+ }
79
+ type _type = readonly ['dictionary', _type.dictionary] | readonly ['group', _type.group] | readonly ['list', _type.list] | readonly ['nothing', _type.nothing] | readonly ['optional', _type.optional] | readonly ['state group', _type.state_group] | readonly ['text', _type.text];
80
+ }
81
+ type concrete = {
82
+ readonly 'type': concrete._type;
83
+ };
84
+ }
85
+ type data = readonly ['missing', data.missing] | readonly ['include', data.include] | readonly ['concrete', data.concrete];
86
+ }
87
+ export type Value_ = {
88
+ readonly 'metadata': Value_.metadata;
89
+ readonly 'data': Value_.data;
90
+ };
91
+ export declare namespace Document_ {
92
+ namespace header {
93
+ type O = Value_;
94
+ }
95
+ type header = _pi.Optional_Value<header.O>;
96
+ type content = Value_;
97
+ }
98
+ export type Document_ = {
99
+ readonly 'header': Document_.header;
100
+ readonly 'content': Document_.content;
101
+ };
102
+ export { Value_ as Value, Document_ as Document, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2F1dGhvcmluZ190YXJnZXQvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,5 +1,5 @@
1
- import * as i_out from "./data_types/target";
2
- import * as i_in from "./data_types/source";
1
+ import * as i_out from "./data";
2
+ import * as i_in from "./data";
3
3
  export declare namespace Value_ {
4
4
  type I = i_in.Value;
5
5
  type O = i_out.Value;
@@ -0,0 +1,71 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i__imports_token from "../token/data";
3
+ export declare namespace Lexer_Error_ {
4
+ namespace _type {
5
+ type unexpected_control_character = number;
6
+ type missing_character_after_escape = null;
7
+ type unexpected_end_of_line_in_delimited_text = null;
8
+ type unexpected_character = number;
9
+ type unterminated_text = null;
10
+ type unterminated_block_comment = null;
11
+ type unterminated_unicode_escape_sequence = null;
12
+ type invalid_unicode_escape_sequence = null;
13
+ type unknown_escape_character = null;
14
+ type unexpected_end_of_input = null;
15
+ type dangling_slash = null;
16
+ }
17
+ type _type = readonly ['unexpected control character', _type.unexpected_control_character] | readonly ['missing character after escape', _type.missing_character_after_escape] | readonly ['unexpected end of line in delimited text', _type.unexpected_end_of_line_in_delimited_text] | readonly ['unexpected character', _type.unexpected_character] | readonly ['unterminated text', _type.unterminated_text] | readonly ['unterminated block comment', _type.unterminated_block_comment] | readonly ['unterminated unicode escape sequence', _type.unterminated_unicode_escape_sequence] | readonly ['invalid unicode escape sequence', _type.invalid_unicode_escape_sequence] | readonly ['unknown escape character', _type.unknown_escape_character] | readonly ['unexpected end of input', _type.unexpected_end_of_input] | readonly ['dangling slash', _type.dangling_slash];
18
+ namespace range {
19
+ type O = i__imports_token.Range;
20
+ }
21
+ type range = _pi.Optional_Value<range.O>;
22
+ }
23
+ export type Lexer_Error_ = {
24
+ readonly 'type': Lexer_Error_._type;
25
+ readonly 'range': Lexer_Error_.range;
26
+ };
27
+ export declare namespace Expected_ {
28
+ type a_text_value = null;
29
+ type any_value = null;
30
+ type $ex_ = null;
31
+ type $gt_ = null;
32
+ type $cc_ = null;
33
+ type $at_ = null;
34
+ type $cm_ = null;
35
+ type $cl_ = null;
36
+ type $pc_ = null;
37
+ type $bc_ = null;
38
+ type $ha_ = null;
39
+ }
40
+ export type Expected_ = readonly ['a text value', Expected_.a_text_value] | readonly ['any value', Expected_.any_value] | readonly ['!', Expected_.$ex_] | readonly ['>', Expected_.$gt_] | readonly ['}', Expected_.$cc_] | readonly ['@', Expected_.$at_] | readonly [',', Expected_.$cm_] | readonly [':', Expected_.$cl_] | readonly [')', Expected_.$pc_] | readonly [']', Expected_.$bc_] | readonly ['#', Expected_.$ha_];
41
+ export declare namespace Parser_Error_ {
42
+ namespace expected {
43
+ type L = Expected_;
44
+ }
45
+ type expected = _pi.List<expected.L>;
46
+ namespace cause {
47
+ type missing_token = null;
48
+ namespace unexpected_token {
49
+ type found = i__imports_token.Annotated_Token;
50
+ }
51
+ type unexpected_token = {
52
+ readonly 'found': unexpected_token.found;
53
+ };
54
+ }
55
+ type cause = readonly ['missing token', cause.missing_token] | readonly ['unexpected token', cause.unexpected_token];
56
+ }
57
+ export type Parser_Error_ = {
58
+ readonly 'expected': Parser_Error_.expected;
59
+ readonly 'cause': Parser_Error_.cause;
60
+ };
61
+ export declare namespace Error_ {
62
+ namespace _type {
63
+ type lexer = Lexer_Error_;
64
+ type parser = Parser_Error_;
65
+ }
66
+ type _type = readonly ['lexer', _type.lexer] | readonly ['parser', _type.parser];
67
+ }
68
+ export type Error_ = {
69
+ readonly 'type': Error_._type;
70
+ };
71
+ export { Lexer_Error_ as Lexer_Error, Expected_ as Expected, Parser_Error_ as Parser_Error, Error_ as Error, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2Rlc2VyaWFsaXplX3BhcnNlX3RyZWUvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2Rlc2VyaWFsaXplX3BhcnNlX3RyZWUvZGF0YV90eXBlcy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==