astn 0.113.35 → 0.113.36

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 (29) hide show
  1. package/dist/bin/validate_astn.js +0 -0
  2. package/dist/interface/generated/{pareto/core → liana/generic}/location.js +1 -1
  3. package/dist/interface/generated/liana/generic/resolve.d.ts +26 -0
  4. package/dist/interface/generated/{pareto/schemas/astn_schema → liana/generic}/resolve.js +1 -1
  5. package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/data/resolved.d.ts +15 -15
  6. package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/data/resolved.js +1 -1
  7. package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/data/unresolved.d.ts +18 -18
  8. package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/data/unresolved.js +1 -1
  9. package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/migrate_boilerplate.js +1 -1
  10. package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/resolve.d.ts +31 -19
  11. package/dist/interface/generated/liana/schemas/astn_schema/resolve.js +3 -0
  12. package/dist/interface/generated/{pareto → liana}/schemas/authoring_target/data.d.ts +10 -10
  13. package/dist/interface/generated/{pareto → liana}/schemas/authoring_target/data.js +1 -1
  14. package/dist/interface/generated/{pareto → liana}/schemas/authoring_target/migrate_boilerplate.js +1 -1
  15. package/dist/interface/generated/{pareto → liana}/schemas/ide/data.d.ts +4 -4
  16. package/dist/interface/generated/{pareto → liana}/schemas/ide/data.js +1 -1
  17. package/dist/interface/generated/{pareto → liana}/schemas/ide/migrate_boilerplate.js +1 -1
  18. package/dist/interface/signatures/refiners/ide/parse_tree.d.ts +3 -3
  19. package/dist/interface/signatures/transformers/authoring_target/fountain_pen_block.d.ts +2 -2
  20. package/dist/interface/signatures/transformers/parse_tree/json_target.d.ts +3 -3
  21. package/dist/interface/signatures/transformers/parse_tree/token.d.ts +2 -2
  22. package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.js +2 -2
  23. package/dist/modules/common_tool_signatures/interface/signatures.d.ts +9 -9
  24. package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +3 -3
  25. package/package.json +4 -4
  26. /package/dist/interface/generated/{pareto/core → liana/generic}/location.d.ts +0 -0
  27. /package/dist/interface/generated/{pareto → liana}/schemas/astn_schema/migrate_boilerplate.d.ts +0 -0
  28. /package/dist/interface/generated/{pareto → liana}/schemas/authoring_target/migrate_boilerplate.d.ts +0 -0
  29. /package/dist/interface/generated/{pareto → liana}/schemas/ide/migrate_boilerplate.d.ts +0 -0
File without changes
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9wYXJldG8vY29yZS9sb2NhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9saWFuYS9nZW5lcmljL2xvY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,26 @@
1
+ import * as i_location from "./location";
2
+ export declare namespace Error_ {
3
+ namespace type_ {
4
+ type cyclic_lookup_in_acyclic_context = string;
5
+ type missing_required_entry = string;
6
+ type no_context_lookup = null;
7
+ type no_such_entry = string;
8
+ type not_the_same_node = string;
9
+ namespace wrong_state {
10
+ type expected = string;
11
+ type found = string;
12
+ }
13
+ type wrong_state = {
14
+ readonly 'expected': wrong_state.expected;
15
+ readonly 'found': wrong_state.found;
16
+ };
17
+ type tbd = string;
18
+ }
19
+ type type_ = readonly ['cyclic lookup in acyclic context', type_.cyclic_lookup_in_acyclic_context] | readonly ['missing required entry', type_.missing_required_entry] | readonly ['no context lookup', type_.no_context_lookup] | readonly ['no such entry', type_.no_such_entry] | readonly ['not the same node', type_.not_the_same_node] | readonly ['wrong state', type_.wrong_state] | readonly ['tbd', type_.tbd];
20
+ type location = i_location.Location;
21
+ }
22
+ export type Error_ = {
23
+ readonly 'type': Error_.type_;
24
+ readonly 'location': Error_.location;
25
+ };
26
+ export { Error_ as Error, };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2FzdG5fc2NoZW1hL3Jlc29sdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL2dlbmVyaWMvcmVzb2x2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -4,14 +4,14 @@ export declare namespace Schemas_ {
4
4
  }
