astn 0.113.83 → 0.113.84
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.
- package/dist/implementation/generated/liana/schemas/astn_schema/resolved/refiners/unresolved.js +2 -2
- package/dist/implementation/manual/commands/convert_to_json.d.ts +2 -2
- package/dist/implementation/manual/commands/convert_to_json.js +48 -5
- package/dist/implementation/manual/commands/format.d.ts +2 -2
- package/dist/implementation/manual/commands/format.js +48 -5
- package/dist/implementation/manual/commands/validate.d.ts +2 -2
- package/dist/implementation/manual/commands/validate.js +48 -5
- package/dist/implementation/manual/queries/convert_to_json.d.ts +2 -0
- package/dist/implementation/manual/{text_to_text → queries}/convert_to_json.js +15 -11
- package/dist/implementation/manual/queries/format.d.ts +2 -0
- package/dist/implementation/manual/{text_to_text → queries}/format.js +16 -10
- package/dist/implementation/manual/queries/validate.d.ts +2 -0
- package/dist/implementation/manual/{text_to_text/validate_astn.js → queries/validate.js} +16 -18
- package/dist/implementation/manual/refiners/ide/parse_tree.js +42 -42
- package/dist/implementation/manual/refiners/included_parse_tree/parse_tree.js +27 -27
- package/dist/implementation/manual/transformers/authoring_target/fountain_pen.js +31 -31
- package/dist/implementation/manual/transformers/parse_tree/authoring_target.d.ts +1 -1
- package/dist/implementation/manual/transformers/parse_tree/authoring_target.js +36 -36
- package/dist/implementation/manual/transformers/parse_tree/includes.d.ts +1 -1
- package/dist/implementation/manual/transformers/parse_tree/includes.js +27 -27
- package/dist/implementation/manual/transformers/parse_tree/json_target.d.ts +1 -1
- package/dist/implementation/manual/transformers/parse_tree/json_target.js +23 -23
- package/dist/{modules/common_tool_signatures/interface → interface}/commands.d.ts +13 -6
- package/dist/{modules/common_tool_signatures/interface → interface}/commands.js +1 -1
- package/dist/interface/{to_be_generated → data}/includes.js +1 -1
- package/dist/interface/generated/liana/schemas/astn_schema/data/unresolved.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/astn_schema/signatures/resolved/refiners/unresolved.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/astn_schema/signatures/unresolved/refiners/astn_parse_tree.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/astn_schema/signatures/unresolved/refiners/list_of_characters.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/authoring_target/signatures/refiners/astn_parse_tree.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/authoring_target/signatures/refiners/list_of_characters.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/ide/signatures/refiners/astn_parse_tree.d.ts +1 -1
- package/dist/interface/generated/liana/schemas/ide/signatures/refiners/list_of_characters.d.ts +1 -1
- package/dist/interface/queries.d.ts +13 -0
- package/dist/interface/queries.js +3 -0
- package/dist/interface/{signatures/refiners → refiners}/ide/parse_tree.d.ts +1 -1
- package/dist/interface/{signatures/refiners → refiners}/ide/parse_tree.js +1 -1
- package/dist/interface/{signatures/transformers → transformers}/parse_tree/authoring_target.d.ts +1 -1
- package/dist/interface/{signatures/transformers → transformers}/parse_tree/authoring_target.js +1 -1
- package/dist/interface/{signatures/transformers → transformers}/parse_tree/json_target.js +1 -1
- package/package.json +1 -1
- package/dist/implementation/manual/text_to_text/convert_to_json.d.ts +0 -7
- package/dist/implementation/manual/text_to_text/format.d.ts +0 -5
- package/dist/implementation/manual/text_to_text/validate_astn.d.ts +0 -7
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.d.ts +0 -8
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.js +0 -75
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.d.ts +0 -7
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.js +0 -82
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +0 -5
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.js +0 -47
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +0 -5
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.js +0 -52
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/transformers/fountain_pen.d.ts +0 -5
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/transformers/fountain_pen.js +0 -85
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/transform_file/transformers/fountain_pen.d.ts +0 -3
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/transform_file/transformers/fountain_pen.js +0 -55
- package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +0 -10
- package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.js +0 -3
- package/dist/modules/common_tool_signatures/interface/to_be_generated/transform_file.d.ts +0 -3
- package/dist/modules/common_tool_signatures/interface/to_be_generated/transform_file.js +0 -3
- /package/dist/interface/{to_be_generated → data}/includes.d.ts +0 -0
- /package/dist/interface/{signatures/transformers → transformers}/parse_tree/json_target.d.ts +0 -0
|
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Value = exports.Items = exports.ID_Value_Pairs = exports.Document = void 0;
|
|
37
|
-
const
|
|
37
|
+
const p_ = __importStar(require("pareto-core/dist/implementation/transformer"));
|
|
38
38
|
const Document = ($) => (0, exports.Value)($.content);
|
|
39
39
|
exports.Document = Document;
|
|
40
40
|
const ID_Value_Pairs = ($) => $.__l_map(($) => ({
|
|
@@ -44,46 +44,46 @@ const ID_Value_Pairs = ($) => $.__l_map(($) => ({
|
|
|
44
44
|
exports.ID_Value_Pairs = ID_Value_Pairs;
|
|
45
45
|
const Items = ($) => $.__l_map(($) => (0, exports.Value)($.value));
|
|
46
46
|
exports.Items = Items;
|
|
47
|
-
const Value = ($) =>
|
|
47
|
+
const Value = ($) => p_.decide.state($.type, ($) => {
|
|
48
48
|
switch ($[0]) {
|
|
49
|
-
case 'concrete': return
|
|
49
|
+
case 'concrete': return p_.ss($, ($) => p_.decide.state($, ($) => {
|
|
50
50
|
switch ($[0]) {
|
|
51
|
-
case 'dictionary': return
|
|
52
|
-
case 'group': return
|
|
51
|
+
case 'dictionary': return p_.ss($, ($) => ['object', (0, exports.ID_Value_Pairs)($.entries)]);
|
|
52
|
+
case 'group': return p_.ss($, ($) => p_.decide.state($, ($) => {
|
|
53
53
|
switch ($[0]) {
|
|
54
|
-
case 'concise': return
|
|
55
|
-
case 'verbose': return
|
|
56
|
-
default: return
|
|
54
|
+
case 'concise': return p_.ss($, ($) => ['array', (0, exports.Items)($.properties)]);
|
|
55
|
+
case 'verbose': return p_.ss($, ($) => ['object', (0, exports.ID_Value_Pairs)($.properties)]);
|
|
56
|
+
default: return p_.au($[0]);
|
|
57
57
|
}
|
|
58
58
|
}));
|
|
59
|
-
case 'list': return
|
|
60
|
-
case 'state': return
|
|
59
|
+
case 'list': return p_.ss($, ($) => ['array', (0, exports.Items)($.items)]);
|
|
60
|
+
case 'state': return p_.ss($, ($) => p_.decide.state($.status, ($) => {
|
|
61
61
|
switch ($[0]) {
|
|
62
|
-
case 'missing': return
|
|
63
|
-
case 'set': return
|
|
62
|
+
case 'missing': return p_.ss($, ($) => ['null', null]);
|
|
63
|
+
case 'set': return p_.ss($, ($) => ['array', p_.literal.list([
|
|
64
64
|
['string', $.option.token.value],
|
|
65
65
|
(0, exports.Value)($.value),
|
|
66
66
|
])]);
|
|
67
|
-
default: return
|
|
67
|
+
default: return p_.au($[0]);
|
|
68
68
|
}
|
|
69
69
|
}));
|
|
70
|
-
case 'nothing': return
|
|
71
|
-
case 'optional': return
|
|
70
|
+
case 'nothing': return p_.ss($, ($) => ['null', null]);
|
|
71
|
+
case 'optional': return p_.ss($, ($) => p_.decide.state($, ($) => {
|
|
72
72
|
switch ($[0]) {
|
|
73
|
-
case 'set': return
|
|
73
|
+
case 'set': return p_.ss($, ($) => ['array', p_.literal.list([
|
|
74
74
|
(0, exports.Value)($.value),
|
|
75
75
|
])]);
|
|
76
|
-
case 'not set': return
|
|
77
|
-
default: return
|
|
76
|
+
case 'not set': return p_.ss($, ($) => ['null', null]);
|
|
77
|
+
default: return p_.au($[0]);
|
|
78
78
|
}
|
|
79
79
|
}));
|
|
80
|
-
case 'text': return
|
|
81
|
-
default: return
|
|
80
|
+
case 'text': return p_.ss($, ($) => ['string', $.token.value]);
|
|
81
|
+
default: return p_.au($[0]);
|
|
82
82
|
}
|
|
83
83
|
}));
|
|
84
|
-
case 'include': return
|
|
85
|
-
case 'missing': return
|
|
86
|
-
default: return
|
|
84
|
+
case 'include': return p_.ss($, ($) => ['string', "FIXME include not implemented yet"]);
|
|
85
|
+
case 'missing': return p_.ss($, ($) => ['null', null]);
|
|
86
|
+
default: return p_.au($[0]);
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
exports.Value = Value;
|
|
@@ -2,17 +2,24 @@ import * as p_ci from 'pareto-core/dist/interface/command';
|
|
|
2
2
|
import * as resources_pareto from "pareto-resources/dist/interface/resources";
|
|
3
3
|
import * as commands_pareto_stream from "pareto-stream/dist/interface/commands";
|
|
4
4
|
import * as queries_pareto_stream from "pareto-stream/dist/interface/queries";
|
|
5
|
+
import * as d_serialize_prose from "pareto-fountain-pen/dist/interface/data/prose_serialize";
|
|
5
6
|
export declare namespace procedures {
|
|
6
|
-
type
|
|
7
|
-
'
|
|
7
|
+
type process_file_data = p_ci.Command_Procedure<resources_pareto.resources.commands.main, {
|
|
8
|
+
'tab size': number;
|
|
9
|
+
'serialization parameters': d_serialize_prose.Parameters;
|
|
10
|
+
}, {
|
|
11
|
+
'read file': resources_pareto.filesystem_unrestricted.queries.read_file;
|
|
8
12
|
}, {
|
|
13
|
+
'write file': resources_pareto.filesystem_unrestricted.commands.write_file;
|
|
9
14
|
'log error': commands_pareto_stream.commands.log_error;
|
|
10
|
-
'log': commands_pareto_stream.commands.log;
|
|
11
15
|
}>;
|
|
12
|
-
type
|
|
13
|
-
'
|
|
16
|
+
type process_stream_data = p_ci.Command_Procedure<resources_pareto.resources.commands.main, {
|
|
17
|
+
'tab size': number;
|
|
18
|
+
'serialization parameters': d_serialize_prose.Parameters;
|
|
19
|
+
}, {
|
|
20
|
+
'get instream data': queries_pareto_stream.queries.get_instream_data;
|
|
14
21
|
}, {
|
|
22
|
+
'write to stdout': commands_pareto_stream.commands.write_to_stdout;
|
|
15
23
|
'log error': commands_pareto_stream.commands.log_error;
|
|
16
|
-
'write file': resources_pareto.filesystem_unrestricted.commands.write_file;
|
|
17
24
|
}>;
|
|
18
25
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlL2NvbW1hbmRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jbHVkZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2RhdGEvaW5jbHVkZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_di from 'pareto-core/dist/interface/data';
|
|
2
|
-
import * as i_location from "liana-core/dist/interface/
|
|
2
|
+
import * as i_location from "liana-core/dist/interface/data/document_and_location";
|
|
3
3
|
export declare namespace Schema_Tree_ {
|
|
4
4
|
type l_location = i_location.Range;
|
|
5
5
|
namespace l_state {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
2
|
import * as p_di from 'pareto-core/dist/interface/data';
|
|
3
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
3
|
+
import * as i_generic from "liana-core/dist/interface/data/resolve";
|
|
4
4
|
import * as i_resolved from "../../../data/resolved";
|
|
5
5
|
import * as i_unresolved from "../../../data/unresolved";
|
|
6
6
|
export declare namespace Text_Type_ {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
2
|
+
import * as i_generic from "liana-core/dist/interface/data/unmarshall";
|
|
3
3
|
import * as i_out from "../../../data/unresolved";
|
|
4
4
|
import * as i_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
|
|
5
5
|
export declare namespace Schema_Tree_ {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
2
|
+
import * as i_generic from "liana-core/dist/interface/data/deserialize";
|
|
3
3
|
import * as i_in from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
4
|
import * as i_out from "../../../data/unresolved";
|
|
5
5
|
export declare namespace Schema_Tree_ {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
2
|
+
import * as i_generic from "liana-core/dist/interface/data/unmarshall";
|
|
3
3
|
import * as i_out from "../../data";
|
|
4
4
|
import * as i_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
|
|
5
5
|
export declare namespace Document_ {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
2
|
+
import * as i_generic from "liana-core/dist/interface/data/deserialize";
|
|
3
3
|
import * as i_in from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
4
|
import * as i_out from "../../data";
|
|
5
5
|
export declare namespace Document_ {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
2
|
+
import * as i_generic from "liana-core/dist/interface/data/unmarshall";
|
|
3
3
|
import * as i_out from "../../data";
|
|
4
4
|
import * as i_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
|
|
5
5
|
export declare namespace Text_Edits_ {
|
package/dist/interface/generated/liana/schemas/ide/signatures/refiners/list_of_characters.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/__internal/Abort';
|
|
2
|
-
import * as i_generic from "liana-core/dist/interface/
|
|
2
|
+
import * as i_generic from "liana-core/dist/interface/data/deserialize";
|
|
3
3
|
import * as i_in from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
4
|
import * as i_out from "../../data";
|
|
5
5
|
export declare namespace Text_Edits_ {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as p_qi from 'pareto-core/dist/interface/query';
|
|
2
|
+
import * as queries_common from "pareto-common/dist/interface/queries";
|
|
3
|
+
import * as d_serialize_prose from "pareto-fountain-pen/dist/interface/data/prose_serialize";
|
|
4
|
+
export declare namespace query_functions {
|
|
5
|
+
type process_file_data = p_qi.Query_Function<queries_common.queries.process_file_data, {
|
|
6
|
+
'tab size': number;
|
|
7
|
+
'serialization parameters': d_serialize_prose.Parameters;
|
|
8
|
+
}, null>;
|
|
9
|
+
type process_stream_data = p_qi.Query_Function<queries_common.queries.process_stream_data, {
|
|
10
|
+
'tab size': number;
|
|
11
|
+
'serialization parameters': d_serialize_prose.Parameters;
|
|
12
|
+
}, null>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcmllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcmZhY2UvcXVlcmllcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as p_ti from 'pareto-core/dist/interface/transformer';
|
|
2
2
|
import * as d_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
|
|
3
3
|
import * as d_in_token from "astn-core/dist/interface/generated/liana/schemas/token/data";
|
|
4
|
-
import * as d_out from "
|
|
4
|
+
import * as d_out from "../../generated/liana/schemas/ide/data";
|
|
5
5
|
export type Parameters = {
|
|
6
6
|
'remove commas': boolean;
|
|
7
7
|
'indentation string': string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfdHJlZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvcmVmaW5lcnMvaWRlL3BhcnNlX3RyZWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
package/dist/interface/{signatures/transformers → transformers}/parse_tree/authoring_target.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as p_i from 'pareto-core/dist/interface/transformer';
|
|
2
2
|
import * as d_in from "astn-core/dist/interface/generated/liana/schemas/parse_tree/data";
|
|
3
|
-
import * as d_out from "
|
|
3
|
+
import * as d_out from "../../generated/liana/schemas/authoring_target/data";
|
|
4
4
|
export type Value = p_i.Transformer<d_in.Value, d_out.Value>;
|
|
5
5
|
export type Concrete_Value = p_i.Transformer<d_in.Value.type_.concrete, d_out.Value.data.concrete>;
|
|
6
6
|
export type ID_Value_Pairs = p_i.Transformer<d_in.ID_Value_Pairs, d_out.ID_Value_Pairs>;
|
package/dist/interface/{signatures/transformers → transformers}/parse_tree/authoring_target.js
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yaW5nX3RhcmdldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvdHJhbnNmb3JtZXJzL3BhcnNlX3RyZWUvYXV0aG9yaW5nX3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbl90YXJnZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RyYW5zZm9ybWVycy9wYXJzZV90cmVlL2pzb25fdGFyZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astn",
|
|
3
|
-
"version": "0.113.
|
|
3
|
+
"version": "0.113.84",
|
|
4
4
|
"author": "Corno",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "The TypeScript library for parsing and formatting ASTN (Abstract Syntax Tree Notation) - a human-editable data format for structured content",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as p_ri from 'pareto-core/dist/interface/refiner';
|
|
2
|
-
import * as d_out from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
3
|
-
import * as d_in from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
|
-
import * as d_function from "pareto-fountain-pen/dist/interface/generated/liana/schemas/prose/data";
|
|
5
|
-
export declare const $$: p_ri.Refiner_With_Parameter<d_out.List_of_Characters, d_function.Phrase, d_in.List_of_Characters, {
|
|
6
|
-
'document resource identifier': string;
|
|
7
|
-
}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as p_ri from 'pareto-core/dist/interface/refiner';
|
|
2
|
-
import * as d_out from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
3
|
-
import * as d_in from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
|
-
import * as d_function from "pareto-fountain-pen/dist/interface/generated/liana/schemas/prose/data";
|
|
5
|
-
export declare const $$: p_ri.Refiner<d_out.List_of_Characters, d_function.Phrase, d_in.List_of_Characters>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as p_ri from 'pareto-core/dist/interface/refiner';
|
|
2
|
-
import * as d_out from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
3
|
-
import * as d_in from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
|
-
import * as d_function from "pareto-fountain-pen/dist/interface/generated/liana/schemas/prose/data";
|
|
5
|
-
export declare const $$: p_ri.Refiner_With_Parameter<d_out.List_of_Characters, d_function.Phrase, d_in.List_of_Characters, {
|
|
6
|
-
'document resource identifier': string;
|
|
7
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as p_ri from 'pareto-core/dist/interface/refiner';
|
|
2
|
-
import * as signatures from "../../../interface/commands";
|
|
3
|
-
import * as d_loc from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
4
|
-
import * as d_fp from "pareto-fountain-pen/dist/interface/generated/liana/schemas/prose/data";
|
|
5
|
-
export type Creator = (deserializer: p_ri.Refiner_With_Parameter<d_loc.List_of_Characters, d_fp.Phrase, d_loc.List_of_Characters, {
|
|
6
|
-
'document resource identifier': string;
|
|
7
|
-
}>) => signatures.procedures.file_in_to_file_out;
|
|
8
|
-
export declare const $$: Creator;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.$$ = void 0;
|
|
37
|
-
const p_ = __importStar(require("pareto-core/dist/implementation/command"));
|
|
38
|
-
//dependencies
|
|
39
|
-
const r_file_in_file_out_from_main = __importStar(require("../schemas/file_in_file_out/refiners/main"));
|
|
40
|
-
const t_path_to_text = __importStar(require("pareto-resources/dist/implementation/manual/transformers/unrestricted_path/text"));
|
|
41
|
-
const t_transform_file_to_fountain_pen = __importStar(require("../schemas/transform_file/transformers/fountain_pen"));
|
|
42
|
-
//shorthands
|
|
43
|
-
const sh = __importStar(require("pareto-fountain-pen/dist/shorthands/prose"));
|
|
44
|
-
const $$ = (deserializer) => p_.command_procedure(($d, $s, $q, $c) => [
|
|
45
|
-
p_.handle_error([
|
|
46
|
-
p_.refine_without_error_transformation((abort) => r_file_in_file_out_from_main.Parameters($d, ($) => abort(['file in file out', ['command line arguments', $]])), ($r) => [
|
|
47
|
-
p_.query($q['read file']($r.in, ($) => {
|
|
48
|
-
return ['file in file out', ['reading file', $]];
|
|
49
|
-
}), ($, abort) => ({
|
|
50
|
-
'path': $r.out,
|
|
51
|
-
'data': deserializer($, ($) => abort(['processing', $]), {
|
|
52
|
-
'document resource identifier': t_path_to_text.Node_Path($r.in),
|
|
53
|
-
}),
|
|
54
|
-
}), ($v) => [
|
|
55
|
-
$c['write file'].execute($v, ($) => {
|
|
56
|
-
return ['file in file out', ['writing file', $]];
|
|
57
|
-
})
|
|
58
|
-
])
|
|
59
|
-
]),
|
|
60
|
-
], ($) => [
|
|
61
|
-
$c['log error'].execute({
|
|
62
|
-
'message': sh.pg.sentences([
|
|
63
|
-
sh.sentence([
|
|
64
|
-
t_transform_file_to_fountain_pen.Error($)
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
}, ($) => ({
|
|
68
|
-
'exit code': 2
|
|
69
|
-
}))
|
|
70
|
-
], () => ({
|
|
71
|
-
'exit code': 1
|
|
72
|
-
})),
|
|
73
|
-
]);
|
|
74
|
-
exports.$$ = $$;
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlX2ZpbGVfdG9fZmlsZV9jb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvY29tbW9uX3Rvb2xfc2lnbmF0dXJlcy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvY29tbWFuZF9jcmVhdG9ycy9jcmVhdGVfZmlsZV90b19maWxlX2NvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNEVBQTZEO0FBVzdELGNBQWM7QUFDZCx3R0FBeUY7QUFDekYsZ0lBQWlIO0FBQ2pILHNIQUF1RztBQUd2RyxZQUFZO0FBQ1osOEVBQStEO0FBY3hELE1BQU0sRUFBRSxHQUFZLENBQUMsWUFBWSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsaUJBQWlCLENBQzdELENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxF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RUFDRixDQUFDLENBQUMsRUFBRSxFQUFFO29CQUNGLE9BQU8sQ0FBQyxrQkFBa0IsRUFBRSxDQUFDLGNBQWMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFBO2dCQUNwRCxDQUFDLENBRUo7YUFDSixDQUNKO1NBQ0osQ0FDSjtLQUNKLEVBQ0QsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDO1FBQ0gsRUFBRSxDQUFDLFdBQVcsQ0FBQyxDQUFDLE9BQU8sQ0FDbkI7WUFDSSxTQUFTLEVBQUUsRUFBRSxDQUFDLEVBQUUsQ0FBQyxTQUFTLENBQUM7Z0JBQ3ZCLEVBQUUsQ0FBQyxRQUFRLENBQUM7b0JBQ1IsZ0NBQWdDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQztpQkFDNUMsQ0FBQzthQUNMLENBQUM7U0FDTCxFQUNELENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1lBQ0osV0FBVyxFQUFFLENBQUM7U0FDakIsQ0FBQyxDQUNMO0tBQ0osRUFDRCxHQUFHLEVBQUUsQ0FBQyxDQUFDO1FBQ0gsV0FBVyxFQUFFLENBQUM7S0FDakIsQ0FBQyxDQUNMO0NBQ0osQ0FBQyxDQUFBO0FBMURPLFFBQUEsRUFBRSxNQTBEVCJ9
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as p_ri from 'pareto-core/dist/interface/refiner';
|
|
2
|
-
import * as signatures from "../../../interface/commands";
|
|
3
|
-
import * as d_fp from "pareto-fountain-pen/dist/interface/generated/liana/schemas/prose/data";
|
|
4
|
-
import * as d_loc from "pareto-fountain-pen/dist/interface/generated/liana/schemas/list_of_characters/data";
|
|
5
|
-
export declare const $$: (func: p_ri.Refiner_With_Parameter<d_loc.List_of_Characters, d_fp.Phrase, d_loc.List_of_Characters, {
|
|
6
|
-
"document resource identifier": string;
|
|
7
|
-
}>) => signatures.procedures.stream_in_to_stream_out;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.$$ = void 0;
|
|
40
|
-
const pc = __importStar(require("pareto-core/dist/implementation/command"));
|
|
41
|
-
const pt = __importStar(require("pareto-core/dist/implementation/transformer"));
|
|
42
|
-
const list_from_text_1 = __importDefault(require("pareto-core/dist/implementation/specials/list_from_text"));
|
|
43
|
-
//shorthands
|
|
44
|
-
const sh = __importStar(require("pareto-fountain-pen/dist/shorthands/prose"));
|
|
45
|
-
const $$ = (func) => {
|
|
46
|
-
return pc.command_procedure(($d, $s, $q, $c) => [
|
|
47
|
-
pc.handle_error([
|
|
48
|
-
pc.query($q['get instream data'](null, ($) => ['could not read instream', null]), ($, abort) => func((0, list_from_text_1.default)($, ($) => $), ($) => abort(['deserialization failed', $]), {
|
|
49
|
-
'document resource identifier': "stream input",
|
|
50
|
-
}), ($v) => [
|
|
51
|
-
$c['log'].execute({
|
|
52
|
-
'message': sh.pg.sentences([
|
|
53
|
-
sh.sentence([
|
|
54
|
-
sh.ph.serialize($v),
|
|
55
|
-
])
|
|
56
|
-
]),
|
|
57
|
-
}, ($) => ['could not write to stdout', null])
|
|
58
|
-
])
|
|
59
|
-
], ($) => [
|
|
60
|
-
$c['log error'].execute({
|
|
61
|
-
'message': sh.pg.sentences([
|
|
62
|
-
sh.sentence([
|
|
63
|
-
pt.decide.state($, ($) => {
|
|
64
|
-
switch ($[0]) {
|
|
65
|
-
case 'could not read instream': return pt.ss($, ($) => sh.ph.literal("could not read instream"));
|
|
66
|
-
case 'deserialization failed': return pt.ss($, ($) => $);
|
|
67
|
-
case 'could not write to stdout': return pt.ss($, ($) => sh.ph.literal("could not write to stdout"));
|
|
68
|
-
default: return pt.au($[0]);
|
|
69
|
-
}
|
|
70
|
-
})
|
|
71
|
-
])
|
|
72
|
-
]),
|
|
73
|
-
}, ($) => ({
|
|
74
|
-
'exit code': 2
|
|
75
|
-
}))
|
|
76
|
-
], () => ({
|
|
77
|
-
'exit code': 1,
|
|
78
|
-
})),
|
|
79
|
-
]);
|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FBQyxFQUFFLENBQUMsT0FBTyxDQUFDLHlCQUF5QixDQUFDLENBQUMsQ0FBQTtnQ0FDaEcsS0FBSyx3QkFBd0IsQ0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFBO2dDQUN4RCxLQUFLLDJCQUEyQixDQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsMkJBQTJCLENBQUMsQ0FBQyxDQUFBO2dDQUNwRyxPQUFPLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7NEJBQy9CLENBQUM7d0JBQ0wsQ0FBQyxDQUFDO3FCQUNMLENBQUM7aUJBQ0wsQ0FBQzthQUNMLEVBQ0QsQ0FBQyxDQUFDLEVBQWdCLEVBQUUsQ0FBQyxDQUFDO2dCQUNsQixXQUFXLEVBQUUsQ0FBQzthQUNqQixDQUFDLENBQ0w7U0FDSixFQUNELEdBQUcsRUFBRSxDQUFDLENBQUM7WUFDSCxXQUFXLEVBQUUsQ0FBQztTQUNqQixDQUFDLENBQ0w7S0FDSixDQUNKLENBQUE7QUFDTCxDQUFDLENBQUE7QUE5RFksUUFBQSxFQUFFLE1BOERkIn0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as p_pi from 'pareto-core/dist/interface/production';
|
|
2
|
-
import * as d_out from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_path/data";
|
|
3
|
-
import * as d_function from "../../../../../interface/to_be_generated/file_in_file_out";
|
|
4
|
-
export type Signature = p_pi.Production<d_out.Node_Path, d_function.Path_Error, string, null>;
|
|
5
|
-
export declare const Path: Signature;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Path = void 0;
|
|
40
|
-
const list_from_text_1 = __importDefault(require("pareto-core/dist/implementation/specials/list_from_text"));
|
|
41
|
-
//dependencies
|
|
42
|
-
const r_node_path_from_text = __importStar(require("pareto-resources/dist/implementation/manual/refiners/path_unrestricted/list_of_characters"));
|
|
43
|
-
const Path = (iterator, abort) => r_node_path_from_text.Node_Path((0, list_from_text_1.default)(iterator.consume(($) => $, () => abort(['missing', null])), ($) => $), ($) => abort(['not valid', null]), {
|
|
44
|
-
'pedantic': true,
|
|
45
|
-
});
|
|
46
|
-
exports.Path = Path;
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2NvbW1vbl90b29sX3NpZ25hdHVyZXMvaW1wbGVtZW50YXRpb24vbWFudWFsL3NjaGVtYXMvZmlsZV9pbl9maWxlX291dC9wcm9kdWN0aW9ucy90ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLDZHQUFzRjtBQVF0RixjQUFjO0FBQ2QsaUpBQWtJO0FBRTNILE1BQU0sSUFBSSxHQUFjLENBQUMsUUFBUSxFQUFFLEtBQUssRUFBRSxFQUFFLENBQUMscUJBQXFCLENBQUMsU0FBUyxDQUMvRSxJQUFBLHdCQUFnQixFQUNaLFFBQVEsQ0FBQyxPQUFPLENBQ1osQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFDUixHQUFHLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxTQUFTLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FDakMsRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUNYLEVBQ0QsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLEtBQUssQ0FBQyxDQUFDLFdBQVcsRUFBRSxJQUFJLENBQUMsQ0FBQyxFQUNqQztJQUNJLFVBQVUsRUFBRSxJQUFJO0NBQ25CLENBQ0osQ0FBQTtBQVpZLFFBQUEsSUFBSSxRQVloQiJ9
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as p_i from 'pareto-core/dist/interface/refiner';
|
|
2
|
-
import * as d_out from "../../../../../interface/to_be_generated/file_in_file_out";
|
|
3
|
-
import * as d_function from "../../../../../interface/to_be_generated/file_in_file_out";
|
|
4
|
-
import * as d_in from "pareto-resources/dist/interface/to_be_generated/temp_main";
|
|
5
|
-
export declare const Parameters: p_i.Refiner<d_out.Parameters, d_function.Error, d_in.Parameters>;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Parameters = void 0;
|
|
40
|
-
const iterate_1 = __importDefault(require("pareto-core/dist/implementation/specials/iterate"));
|
|
41
|
-
//dependencies
|
|
42
|
-
const p_file_in_file_out = __importStar(require("../productions/text"));
|
|
43
|
-
const Parameters = ($, abort) => {
|
|
44
|
-
return (0, iterate_1.default)($.arguments, null, (iter) => iter.assert_finished(() => ({
|
|
45
|
-
'in': p_file_in_file_out.Path(iter, ($) => abort(['in path', $])),
|
|
46
|
-
'out': p_file_in_file_out.Path(iter, ($) => abort(['out path', $])),
|
|
47
|
-
}), {
|
|
48
|
-
not_finished: ($) => abort(['too many arguments', null]),
|
|
49
|
-
}));
|
|
50
|
-
};
|
|
51
|
-
exports.Parameters = Parameters;
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2Nv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
|
1
|
-
import * as d_in from "../../../../../interface/to_be_generated/file_in_file_out";
|
|
2
|
-
import * as d_out from "pareto-fountain-pen/dist/interface/generated/liana/schemas/prose/data";
|
|
3
|
-
export declare const Path_Error: ($: d_in.Path_Error) => d_out.Phrase;
|
|
4
|
-
export declare const Error: ($: d_in.Error) => d_out.Phrase;
|
|
5
|
-
export declare const Command_Error: ($: d_in.Command_Error) => d_out.Phrase;
|