astn 0.113.21 → 0.113.23

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 (199) hide show
  1. package/dist/implementation/generated/pareto/generic/unmarshall.d.ts +28 -28
  2. package/dist/implementation/generated/pareto/generic/unmarshall.js +38 -29
  3. package/dist/implementation/generated/pareto/schemas/astn_schema/marshall.d.ts +7 -7
  4. package/dist/implementation/generated/pareto/schemas/astn_schema/marshall.js +86 -104
  5. package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.d.ts +8 -8
  6. package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.js +226 -244
  7. package/dist/implementation/generated/pareto/schemas/astn_schema/serialize.d.ts +12 -0
  8. package/dist/implementation/generated/pareto/schemas/astn_schema/serialize.js +73 -0
  9. package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.d.ts +7 -7
  10. package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.js +72 -84
  11. package/dist/implementation/generated/pareto/schemas/authoring_parse_result/marshall.js +84 -84
  12. package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +3 -0
  13. package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.js +37 -0
  14. package/dist/implementation/generated/pareto/schemas/authoring_parse_result/unmarshall.js +42 -42
  15. package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.d.ts +6 -5
  16. package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.js +135 -134
  17. package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/serialize.d.ts +9 -0
  18. package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/serialize.js +61 -0
  19. package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.d.ts +6 -5
  20. package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.js +172 -175
  21. package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.d.ts +1 -1
  22. package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.js +72 -72
  23. package/dist/implementation/generated/pareto/schemas/authoring_target/serialize.d.ts +3 -0
  24. package/dist/implementation/generated/pareto/schemas/authoring_target/serialize.js +37 -0
  25. package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.d.ts +1 -1
  26. package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.js +48 -48
  27. package/dist/implementation/generated/pareto/schemas/ide/marshall.d.ts +1 -1
  28. package/dist/implementation/generated/pareto/schemas/ide/marshall.js +29 -29
  29. package/dist/implementation/generated/pareto/schemas/ide/serialize.d.ts +4 -0
  30. package/dist/implementation/generated/pareto/schemas/ide/serialize.js +41 -0
  31. package/dist/implementation/generated/pareto/schemas/ide/unmarshall.d.ts +1 -1
  32. package/dist/implementation/generated/pareto/schemas/ide/unmarshall.js +25 -25
  33. package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.d.ts +1 -1
  34. package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.js +66 -66
  35. package/dist/implementation/generated/pareto/schemas/sealed_target/serialize.d.ts +3 -0
  36. package/dist/implementation/generated/pareto/schemas/sealed_target/serialize.js +37 -0
  37. package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.d.ts +1 -1
  38. package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.js +46 -46
  39. package/dist/implementation/generated/pareto/schemas/token/marshall.d.ts +5 -5
  40. package/dist/implementation/generated/pareto/schemas/token/marshall.js +132 -132
  41. package/dist/implementation/generated/pareto/schemas/token/serialize.d.ts +11 -0
  42. package/dist/implementation/generated/pareto/schemas/token/serialize.js +69 -0
  43. package/dist/implementation/generated/pareto/schemas/token/unmarshall.d.ts +5 -5
  44. package/dist/implementation/generated/pareto/schemas/token/unmarshall.js +122 -120
  45. package/dist/implementation/manual/schemas/annotated_characters/deserializers.js +37 -21
  46. package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.js +5 -2
  47. package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.js +37 -5
  48. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/new_interface_signatures.d.ts +8 -0
  49. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/new_interface_signatures.js +3 -0
  50. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/temp.d.ts +3 -0
  51. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/temp.js +55 -0
  52. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +17 -10
  53. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +115 -142
  54. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.js +3 -17
  55. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.js +3 -3
  56. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.js +3 -3
  57. package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +12 -5
  58. package/dist/implementation/manual/schemas/token/productions/annotated_character.js +76 -63
  59. package/dist/implementation/manual/text_to_text/convert_to_json.js +1 -1
  60. package/dist/interface/generated/pareto/core/astn_source.d.ts +9 -9
  61. package/dist/interface/generated/pareto/core/astn_target.d.ts +15 -15
  62. package/dist/interface/generated/pareto/core/parse_result.d.ts +2 -2
  63. package/dist/interface/generated/pareto/core/resolved.d.ts +12 -12
  64. package/dist/interface/generated/pareto/core/token.d.ts +4 -4
  65. package/dist/interface/generated/pareto/core/unconstrained.d.ts +3 -3
  66. package/dist/interface/generated/pareto/core/unresolved.d.ts +10 -10
  67. package/dist/interface/generated/pareto/schemas/astn_schema/data_types/resolve.d.ts +548 -548
  68. package/dist/interface/generated/pareto/schemas/astn_schema/data_types/source.d.ts +119 -160
  69. package/dist/interface/generated/pareto/schemas/astn_schema/data_types/target.d.ts +119 -160
  70. package/dist/interface/generated/pareto/schemas/astn_schema/marshall.d.ts +56 -56
  71. package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +65 -65
  72. package/dist/interface/generated/pareto/schemas/astn_schema/serialize.d.ts +288 -0
  73. package/dist/interface/generated/pareto/schemas/astn_schema/serialize.js +3 -0
  74. package/dist/interface/generated/pareto/schemas/astn_schema/unmarshall.d.ts +65 -65
  75. package/dist/interface/generated/pareto/schemas/astn_schema/value_deserializers.d.ts +10 -10
  76. package/dist/interface/generated/pareto/schemas/astn_schema/value_serializers.d.ts +10 -10
  77. package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/resolve.js +1 -1
  78. package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/source.d.ts +77 -77
  79. package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target.d.ts +77 -77
  80. package/dist/interface/generated/pareto/schemas/authoring_parse_result/marshall.d.ts +1 -1
  81. package/dist/interface/generated/pareto/schemas/authoring_parse_result/migrate_boilerplate.d.ts +1 -1
  82. package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +54 -0
  83. package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.js +3 -0
  84. package/dist/interface/generated/pareto/schemas/authoring_parse_result/unmarshall.d.ts +1 -1
  85. package/dist/interface/generated/pareto/schemas/authoring_parse_result/value_deserializers.d.ts +10 -10
  86. package/dist/interface/generated/pareto/schemas/authoring_parse_result/value_serializers.d.ts +10 -10
  87. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/resolve.js +1 -1
  88. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/source.d.ts +347 -356
  89. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target.d.ts +347 -356
  90. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/marshall.d.ts +66 -36
  91. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/migrate_boilerplate.d.ts +68 -46
  92. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/serialize.d.ts +210 -0
  93. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/serialize.js +3 -0
  94. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/unmarshall.d.ts +71 -41
  95. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/value_deserializers.d.ts +10 -10
  96. package/dist/interface/generated/pareto/schemas/authoring_parse_tree/value_serializers.d.ts +10 -10
  97. package/dist/interface/generated/pareto/schemas/authoring_target/data_types/resolve.js +1 -1
  98. package/dist/interface/generated/pareto/schemas/authoring_target/data_types/source.d.ts +145 -145
  99. package/dist/interface/generated/pareto/schemas/authoring_target/data_types/target.d.ts +145 -145
  100. package/dist/interface/generated/pareto/schemas/authoring_target/marshall.d.ts +12 -12
  101. package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +14 -14
  102. package/dist/interface/generated/pareto/schemas/authoring_target/serialize.d.ts +54 -0
  103. package/dist/interface/generated/pareto/schemas/authoring_target/serialize.js +3 -0
  104. package/dist/interface/generated/pareto/schemas/authoring_target/unmarshall.d.ts +13 -13
  105. package/dist/interface/generated/pareto/schemas/authoring_target/value_deserializers.d.ts +10 -10
  106. package/dist/interface/generated/pareto/schemas/authoring_target/value_serializers.d.ts +10 -10
  107. package/dist/interface/generated/pareto/schemas/ide/data_types/resolve.js +1 -1
  108. package/dist/interface/generated/pareto/schemas/ide/data_types/source.d.ts +54 -54
  109. package/dist/interface/generated/pareto/schemas/ide/data_types/target.d.ts +54 -54
  110. package/dist/interface/generated/pareto/schemas/ide/marshall.d.ts +17 -17
  111. package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +14 -14
  112. package/dist/interface/generated/pareto/schemas/ide/serialize.d.ts +80 -0
  113. package/dist/interface/generated/pareto/schemas/ide/serialize.js +3 -0
  114. package/dist/interface/generated/pareto/schemas/ide/unmarshall.d.ts +17 -17
  115. package/dist/interface/generated/pareto/schemas/ide/value_deserializers.d.ts +10 -10
  116. package/dist/interface/generated/pareto/schemas/ide/value_serializers.d.ts +10 -10
  117. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/resolve.js +1 -1
  118. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/source.d.ts +114 -114
  119. package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.d.ts +114 -114
  120. package/dist/interface/generated/pareto/schemas/sealed_target/marshall.d.ts +12 -12
  121. package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +14 -14
  122. package/dist/interface/generated/pareto/schemas/sealed_target/serialize.d.ts +54 -0
  123. package/dist/interface/generated/pareto/schemas/sealed_target/serialize.js +3 -0
  124. package/dist/interface/generated/pareto/schemas/sealed_target/unmarshall.d.ts +13 -13
  125. package/dist/interface/generated/pareto/schemas/sealed_target/value_deserializers.d.ts +10 -10
  126. package/dist/interface/generated/pareto/schemas/sealed_target/value_serializers.d.ts +10 -10
  127. package/dist/interface/generated/pareto/schemas/token/data_types/resolve.js +1 -1
  128. package/dist/interface/generated/pareto/schemas/token/data_types/source.d.ts +196 -189
  129. package/dist/interface/generated/pareto/schemas/token/data_types/target.d.ts +196 -189
  130. package/dist/interface/generated/pareto/schemas/token/marshall.d.ts +56 -56
  131. package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +66 -66
  132. package/dist/interface/generated/pareto/schemas/token/serialize.d.ts +262 -0
  133. package/dist/interface/generated/pareto/schemas/token/serialize.js +3 -0
  134. package/dist/interface/generated/pareto/schemas/token/unmarshall.d.ts +59 -59
  135. package/dist/interface/generated/pareto/schemas/token/value_deserializers.d.ts +10 -10
  136. package/dist/interface/generated/pareto/schemas/token/value_serializers.d.ts +10 -10
  137. package/dist/modules/pareto-json/implementation/generated/pareto/generic/unmarshall.d.ts +6 -6
  138. package/dist/modules/pareto-json/interface/generated/pareto/core/astn_source.d.ts +9 -9
  139. package/dist/modules/pareto-json/interface/generated/pareto/core/astn_target.d.ts +15 -15
  140. package/dist/modules/pareto-json/interface/generated/pareto/core/parse_result.d.ts +2 -2
  141. package/dist/modules/pareto-json/interface/generated/pareto/core/resolved.d.ts +12 -12
  142. package/dist/modules/pareto-json/interface/generated/pareto/core/token.d.ts +4 -4
  143. package/dist/modules/pareto-json/interface/generated/pareto/core/unconstrained.d.ts +3 -3
  144. package/dist/modules/pareto-json/interface/generated/pareto/core/unresolved.d.ts +10 -10
  145. package/dist/shorthands/parse_result.d.ts +0 -2
  146. package/dist/shorthands/parse_result.js +17 -12
  147. package/package.json +6 -6
  148. package/dist/implementation/generated/pareto/generic/parse/ast.d.ts +0 -10
  149. package/dist/implementation/generated/pareto/generic/parse/ast.js +0 -245
  150. package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.d.ts +0 -16
  151. package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.js +0 -47
  152. package/dist/implementation/generated/pareto/generic/parse/parse.d.ts +0 -5
  153. package/dist/implementation/generated/pareto/generic/parse/parse.js +0 -55
  154. package/dist/implementation/generated/pareto/generic/parse/string_iterator.d.ts +0 -40
  155. package/dist/implementation/generated/pareto/generic/parse/string_iterator.js +0 -132
  156. package/dist/implementation/generated/pareto/generic/parse/token.d.ts +0 -10
  157. package/dist/implementation/generated/pareto/generic/parse/token.js +0 -519
  158. package/dist/implementation/manual/create_stream_to_stream_command.d.ts +0 -3
  159. package/dist/implementation/manual/create_stream_to_stream_command.js +0 -53
  160. package/dist/implementation/manual/schemas/parse_result/serializers.d.ts +0 -10
  161. package/dist/implementation/manual/schemas/parse_result/serializers.js +0 -83
  162. package/dist/modules/default_tool_signatures/command_creators/create_file_to_file_command.d.ts +0 -3
  163. package/dist/modules/default_tool_signatures/command_creators/create_file_to_file_command.js +0 -59
  164. package/dist/modules/default_tool_signatures/command_creators/create_stream_to_stream_command.d.ts +0 -3
  165. package/dist/modules/default_tool_signatures/command_creators/create_stream_to_stream_command.js +0 -53
  166. package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.d.ts +0 -6
  167. package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.js +0 -59
  168. package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.d.ts +0 -3
  169. package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.js +0 -53
  170. package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +0 -4
  171. package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.js +0 -33
  172. package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +0 -4
  173. package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.js +0 -37
  174. package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.d.ts +0 -4
  175. package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.js +0 -59
  176. package/dist/modules/default_tool_signatures/implementation/manual/schemas/transform_file/serializers.d.ts +0 -2
  177. package/dist/modules/default_tool_signatures/implementation/manual/schemas/transform_file/serializers.js +0 -39
  178. package/dist/modules/default_tool_signatures/interface/signatures.d.ts +0 -18
  179. package/dist/modules/default_tool_signatures/interface/signatures.js +0 -3
  180. package/dist/modules/default_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +0 -11
  181. package/dist/modules/default_tool_signatures/interface/to_be_generated/file_in_file_out.js +0 -3
  182. package/dist/modules/default_tool_signatures/interface/to_be_generated/transform_file.d.ts +0 -2
  183. package/dist/modules/default_tool_signatures/interface/to_be_generated/transform_file.js +0 -3
  184. package/dist/modules/file_transformer/implementation/manual/command_creators/transform_file.d.ts +0 -5
  185. package/dist/modules/file_transformer/implementation/manual/command_creators/transform_file.js +0 -59
  186. package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +0 -4
  187. package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/productions/text.js +0 -33
  188. package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +0 -4
  189. package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/refiners/main.js +0 -37
  190. package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/serializers.d.ts +0 -4
  191. package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/serializers.js +0 -60
  192. package/dist/modules/file_transformer/implementation/manual/schemas/transform_file/serializers.d.ts +0 -2
  193. package/dist/modules/file_transformer/implementation/manual/schemas/transform_file/serializers.js +0 -40
  194. package/dist/modules/file_transformer/interface/signatures.d.ts +0 -12
  195. package/dist/modules/file_transformer/interface/signatures.js +0 -3
  196. package/dist/modules/file_transformer/interface/to_be_generated/file_in_file_out.d.ts +0 -12
  197. package/dist/modules/file_transformer/interface/to_be_generated/file_in_file_out.js +0 -3
  198. package/dist/modules/file_transformer/interface/to_be_generated/transform_file.d.ts +0 -3
  199. package/dist/modules/file_transformer/interface/to_be_generated/transform_file.js +0 -3