5
5
  export type Schemas_ = _pi.Dictionary<Schemas_.D>;
6
6
  export declare namespace Text_Type_ {
7
- namespace _type {
7
+ namespace type_ {
8
8
  type multi_line = null;
9
9
  type single_line = null;
10
10
  }
11
- type _type = readonly ['multi line', _type.multi_line] | readonly ['single line', _type.single_line];
11
+ type type_ = readonly ['multi line', type_.multi_line] | readonly ['single line', type_.single_line];
12
12
  }
13
13
  export type Text_Type_ = {
14
- readonly 'type': Text_Type_._type;
14
+ readonly 'type': Text_Type_.type_;
15
15
  };
16
16
  export declare namespace Globals_ {
17
17
  namespace text_types {
@@ -43,10 +43,10 @@ export type Schema_ = {
43
43
  readonly 'types': Schema_.types;
44
44
  };
45
45
  export declare namespace Schema_Tree_ {
46
- type _set = Schemas_;
46
+ type set_ = Schemas_;
47
47
  type schema = Schema_;
48
48
  }
49
- export type Schema_Tree_ = readonly ['set', Schema_Tree_._set] | readonly ['schema', Schema_Tree_.schema];
49
+ export type Schema_Tree_ = readonly ['set', Schema_Tree_.set_] | readonly ['schema', Schema_Tree_.schema];
50
50
  export declare namespace Imports_ {
51
51
  namespace D {
52
52
  namespace schema_set_child {
@@ -80,26 +80,26 @@ export type Group_ = _pi.Dictionary<Group_.D>;
80
80
  export declare namespace Type_Node_ {
81
81
  namespace component {
82
82
  namespace external {
83
- namespace _import {
83
+ namespace import_ {
84
84
  type entry = Imports_.D;
85
85
  type key = string;
86
86
  }
87
- type _import = {
88
- readonly 'entry': _import.entry;
89
- readonly 'key': _import.key;
87
+ type import_ = {
88
+ readonly 'entry': import_.entry;
89
+ readonly 'key': import_.key;
90
90
  };
91
- namespace _type {
91
+ namespace type_ {
92
92
  type entry = Types_.D;
93
93
  type key = string;
94
94
  }
95
- type _type = {
96
- readonly 'entry': _type.entry;
97
- readonly 'key': _type.key;
95
+ type type_ = {
96
+ readonly 'entry': type_.entry;
97
+ readonly 'key': type_.key;
98
98
  };
99
99
  }
100
100
  type external = {
101
- readonly 'import': external._import;
102
- readonly 'type': external._type;
101
+ readonly 'import': external.import_;
102
+ readonly 'type': external.type_;
103
103
  };
104
104
  namespace internal {
105
105
  type entry = Types_.D;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9wYXJldG8vc2NoZW1hcy9hc3RuX3NjaGVtYS9kYXRhL3Jlc29sdmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9saWFuYS9zY2hlbWFzL2FzdG5fc2NoZW1hL2RhdGEvcmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,5 +1,5 @@
1
1
  import * as _pi from "pareto-core/dist/interface";
2
- import * as i__location from "../../../core/location";
2
+ import * as i__location from "../../../generic/location";
3
3
  export declare namespace Schemas_ {
4
4
  type location = i__location.Location;
5
5
  namespace dictionary {
@@ -19,7 +19,7 @@ export type Schemas_ = {
19
19
  readonly 'dictionary': Schemas_.dictionary;
20
20
  };
21
21
  export declare namespace Text_Type_ {
22
- namespace _type {
22
+ namespace type_ {
23
23
  type location = i__location.Location;
24
24
  namespace state_group {
25
25
  type multi_line = null;
@@ -27,13 +27,13 @@ export declare namespace Text_Type_ {
27
27
  }
28
28
  type state_group = readonly ['multi line', state_group.multi_line] | readonly ['single line', state_group.single_line];
29
29
  }
30
- type _type = {
31
- readonly 'location': _type.location;
32
- readonly 'state group': _type.state_group;
30
+ type type_ = {
31
+ readonly 'location': type_.location;
32
+ readonly 'state group': type_.state_group;
33
33
  };
34
34
  }
35
35
  export type Text_Type_ = {
36
- readonly 'type': Text_Type_._type;
36
+ readonly 'type': Text_Type_.type_;
37
37
  };
38
38
  export declare namespace Globals_ {
39
39
  namespace text_types {
@@ -95,10 +95,10 @@ export type Schema_ = {
95
95
  export declare namespace Schema_Tree_ {
96
96
  type location = i__location.Location;
97
97
  namespace state_group {
98
- type _set = Schemas_;
98
+ type set_ = Schemas_;
99
99
  type schema = Schema_;
100
100
  }
101
- type state_group = readonly ['set', state_group._set] | readonly ['schema', state_group.schema];
101
+ type state_group = readonly ['set', state_group.set_] | readonly ['schema', state_group.schema];
102
102
  }
103
103
  export type Schema_Tree_ = {
104
104
  readonly 'location': Schema_Tree_.location;
@@ -169,26 +169,26 @@ export declare namespace Type_Node_ {
169
169
  type location = i__location.Location;
170
170
  namespace state_group {
171
171
  namespace external {
172
- namespace _import {
172
+ namespace import_ {
173
173
  type location = i__location.Location;
174
174
  type key = string;
175
175
  }
176
- type _import = {
177
- readonly 'location': _import.location;
178
- readonly 'key': _import.key;
176
+ type import_ = {
177
+ readonly 'location': import_.location;
178
+ readonly 'key': import_.key;
179
179
  };
180
- namespace _type {
180
+ namespace type_ {
181
181
  type location = i__location.Location;
182
182
  type key = string;
183
183
  }
184
- type _type = {
185
- readonly 'location': _type.location;
186
- readonly 'key': _type.key;
184
+ type type_ = {
185
+ readonly 'location': type_.location;
186
+ readonly 'key': type_.key;
187
187
  };
188
188
  }
189
189
  type external = {
190
- readonly 'import': external._import;
191
- readonly 'type': external._type;
190
+ readonly 'import': external.import_;
191
+ readonly 'type': external.type_;
192
192
  };
193
193
  namespace internal {
194
194
  type location = i__location.Location;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2FzdG5fc2NoZW1hL2RhdGEvdW5yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvYXN0bl9zY2hlbWEvZGF0YS91bnJlc29sdmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2FzdG5fc2NoZW1hL21pZ3JhdGVfYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvYXN0bl9zY2hlbWEvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,23 +1,27 @@
1
1
  import * as _pi from "pareto-core/dist/interface";
2
+ import * as i_generic from "../../generic/resolve";
2
3
  import * as i_resolved from "./data/resolved";
3
4
  import * as i_unresolved from "./data/unresolved";
4
5
  export declare namespace Text_Type_ {
5
6
  type I = i_unresolved.Text_Type;
6
7
  type O = i_resolved.Text_Type;
8
+ type E = i_generic.Error;
7
9
  namespace P {
8
10
  }
9
11
  }
10
- export type Text_Type_ = ($$_: Text_Type_.I, $$_lookups: null, $$_p: null) => Text_Type_.O;
12
+ export type Text_Type_ = ($$_: Text_Type_.I, abort: _pi.Abort<Text_Type_.E>, lookups: null, p: null) => Text_Type_.O;
11
13
  export declare namespace Globals_ {
12
14
  type I = i_unresolved.Globals;
13
15
  type O = i_resolved.Globals;
16
+ type E = i_generic.Error;
14
17
  namespace P {
15
18
  }
16
19
  }
17
- export type Globals_ = ($$_: Globals_.I, $$_lookups: null, $$_p: null) => Globals_.O;
20
+ export type Globals_ = ($$_: Globals_.I, abort: _pi.Abort<Globals_.E>, lookups: null, p: null) => Globals_.O;
18
21
  export declare namespace Group_ {
19
22
  type I = i_unresolved.Group;
20
23
  type O = i_resolved.Group;
24
+ type E = i_generic.Error;
21
25
  namespace L {
22
26
  type noncircular_sibling_types = i_resolved.Types_.D;
23
27
  }
@@ -35,16 +39,17 @@ export declare namespace Group_ {
35
39
  type imports = _pi.Optional_Value<imports.O>;
36
40
  }
37
41
  }
38
- export type Group_ = ($$_: Group_.I, $$_lookups: {
42
+ export type Group_ = ($$_: Group_.I, abort: _pi.Abort<Group_.E>, lookups: {
39
43
  readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Group_.L.noncircular_sibling_types>;
40
44
  readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Group_.L.possibly_circular_dependent_sibling_types>;
41
- }, $$_p: {
45
+ }, p: {
42
46
  readonly 'globals': Group_.P.globals;
43
47
  readonly 'imports': Group_.P.imports;
44
48
  }) => Group_.O;
45
49
  export declare namespace Dictionary_ {
46
50
  type I = i_unresolved.Dictionary;
47
51
  type O = i_resolved.Dictionary;
52
+ type E = i_generic.Error;
48
53
  namespace L {
49
54
  type noncircular_sibling_types = i_resolved.Types_.D;
50
55
  }
@@ -62,16 +67,17 @@ export declare namespace Dictionary_ {
62
67
  type imports = _pi.Optional_Value<imports.O>;
63
68
  }
64
69
  }
65
- export type Dictionary_ = ($$_: Dictionary_.I, $$_lookups: {
70
+ export type Dictionary_ = ($$_: Dictionary_.I, abort: _pi.Abort<Dictionary_.E>, lookups: {
66
71
  readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Dictionary_.L.noncircular_sibling_types>;
67
72
  readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Dictionary_.L.possibly_circular_dependent_sibling_types>;
68
- }, $$_p: {
73
+ }, p: {
69
74
  readonly 'globals': Dictionary_.P.globals;
70
75
  readonly 'imports': Dictionary_.P.imports;
71
76
  }) => Dictionary_.O;
72
77
  export declare namespace Type_Node_ {
73
78
  type I = i_unresolved.Type_Node;
74
79
  type O = i_resolved.Type_Node;
80
+ type E = i_generic.Error;
75
81
  namespace L {
76
82
  type noncircular_sibling_types = i_resolved.Types_.D;
77
83
  }
@@ -89,16 +95,17 @@ export declare namespace Type_Node_ {
89
95
  type imports = _pi.Optional_Value<imports.O>;
90
96
  }
91
97
  }
92
- export type Type_Node_ = ($$_: Type_Node_.I, $$_lookups: {
98
+ export type Type_Node_ = ($$_: Type_Node_.I, abort: _pi.Abort<Type_Node_.E>, lookups: {
93
99
  readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Type_Node_.L.noncircular_sibling_types>;
94
100
  readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Type_Node_.L.possibly_circular_dependent_sibling_types>;
95
- }, $$_p: {
101
+ }, p: {
96
102
  readonly 'globals': Type_Node_.P.globals;
97
103
  readonly 'imports': Type_Node_.P.imports;
98
104
  }) => Type_Node_.O;
99
105
  export declare namespace Type_ {
100
106
  type I = i_unresolved.Type;
101
107
  type O = i_resolved.Type;
108
+ type E = i_generic.Error;
102
109
  namespace L {
103
110
  type noncircular_sibling_types = i_resolved.Types_.D;
104
111
  }
@@ -116,64 +123,69 @@ export declare namespace Type_ {
116
123
  type imports = _pi.Optional_Value<imports.O>;
117
124
  }
118
125
  }
119
- export type Type_ = ($$_: Type_.I, $$_lookups: {
126
+ export type Type_ = ($$_: Type_.I, abort: _pi.Abort<Type_.E>, lookups: {
120
127
  readonly 'noncircular sibling types': _pi.Acyclic_Lookup<Type_.L.noncircular_sibling_types>;
121
128
  readonly 'possibly circular dependent sibling types': _pi.Cyclic_Lookup<Type_.L.possibly_circular_dependent_sibling_types>;
122
- }, $$_p: {
129
+ }, p: {
123
130
  readonly 'globals': Type_.P.globals;
124
131
  readonly 'imports': Type_.P.imports;
125
132
  }) => Type_.O;
126
133
  export declare namespace Schemas_ {
127
134
  type I = i_unresolved.Schemas;
128
135
  type O = i_resolved.Schemas;
136
+ type E = i_generic.Error;
129
137
  namespace L {
130
138
  type sibling_schemas = i_resolved.Schemas_.D;
131
139
  }
132
140
  namespace P {
133
141
  }
134
142
  }
135
- export type Schemas_ = ($$_: Schemas_.I, $$_lookups: {
143
+ export type Schemas_ = ($$_: Schemas_.I, abort: _pi.Abort<Schemas_.E>, lookups: {
136
144
  readonly 'sibling schemas': _pi.Stack_Lookup<Schemas_.L.sibling_schemas>;
137
- }, $$_p: null) => Schemas_.O;
145
+ }, p: null) => Schemas_.O;
138
146
  export declare namespace Schema_Tree_ {
139
147
  type I = i_unresolved.Schema_Tree;
140
148
  type O = i_resolved.Schema_Tree;
149
+ type E = i_generic.Error;
141
150
  namespace L {
142
151
  type sibling_schemas = i_resolved.Schemas_.D;
143
152
  }
144
153
  namespace P {
145
154
  }
146
155
  }
147
- export type Schema_Tree_ = ($$_: Schema_Tree_.I, $$_lookups: {
156
+ export type Schema_Tree_ = ($$_: Schema_Tree_.I, abort: _pi.Abort<Schema_Tree_.E>, lookups: {
148
157
  readonly 'sibling schemas': _pi.Stack_Lookup<Schema_Tree_.L.sibling_schemas>;
149
- }, $$_p: null) => Schema_Tree_.O;
158
+ }, p: null) => Schema_Tree_.O;
150
159
  export declare namespace Schema_ {
151
160
  type I = i_unresolved.Schema;
152
161
  type O = i_resolved.Schema;
162
+ type E = i_generic.Error;
153
163
  namespace L {
154
164
  type sibling_schemas = i_resolved.Schemas_.D;
155
165
  }
156
166
  namespace P {
157
167
  }
158
168
  }
159
- export type Schema_ = ($$_: Schema_.I, $$_lookups: {
169
+ export type Schema_ = ($$_: Schema_.I, abort: _pi.Abort<Schema_.E>, lookups: {
160
170
  readonly 'sibling schemas': _pi.Stack_Lookup<Schema_.L.sibling_schemas>;
161
- }, $$_p: null) => Schema_.O;
171
+ }, p: null) => Schema_.O;
162
172
  export declare namespace Imports_ {
163
173
  type I = i_unresolved.Imports;
164
174
  type O = i_resolved.Imports;
175
+ type E = i_generic.Error;
165
176
  namespace L {
166
177
  type sibling_schemas = i_resolved.Schemas_.D;
167
178
  }
168
179
  namespace P {
169
180
  }
170
181
  }
171
- export type Imports_ = ($$_: Imports_.I, $$_lookups: {
182
+ export type Imports_ = ($$_: Imports_.I, abort: _pi.Abort<Imports_.E>, lookups: {
172
183
  readonly 'sibling schemas': _pi.Stack_Lookup<Imports_.L.sibling_schemas>;
173
- }, $$_p: null) => Imports_.O;
184
+ }, p: null) => Imports_.O;
174
185
  export declare namespace Types_ {
175
186
  type I = i_unresolved.Types;
176
187
  type O = i_resolved.Types;
188
+ type E = i_generic.Error;
177
189
  namespace P {
178
190
  namespace globals {
179
191
  type O = i_resolved.Globals_;
@@ -185,7 +197,7 @@ export declare namespace Types_ {
185
197
  type imports = _pi.Optional_Value<imports.O>;
186
198
  }
187
199
  }
188
- export type Types_ = ($$_: Types_.I, $$_lookups: null, $$_p: {
200
+ export type Types_ = ($$_: Types_.I, abort: _pi.Abort<Types_.E>, lookups: null, p: {
189
201
  readonly 'globals': Types_.P.globals;
190
202
  readonly 'imports': Types_.P.imports;
191
203
  }) => Types_.O;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvYXN0bl9zY2hlbWEvcmVzb2x2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -18,7 +18,7 @@ export declare namespace Value_ {
18
18
  readonly 'path': include.path;
19
19
  };
20
20
  namespace concrete {
21
- namespace _type {
21
+ namespace type_ {
22
22
  namespace dictionary {
23
23
  namespace D {
24
24
  type O = Value_;
@@ -47,21 +47,21 @@ export declare namespace Value_ {
47
47
  type nothing = null;
48
48
  namespace optional {
49
49
  type not_set = null;
50
- type _set = Value_;
50
+ type set_ = Value_;
51
51
  }
52
- type optional = readonly ['not set', optional.not_set] | readonly ['set', optional._set];
52
+ type optional = readonly ['not set', optional.not_set] | readonly ['set', optional.set_];
53
53
  namespace state_group {
54
54
  type missing_data = null;
55
- namespace _set {
55
+ namespace set_ {
56
56
  type state = string;
57
57
  type value = Value_;
58
58
  }
59
- type _set = {
60
- readonly 'state': _set.state;
61
- readonly 'value': _set.value;
59
+ type set_ = {
60
+ readonly 'state': set_.state;
61
+ readonly 'value': set_.value;
62
62
  };
63
63
  }
64
- type state_group = readonly ['missing data', state_group.missing_data] | readonly ['set', state_group._set];
64
+ type state_group = readonly ['missing data', state_group.missing_data] | readonly ['set', state_group.set_];
65
65
  namespace text {
66
66
  type value = string;
67
67
  namespace delimiter {
@@ -76,10 +76,10 @@ export declare namespace Value_ {
76
76
  readonly 'delimiter': text.delimiter;
77
77
  };
78
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];
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
80
  }
81
81
  type concrete = {
82
- readonly 'type': concrete._type;
82
+ readonly 'type': concrete.type_;
83
83
  };
84
84
  }
85
85
  type data = readonly ['missing', data.missing] | readonly ['include', data.include] | readonly ['concrete', data.concrete];
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2F1dGhvcmluZ190YXJnZXQvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvYXV0aG9yaW5nX3RhcmdldC9kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2F1dGhvcmluZ190YXJnZXQvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvYXV0aG9yaW5nX3RhcmdldC9taWdyYXRlX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -33,14 +33,14 @@ export declare namespace Text_Edits_ {
33
33
  readonly 'range': replace.range;
34
34
  readonly 'text': replace.text;
35
35
  };
36
- namespace _delete {
36
+ namespace delete_ {
37
37
  type range = Relative_Range_;
38
38
  }
39
- type _delete = {
40
- readonly 'range': _delete.range;
39
+ type delete_ = {
40
+ readonly 'range': delete_.range;
41
41
  };
42
42
  }
43
- type L = readonly ['insert', L.insert] | readonly ['replace', L.replace] | readonly ['delete', L._delete];
43
+ type L = readonly ['insert', L.insert] | readonly ['replace', L.replace] | readonly ['delete', L.delete_];
44
44
  }
45
45
  export type Text_Edits_ = _pi.List<Text_Edits_.L>;
46
46
  export declare namespace Key_Value_Pairs_To_Be_Sorted_ {
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2lkZS9kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvaWRlL2RhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2lkZS9taWdyYXRlX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL2xpYW5hL3NjaGVtYXMvaWRlL21pZ3JhdGVfYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,7 +1,7 @@
1
1
  import * as _pi from 'pareto-core/dist/interface';
2
- import * as d_in from "astn-core/dist/interface/generated/pareto/schemas/parse_tree/data";
3
- import * as d_in_token from "astn-core/dist/interface/generated/pareto/schemas/token/data";
4
- import * as d_out from "../../../../interface/generated/pareto/schemas/ide/data";
2
+ import * as d_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
3
+ import * as d_in_token from "astn-core/dist/interface/generated/liana/schemas/token/data";
4
+ import * as d_out from "../../../../interface/generated/liana/schemas/ide/data";
5
5
  export type Parameters = {
6
6
  'remove commas': boolean;
7
7
  'indentation string': string;
@@ -1,6 +1,6 @@
1
1
  import * as _pi from 'pareto-core/dist/interface';
2
- import * as d_in from "../../../generated/pareto/schemas/authoring_target/data";
3
- import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data";
2
+ import * as d_in from "../../../generated/liana/schemas/authoring_target/data";
3
+ import * as d_out from "pareto-fountain-pen/dist/interface/generated/liana/schemas/block/data";
4
4
  export type Parameters = {
5
5
  'write delimiters': boolean;
6
6
  'in concise group': boolean;
@@ -1,7 +1,7 @@
1
1
  import * as _pi from 'pareto-core/dist/interface';
2
- import * as d_in from "astn-core/dist/interface/generated/pareto/schemas/parse_tree/data";
3
- import * as d_out from "pareto-json/dist/interface/generated/pareto/schemas/json/data";
2
+ import * as d_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
3
+ import * as d_out from "pareto-json/dist/interface/generated/liana/schemas/json/data";
4
4
  export type Value = _pi.Transformer<d_in.Value, d_out.Value>;
5
- export type Key_Value_Pairs = _pi.Transformer<d_in.Key_Value_Pairs, d_out.Value._object.key_value_array>;
5
+ export type Key_Value_Pairs = _pi.Transformer<d_in.Key_Value_Pairs, d_out.Value.object_.key_value_array>;
6
6
  export type Elements = _pi.Transformer<d_in.Elements, d_out.Value.array>;
7
7
  export type Document = _pi.Transformer<d_in.Document, d_out.Document>;
@@ -1,4 +1,4 @@
1
1
  import * as _pi from 'pareto-core/dist/interface';
2
- import * as d_in from "astn-core/dist/interface/generated/pareto/schemas/parse_tree/data";
3
- import * as d_out from "astn-core/dist/interface/generated/pareto/schemas/token/data";
2
+ import * as d_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
3
+ import * as d_out from "astn-core/dist/interface/generated/liana/schemas/token/data";
4
4
  export type Value = _pi.Transformer<d_in.Value, d_out.Range>;
@@ -38,10 +38,10 @@ const _p = __importStar(require("pareto-core/dist/refiner"));
38
38
  //dependencies
39
39
  const p_file_in_file_out = __importStar(require("../productions/text"));
40
40
  const Parameters = ($, abort) => {
41
- return _p.iterate($.arguments, (iter) => iter['assert finished'](() => ({
41
+ return _p.iterate($.arguments, (iter) => iter.assert_finished(() => ({
42
42
  'in': p_file_in_file_out.Path(iter, ($) => abort(['in path', $])),
43
43
  'out': p_file_in_file_out.Path(iter, ($) => abort(['out path', $])),
44
44
  }), ($) => abort(['too many arguments', null])));
45
45
  };
46
46
  exports.Parameters = Parameters;
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2NvbW1vbl90b29sX3NpZ25hdHVyZXMvaW1wbGVtZW50YXRpb24vbWFudWFsL3NjaGVtYXMvZmlsZV9pbl9maWxlX291dC9yZWZpbmVycy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDZEQUE4QztBQU85QyxjQUFjO0FBQ2Qsd0VBQXlEO0FBRWxELE1BQU0sVUFBVSxHQUluQixDQUFDLENBQUMsRUFBRSxLQUFLLEVBQUUsRUFBRTtJQUNiLE9BQU8sRUFBRSxDQUFDLE9BQU8sQ0FDYixDQUFDLENBQUMsU0FBUyxFQUNYLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsaUJBQWlCLENBQUMsQ0FDN0IsR0FBRyxFQUFFLENBQUMsQ0FBQztRQUNILElBQUksRUFBRSxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUNqRSxLQUFLLEVBQUUsa0JBQWtCLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUM7S0FDdEUsQ0FBQyxFQUNGLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxvQkFBb0IsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUU3QyxDQUNKLENBQUE7QUFFTCxDQUFDLENBQUE7QUFqQlksUUFBQSxVQUFVLGNBaUJ0QiJ9
47
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2NvbW1vbl90b29sX3NpZ25hdHVyZXMvaW1wbGVtZW50YXRpb24vbWFudWFsL3NjaGVtYXMvZmlsZV9pbl9maWxlX291dC9yZWZpbmVycy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDZEQUE4QztBQU85QyxjQUFjO0FBQ2Qsd0VBQXlEO0FBRWxELE1BQU0sVUFBVSxHQUluQixDQUFDLENBQUMsRUFBRSxLQUFLLEVBQUUsRUFBRTtJQUNiLE9BQU8sRUFBRSxDQUFDLE9BQU8sQ0FDYixDQUFDLENBQUMsU0FBUyxFQUNYLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUMxQixHQUFHLEVBQUUsQ0FBQyxDQUFDO1FBQ0gsSUFBSSxFQUFFLGtCQUFrQixDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLEtBQUssQ0FBQyxDQUFDLFNBQVMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ2pFLEtBQUssRUFBRSxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztLQUN0RSxDQUFDLEVBQ0YsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLEtBQUssQ0FBQyxDQUFDLG9CQUFvQixFQUFFLElBQUksQ0FBQyxDQUFDLENBRTdDLENBQ0osQ0FBQTtBQUVMLENBQUMsQ0FBQTtBQWpCWSxRQUFBLFVBQVUsY0FpQnRCIn0=
@@ -1,18 +1,18 @@
1
1
  import * as _pi from 'pareto-core/dist/interface';
2
- import * as resources_exupery from "pareto-resources/dist/interface/resources";
2
+ import * as resources_pareto from "pareto-resources/dist/interface/resources";
3
3
  export declare namespace queries {
4
4
  }
5
5
  export declare namespace commands {
6
- type stream_in_to_stream_out = _pi.Command_Procedure<resources_exupery.commands.main, {
7
- 'log error': resources_exupery.commands.log_error;
8
- 'write to stdout': resources_exupery.commands.write_to_stdout;
6
+ type stream_in_to_stream_out = _pi.Command_Procedure<resources_pareto.commands.main, {
7
+ 'log error': resources_pareto.commands.log_error;
8
+ 'write to stdout': resources_pareto.commands.write_to_stdout;
9
9
  }, {
10
- 'get instream data': resources_exupery.queries.get_instream_data;
10
+ 'get instream data': resources_pareto.queries.get_instream_data;
11
11
  }>;
12
- type file_in_to_file_out = _pi.Command_Procedure<resources_exupery.commands.main, {
13
- 'log error': resources_exupery.commands.log_error;
14
- 'write file': resources_exupery.commands.write_file;
12
+ type file_in_to_file_out = _pi.Command_Procedure<resources_pareto.commands.main, {
13
+ 'log error': resources_pareto.commands.log_error;
14
+ 'write file': resources_pareto.commands.write_file;
15
15
  }, {
16
- 'read file': resources_exupery.queries.read_file;
16
+ 'read file': resources_pareto.queries.read_file;
17
17
  }>;
18
18
  }
@@ -1,6 +1,6 @@
1
- import * as d_path from "pareto-resources/dist/interface/generated/pareto/schemas/path/data";
2
- import * as d_read_file from "pareto-resources/dist/interface/generated/pareto/schemas/read_file/data";
3
- import * as d_write_file from "pareto-resources/dist/interface/generated/pareto/schemas/write_file/data";
1
+ import * as d_path from "pareto-resources/dist/interface/generated/liana/schemas/path/data";
2
+ import * as d_read_file from "pareto-resources/dist/interface/generated/liana/schemas/read_file/data";
3
+ import * as d_write_file from "pareto-resources/dist/interface/generated/liana/schemas/write_file/data";
4
4
  export type Path_Error = ['missing', null] | ['not valid', null];
5
5
  export type Error = ['in path', Path_Error] | ['out path', Path_Error] | ['too many arguments', null];
6
6
  export type Command_Error = ['command line arguments', Error] | ['reading file', d_read_file.Error] | ['deserializing', string] | ['writing file', d_write_file.Error];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astn",
3
- "version": "0.113.35",
3
+ "version": "0.113.36",
4
4
  "description": "The TypeScript library for parsing and formatting ASTN (Abstract Syntax Tree Notation) - a human-editable data format for structured content",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -41,9 +41,9 @@
41
41
  "dependencies": {
42
42
  "astn-core": "^0.5.4",
43
43
  "pareto-core-dev": "^0.12.3",
44
- "pareto-fountain-pen": "^0.4.3",
45
- "pareto-host-nodejs": "^0.2.7",
44
+ "pareto-fountain-pen": "^0.4.4",
45
+ "pareto-host-nodejs": "^0.2.8",
46
46
  "pareto-json": "^0.3.16",
47
- "pareto-resources": "^0.2.10"
47
+ "pareto-resources": "^0.2.12"
48
48
  }
49
49
  }