@@ -1,83 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Parse_Error = void 0;
27
- const _p = __importStar(require("pareto-core-serializer"));
28
- const list_of_separated_texts_1 = require("pareto-standard-operations/dist/implementation/temp_serializers/schemas/list_of_separated_texts");
29
- const Parse_Error = ($, $p) => {
30
- const extra = _p.sg($p['position info'], ($) => {
31
- switch ($[0]) {
32
- case 'zero based': return 0;
33
- case 'one based': return 1;
34
- default: return _p.au($[0]);
35
- }
36
- });
37
- const Parse_Error_Type = ($) => _p.sg($, ($) => {
38
- switch ($[0]) {
39
- case 'lexer': return _p.ss($, ($) => _p.sg($, ($) => {
40
- switch ($[0]) {
41
- case 'unexpected control character': return `found unexpected control character`;
42
- case 'unexpected end of line in delimited string': return `found unexpected end of line in delimited string`;
43
- case 'missing character after escape': return `found missing character after escape`;
44
- case 'unexpected character': return `found unexpected character`;
45
- case 'unterminated string': return `found unterminated string`;
46
- case 'unterminated block comment': return `found unterminated block comment`;
47
- case 'unterminated unicode escape sequence': return `found unterminated unicode escape sequence`;
48
- case 'invalid unicode escape sequence': return `found invalid unicode escape sequence`;
49
- case 'unknown escape character': return `found unknown escape character`;
50
- case 'unexpected end of input': return `found unexpected end of input`;
51
- case 'dangling slash': return `found dangling slash`;
52
- default: return _p.au($[0]);
53
- }
54
- }));
55
- case 'parser': return _p.ss($, ($) => `expected ${(0, list_of_separated_texts_1.$$)($.expected.map(($) => _p.sg($, ($) => {
56
- switch ($[0]) {
57
- case '!': return "'!'";
58
- case ')': return "')'";
59
- case ',': return "','";
60
- case ':': return "':'";
61
- case '>': return "'>'";
62
- case '@': return "'@'";
63
- case ']': return "']'";
64
- case 'a string': return "a string";
65
- case 'a value': return "a value";
66
- case '}': return "'}'";
67
- case '#': return "'#'";
68
- default: return _p.au($[0]);
69
- }
70
- })), { 'separator': " or " })}, found ${_p.sg($.cause, ($) => {
71
- switch ($[0]) {
72
- case 'unexpected token': return _p.ss($, ($) => $.found[0]);
73
- case 'missing token': return _p.ss($, ($) => `nothing`);
74
- default: return _p.au($[0]);
75
- }
76
- })}`);
77
- default: return _p.au($[0]);
78
- }
79
- });
80
- return `failed to parse ASTN, ${Parse_Error_Type($.type)} @ ${$.range.start.relative.line + extra}:${$.range.start.relative.column + extra}`;
81
-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FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLE1BQU0sR0FBRyxLQUFLLEVBQUUsQ0FBQTtBQUNoSixDQUFDLENBQUM7QUF2RFcsUUFBQSxXQUFXLGVBdUR0QiJ9
@@ -1,3 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as signatures from "../../../interface/signatures";
3
- export declare const $$: (func: _pi.Text_Deserializer<string>) => signatures.commands.file_in_to_file_out;
@@ -1,59 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.$$ = void 0;
27
- const _p = __importStar(require("pareto-core-command"));
28
- //dependencies
29
- const s_read_file = __importStar(require("pareto-resources/dist/implementation/manual/schemas/read_file/serializers"));
30
- const s_write_file = __importStar(require("pareto-resources/dist/implementation/manual/schemas/write_file/serializers"));
31
- const $$ = (func) => {
32
- return _p.command_procedure(($p, $cr, $qr) => [
33
- _p.create_error_handling_context([
34
- _p.query($qr['read file'](sss, ($) => ['could not read file', $]), ($, abort) => func($, ($) => abort(['deserialization failed', $])), ($v) => [
35
- $cr['write file'].execute({
36
- 'data': $v,
37
- 'path': xxx,
38
- }, ($) => ['could not write file', $])
39
- ])
40
- ], ($) => [
41
- $cr['log error'].execute({
42
- 'lines': _p.list.literal([_p.sg($, ($) => {
43
- switch ($[0]) {
44
- case 'could not read file': return _p.ss($, ($) => `could not read file` + s_read_file.Error($));
45
- case 'deserialization failed': return _p.ss($, ($) => $);
46
- case 'could not write file': return _p.ss($, ($) => `could not write file` + s_write_file.Error($));
47
- default: return _p.au($[0]);
48
- }
49
- })]),
50
- }, ($) => ({
51
- 'exit code': 2
52
- }))
53
- ], ({
54
- 'exit code': 1,
55
- })),
56
- ]);
57
- };
58
- exports.$$ = $$;
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlX2ZpbGVfdG9fZmlsZV9jb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvZGVmYXVsdF90b29sX3NpZ25hdHVyZXMvY29tbWFuZF9jcmVhdG9ycy9jcmVhdGVfZmlsZV90b19maWxlX2NvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx3REFBeUM7QUFXekMsY0FBYztBQUNkLHVIQUF3RztBQUN4Ryx5SEFBMEc7QUFRbkcsTUFBTSxFQUFFLEdBQUcsQ0FBQyxJQUFtQyxFQUEyQyxFQUFFO0lBQy9GLE9BQU8sRUFBRSxDQUFDLGlCQUFpQixDQUN2QixDQUFDLEVBQUUsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLEVBQUUsQ0FBQztRQUVkLEVBQUUsQ0FBQyw2QkFBNkIsQ0FDNUI7WUFDSSxFQUFFLENBQUMsS0FBSyxDQUNKLEdBQUcsQ0FBQyxXQUFXLENBQUMsQ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3QkFBd0IsQ0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFBOzRCQUN4RCxLQUFLLHNCQUFzQixDQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsc0JBQXNCLEdBQUcsWUFBWSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBOzRCQUNuRyxPQUFPLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7d0JBQy9CLENBQUM7b0JBQ0wsQ0FBQyxDQUFDLENBQUMsQ0FBQzthQUNQLEVBQ0QsQ0FBQyxDQUFDLEVBQWdCLEVBQUUsQ0FBQyxDQUFDO2dCQUNsQixXQUFXLEVBQUUsQ0FBQzthQUNqQixDQUFDLENBQ0w7U0FDSixFQUNELENBQUM7WUFDRyxXQUFXLEVBQUUsQ0FBQztTQUNqQixDQUFDLENBQ0w7S0FDSixDQUNKLENBQUE7QUFDTCxDQUFDLENBQUE7QUFqRFksUUFBQSxFQUFFLE1BaURkIn0=
@@ -1,3 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as signatures from "../../../interface/signatures";
3
- export declare const $$: (func: _pi.Text_Deserializer<string>) => signatures.commands.stream_in_to_stream_out;
@@ -1,53 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.$$ = void 0;
27
- const _p = __importStar(require("pareto-core-command"));
28
- const $$ = (func) => {
29
- return _p.command_procedure(($p, $cr, $qr) => [
30
- _p.create_error_handling_context([
31
- _p.query($qr['get instream data'](null, ($) => ['could not read instream', null]), ($, abort) => func($, ($) => abort(['deserialization failed', $])), ($v) => [
32
- $cr['write to stdout'].execute($v, ($) => ['could not write to stdout', null])
33
- ])
34
- ], ($) => [
35
- $cr['log error'].execute({
36
- 'lines': _p.list.literal([_p.sg($, ($) => {
37
- switch ($[0]) {
38
- case 'could not read instream': return _p.ss($, ($) => `could not read instream`);
39
- case 'deserialization failed': return _p.ss($, ($) => $);
40
- case 'could not write to stdout': return _p.ss($, ($) => `could not write to stdout`);
41
- default: return _p.au($[0]);
42
- }
43
- })]),
44
- }, ($) => ({
45
- 'exit code': 2
46
- }))
47
- ], ({
48
- 'exit code': 1,
49
- })),
50
- ]);
51
- };
52
- exports.$$ = $$;
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlX3N0cmVhbV90b19zdHJlYW1fY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2RlZmF1bHRfdG9vbF9zaWduYXR1cmVzL2N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
- import * as signatures from "../../../interface/signatures";
3
- export type Creator = (deserializer: _pi.Deserializer_With_Parameters<string, string, {
4
- 'uri': string;
5
- }>) => signatures.commands.transform_file;
6
- export declare const $$: Creator;
@@ -1,59 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.$$ = void 0;
27
- const _p = __importStar(require("pareto-core-command"));
28
- //dependencies
29
- const r_file_in_file_out_from_main = __importStar(require("../schemas/file_in_file_out/refiners/main"));
30
- const s_path = __importStar(require("pareto-resources/dist/implementation/manual/schemas/path/serializers"));
31
- const s_transform_file = __importStar(require("../schemas/transform_file/serializers"));
32
- const $$ = (deserializer) => _p.command_procedure(($p, $cr, $qr) => [
33
- _p.create_error_handling_context([
34
- _p.refine_without_error_transformation((abort) => r_file_in_file_out_from_main.Parameters($p, ($) => abort(['file in file out', ['command line arguments', $]])), ($r) => [
35
- _p.query($qr['read file']($r.in, ($) => {
36
- return ['file in file out', ['reading file', $]];
37
- }), ($, abort) => ({
38
- 'path': $r.out,
39
- 'data': deserializer($, ($) => abort(['processing', $]), {
40
- 'uri': s_path.Node_Path($r.in),
41
- }),
42
- }), ($v) => [
43
- $cr['write file'].execute($v, ($) => {
44
- return ['file in file out', ['writing file', $]];
45
- })
46
- ])
47
- ]),
48
- ], ($) => [
49
- $cr['log error'].execute({
50
- 'lines': _p.list.literal([s_transform_file.My_Error($)])
51
- }, ($) => ({
52
- 'exit code': 2
53
- }))
54
- ], {
55
- 'exit code': 1
56
- }),
57
- ]);
58
- exports.$$ = $$;
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlX2ZpbGVfdG9fZmlsZV9jb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvZGVmYXVsdF90b29sX3NpZ25hdHVyZXMvaW1wbGVtZW50YXRpb24vbWFudWFsL2NvbW1hbmRfY3JlYXRvcnMvY3JlYXRlX2ZpbGVfdG9fZmlsZV9jb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsd0RBQXlDO0FBVXpDLGNBQWM7QUFDZCx3R0FBeUY7QUFDekYsNkdBQThGO0FBQzlGLHdGQUF5RTtBQWNsRSxNQUFNLEVBQUUsR0FBWSxDQUFDLFlBQVksRUFBRSxFQUFFLENBQUMsRUFBRSxDQUFDLGlCQUFpQixDQUFDLENBQUMsRUFBRSxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsRUFBRSxDQUFDO0lBRWhGLEVBQUUsQ0FBQyw2QkFBNkIsQ0FDNUI7UUFFSSxFQUFFLENBQUMsbUNBQW1DLENBQ2xDLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyw0QkFBNEIsQ0FBQyxVQUFVLENBQUMsRUFBRSxFQUFFLENBQUMsQ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VBQUUsRUFBRSxDQUFDO1FBQ0gsR0FBRyxDQUFDLFdBQVcsQ0FBQyxDQUFDLE9BQU8sQ0FDcEI7WUFDSSxPQUFPLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQyxnQkFBZ0IsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztTQUMzRCxFQUNELENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1lBQ0osV0FBVyxFQUFFLENBQUM7U0FDakIsQ0FBQyxDQUNMO0tBQ0osRUFDRDtRQUNJLFdBQVcsRUFBRSxDQUFDO0tBQ2pCLENBQ0o7Q0FDSixDQUFDLENBQUE7QUFyRFcsUUFBQSxFQUFFLE1BcURiIn0=
@@ -1,3 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as signatures from "../../../interface/signatures";
3
- export declare const $$: (func: _pi.Text_Deserializer<string>) => signatures.commands.stream_in_to_stream_out;
@@ -1,53 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.$$ = void 0;
27
- const _p = __importStar(require("pareto-core-command"));
28
- const $$ = (func) => {
29
- return _p.command_procedure(($p, $cr, $qr) => [
30
- _p.create_error_handling_context([
31
- _p.query($qr['get instream data'](null, ($) => ['could not read instream', null]), ($, abort) => func($, ($) => abort(['deserialization failed', $])), ($v) => [
32
- $cr['write to stdout'].execute($v, ($) => ['could not write to stdout', null])
33
- ])
34
- ], ($) => [
35
- $cr['log error'].execute({
36
- 'lines': _p.list.literal([_p.sg($, ($) => {
37
- switch ($[0]) {
38
- case 'could not read instream': return _p.ss($, ($) => `could not read instream`);
39
- case 'deserialization failed': return _p.ss($, ($) => $);
40
- case 'could not write to stdout': return _p.ss($, ($) => `could not write to stdout`);
41
- default: return _p.au($[0]);
42
- }
43
- })]),
44
- }, ($) => ({
45
- 'exit code': 2
46
- }))
47
- ], ({
48
- 'exit code': 1,
49
- })),
50
- ]);
51
- };
52
- exports.$$ = $$;
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlX3N0cmVhbV90b19zdHJlYW1fY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2RlZmF1bHRfdG9vbF9zaWduYXR1cmVzL2ltcGxlbWVudGF0aW9uL21hbnVhbC9jb21tYW5kX2NyZWF0b3JzL2NyZWF0ZV9zdHJlYW1fdG9fc3RyZWFtX2NvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx3REFBeUM7QUFlbEMsTUFBTSxFQUFFLEdBQUcsQ0FBQyxJQUFtQyxFQUErQyxFQUFFO0lBQ25HLE9BQU8sRUFBRSxDQUFDLGlCQUFpQixDQUN2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BQUUsQ0FBQyx5QkFBeUIsQ0FBQyxDQUFBOzRCQUNqRixLQUFLLHdCQUF3QixDQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUE7NEJBQ3hELEtBQUssMkJBQTJCLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQywyQkFBMkIsQ0FBQyxDQUFBOzRCQUNyRixPQUFPLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7d0JBQy9CLENBQUM7b0JBQ0wsQ0FBQyxDQUFDLENBQUMsQ0FBQzthQUNQLEVBQ0QsQ0FBQyxDQUFDLEVBQWdCLEVBQUUsQ0FBQyxDQUFDO2dCQUNsQixXQUFXLEVBQUUsQ0FBQzthQUNqQixDQUFDLENBQ0w7U0FDSixFQUNELENBQUM7WUFDRyxXQUFXLEVBQUUsQ0FBQztTQUNqQixDQUFDLENBQ0w7S0FDSixDQUNKLENBQUE7QUFDTCxDQUFDLENBQUE7QUE5Q1ksUUFBQSxFQUFFLE1BOENkIn0=
@@ -1,4 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as d_file_in_file_out from "../../../../../interface/to_be_generated/file_in_file_out";
3
- export type Signature = _pi.Production<d_file_in_file_out.Path, d_file_in_file_out.Path_Error, string>;
4
- export declare const Path: Signature;
@@ -1,33 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Path = void 0;
27
- //dependencies
28
- const ds_path = __importStar(require("pareto-resources/dist/implementation/manual/schemas/node_path/deserializers"));
29
- const Path = (iterator, abort) => ds_path.Node_Path(iterator.consume(($) => $, () => abort(['missing', null])), ($) => abort(['not valid', null]), {
30
- 'pedantic': true,
31
- });
32
- exports.Path = Path;
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2RlZmF1bHRfdG9vbF9zaWduYXR1cmVzL2ltcGxlbWVudGF0aW9uL21hbnVhbC9zY2hlbWFzL2ZpbGVfaW5fZmlsZV9vdXQvcHJvZHVjdGlvbnMvdGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQVFBLGNBQWM7QUFDZCxxSEFBc0c7QUFFL0YsTUFBTSxJQUFJLEdBQWMsQ0FBQyxRQUFRLEVBQUUsS0FBSyxFQUFFLEVBQUUsQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUNqRSxRQUFRLENBQUMsT0FBTyxDQUNaLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQ1IsR0FBRyxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsU0FBUyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQ2pDLEVBQ0QsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLEtBQUssQ0FBQyxDQUFDLFdBQVcsRUFBRSxJQUFJLENBQUMsQ0FBQyxFQUNqQztJQUNJLFVBQVUsRUFBRSxJQUFJO0NBQ25CLENBQ0osQ0FBQTtBQVRZLFFBQUEsSUFBSSxRQVNoQiJ9
@@ -1,4 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as d_file_in_file_out from "../../../../../interface/to_be_generated/file_in_file_out";
3
- import * as d_main from "pareto-resources/dist/interface/to_be_generated/temp_main";
4
- export declare const Parameters: _pi.Refiner<d_file_in_file_out.Parameters, d_file_in_file_out.Error, d_main.Parameters>;
@@ -1,37 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Parameters = void 0;
27
- const _p = __importStar(require("pareto-core-refiner"));
28
- //dependencies
29
- const p_file_in_file_out = __importStar(require("../productions/text"));
30
- const Parameters = ($, abort) => {
31
- return _p.iterate($.arguments, (iter) => iter['assert finished'](() => ({
32
- 'in': p_file_in_file_out.Path(iter, ($) => abort(['in path', $])),
33
- 'out': p_file_in_file_out.Path(iter, ($) => abort(['out path', $])),
34
- }), ($) => abort(['too many arguments', null])));
35
- };
36
- exports.Parameters = Parameters;
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2RlZmF1bHRfdG9vbF9zaWduYXR1cmVzL2ltcGxlbWVudGF0aW9uL21hbnVhbC9zY2hlbWFzL2ZpbGVfaW5fZmlsZV9vdXQvcmVmaW5lcnMvbWFpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdEQUF5QztBQU96QyxjQUFjO0FBQ2Qsd0VBQXlEO0FBRWxELE1BQU0sVUFBVSxHQUluQixDQUFDLENBQUMsRUFBRSxLQUFLLEVBQUUsRUFBRTtJQUNiLE9BQU8sRUFBRSxDQUFDLE9BQU8sQ0FDYixDQUFDLENBQUMsU0FBUyxFQUNYLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsaUJBQWlCLENBQUMsQ0FDN0IsR0FBRyxFQUFFLENBQUMsQ0FBQztRQUNILElBQUksRUFBRSxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUNqRSxLQUFLLEVBQUUsa0JBQWtCLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUM7S0FDdEUsQ0FBQyxFQUNGLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxvQkFBb0IsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUU3QyxDQUNKLENBQUE7QUFFTCxDQUFDLENBQUE7QUFqQlksUUFBQSxVQUFVLGNBaUJ0QiJ9
@@ -1,4 +0,0 @@
1
- import * as d_file_in_file_out from "../../../../interface/to_be_generated/file_in_file_out";
2
- export declare const Path_Error: ($: d_file_in_file_out.Path_Error) => string;
3
- export declare const Error: ($: d_file_in_file_out.Error) => string;
4
- export declare const Command_Error: ($: d_file_in_file_out.Command_Error) => string;
@@ -1,59 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Command_Error = exports.Error = exports.Path_Error = void 0;
27
- const _p = __importStar(require("pareto-core-serializer"));
28
- //dependencies
29
- const t_read_file = __importStar(require("pareto-resources/dist/implementation/manual/schemas/read_file/transformers/fountain_pen"));
30
- const s_fp = __importStar(require("pareto-fountain-pen/dist/implementation/manual/schemas/block/serializers"));
31
- const s_file_in_file_out = __importStar(require("./serializers"));
32
- const Path_Error = ($) => _p.sg($, ($) => {
33
- switch ($[0]) {
34
- case 'missing': return _p.ss($, ($) => `missing`);
35
- case 'not valid': return _p.ss($, ($) => `not valid`);
36
- default: return _p.au($[0]);
37
- }
38
- });
39
- exports.Path_Error = Path_Error;
40
- const Error = ($) => _p.sg($, ($) => {
41
- switch ($[0]) {
42
- case 'too many arguments': return _p.ss($, ($) => `too many arguments`);
43
- case 'in path': return _p.ss($, ($) => `in path: ` + (0, exports.Path_Error)($));
44
- case 'out path': return _p.ss($, ($) => `out path: ` + (0, exports.Path_Error)($));
45
- default: return _p.au($[0]);
46
- }
47
- });
48
- exports.Error = Error;
49
- const Command_Error = ($) => _p.sg($, ($) => {
50
- switch ($[0]) {
51
- case 'command line arguments': return _p.ss($, ($) => `command line arguments: ` + s_file_in_file_out.Error($));
52
- case 'reading file': return _p.ss($, ($) => `error reading: ` + s_fp.Block_Part(t_read_file.Error($), { 'indentation': ` `, 'newline': '\n' }));
53
- case 'deserializing': return _p.ss($, ($) => `error deserializing: ` + $);
54
- case 'writing file': return _p.ss($, ($) => `error writing file`);
55
- default: return _p.au($[0]);
56
- }
57
- });
58
- exports.Command_Error = Command_Error;
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9kZWZhdWx0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BSyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDL0csS0FBSyxjQUFjLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxpQkFBaUIsR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLFdBQVcsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxhQUFhLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUE7UUFDbEosS0FBSyxlQUFlLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyx1QkFBdUIsR0FBRyxDQUFDLENBQUMsQ0FBQTtRQUN6RSxLQUFLLGNBQWMsQ0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLG9CQUFvQixDQUFDLENBQUE7UUFDakUsT0FBTyxDQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQy9CLENBQUM7QUFDTCxDQUFDLENBQUMsQ0FBQTtBQVJXLFFBQUEsYUFBYSxpQkFReEIifQ==
@@ -1,2 +0,0 @@
1
- import * as d_transform_file from "../../../../interface/to_be_generated/transform_file";
2
- export declare const My_Error: ($: d_transform_file.Error) => string;
@@ -1,39 +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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.My_Error = void 0;
27
- const _p = __importStar(require("pareto-core-serializer"));
28
- const s_file_in_file_out = __importStar(require("../file_in_file_out/serializers"));
29
- const My_Error = ($) => {
30
- return _p.sg($, ($) => {
31
- switch ($[0]) {
32
- case 'processing': return _p.ss($, ($) => `error processing: ` + $);
33
- case 'file in file out': return _p.ss($, ($) => `file in file out: ` + s_file_in_file_out.Command_Error($));
34
- default: return _p.au($[0]);
35
- }
36
- });
37
- };
38
- exports.My_Error = My_Error;
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9kZWZhdWx0X3Rvb2xfc2lnbmF0dXJlcy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvc2NoZW1hcy90cmFuc2Zvcm1fZmlsZS9zZXJpYWxpemVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDJEQUE0QztBQUk1QyxvRkFBcUU7QUFFOUQsTUFBTSxRQUFRLEdBQUcsQ0FBQyxDQUF5QixFQUFVLEVBQUU7SUFDMUQsT0FBTyxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBVSxFQUFFO1FBQzFCLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7WUFDWCxLQUFLLFlBQVksQ0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLG9CQUFvQixHQUFHLENBQUMsQ0FBQyxDQUFBO1lBQ25FLEtBQUssa0JBQWtCLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxvQkFBb0IsR0FBRyxrQkFBa0IsQ0FBQyxhQUFhLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtZQUMzRyxPQUFPLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDL0IsQ0FBQztJQUNMLENBQUMsQ0FBQyxDQUFBO0FBQ04sQ0FBQyxDQUFBO0FBUlksUUFBQSxRQUFRLFlBUXBCIn0=
@@ -1,18 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as resources_exupery from "pareto-resources/dist/interface/resources";
3
- export declare namespace queries {
4
- }
5
- export declare namespace commands {
6
- type transform_file = _pi.Command_Procedure<resources_exupery.commands.main, {
7
- 'write file': resources_exupery.commands.write_file;
8
- 'log error': resources_exupery.commands.log_error;
9
- }, {
10
- 'read file': resources_exupery.queries.read_file;
11
- }>;
12
- type stream_in_to_stream_out = _pi.Command_Procedure<resources_exupery.commands.main, {
13
- 'log error': resources_exupery.commands.log_error;
14
- 'write to stdout': resources_exupery.commands.write_to_stdout;
15
- }, {
16
- 'get instream data': resources_exupery.queries.get_instream_data;
17
- }>;
18
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmF0dXJlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2RlZmF1bHRfdG9vbF9zaWduYXR1cmVzL2ludGVyZmFjZS9zaWduYXR1cmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,11 +0,0 @@
1
- import * as d_path from "pareto-resources/dist/interface/generated/pareto/schemas/path/data_types/target";
2
- import * as d_read_file from "pareto-resources/dist/interface/generated/pareto/schemas/read_file/data_types/source";
3
- import * as d_write_file from "pareto-resources/dist/interface/generated/pareto/schemas/write_file/data_types/target";
4
- export type Path_Error = ['missing', null] | ['not valid', null];
5
- export type Error = ['in path', Path_Error] | ['out path', Path_Error] | ['too many arguments', null];
6
- export type Command_Error = ['command line arguments', Error] | ['reading file', d_read_file.Error] | ['deserializing', string] | ['writing file', d_write_file.Error];
7
- export type Parameters = {
8
- 'in': Path;
9
- 'out': Path;
10
- };
11
- export type Path = d_path.Node_Path;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZV9pbl9maWxlX291dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2RlZmF1bHRfdG9vbF9zaWduYXR1cmVzL2ludGVyZmFjZS90b19iZV9nZW5lcmF0ZWQvZmlsZV9pbl9maWxlX291dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,2 +0,0 @@
1
- import * as d_file_in_file_out from "./file_in_file_out";
2
- export type Error = ['processing', string] | ['file in file out', d_file_in_file_out.Command_Error];
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmb3JtX2ZpbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9kZWZhdWx0X3Rvb2xfc2lnbmF0dXJlcy9pbnRlcmZhY2UvdG9fYmVfZ2VuZXJhdGVkL3RyYW5zZm9ybV9maWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,5 +0,0 @@
1
- import * as _pi from 'pareto-core-interface';
2
- import * as signatures from "../../../interface/signatures";
3
- import * as d_deserialize_resolved_model from "astn-sealed/dist/interface/to_be_generated/deserialize_resolved_model";
4
- export type Creator = (deserializer: _pi.Deserializer_With_Parameters<string, d_deserialize_resolved_model.Error, d_deserialize_resolved_model.Parameters>) => signatures.commands.transform_file;
5
- export declare const $$: Creator;