astn 0.113.90 → 0.113.92

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 (60) hide show
  1. package/dist/declarations/commands.d.ts +25 -0
  2. package/dist/declarations/commands.js +2 -0
  3. package/dist/declarations/queries.d.ts +13 -0
  4. package/dist/declarations/queries.js +2 -0
  5. package/dist/declarations/refiners/ide/parse_tree.d.ts +1 -0
  6. package/dist/declarations/refiners/ide/parse_tree.js +2 -0
  7. package/dist/declarations/refiners/included_parse_tree/parse_tree.d.ts +1 -0
  8. package/dist/declarations/refiners/included_parse_tree/parse_tree.js +2 -0
  9. package/dist/declarations/transformers/authoring_target/prose.d.ts +12 -0
  10. package/dist/declarations/transformers/authoring_target/prose.js +2 -0
  11. package/dist/declarations/transformers/authoring_target/text.d.ts +14 -0
  12. package/dist/declarations/transformers/authoring_target/text.js +2 -0
  13. package/dist/declarations/transformers/parse_tree/authoring_target.d.ts +9 -0
  14. package/dist/declarations/transformers/parse_tree/authoring_target.js +2 -0
  15. package/dist/{interface → declarations}/transformers/parse_tree/ide.d.ts +3 -3
  16. package/dist/declarations/transformers/parse_tree/ide.js +2 -0
  17. package/dist/declarations/transformers/parse_tree/includes.d.ts +7 -0
  18. package/dist/declarations/transformers/parse_tree/includes.js +2 -0
  19. package/dist/declarations/transformers/parse_tree/json_target.d.ts +7 -0
  20. package/dist/declarations/transformers/parse_tree/json_target.js +2 -0
  21. package/dist/declarations/transformers/parse_tree/text.d.ts +7 -0
  22. package/dist/declarations/transformers/parse_tree/text.js +2 -0
  23. package/dist/implementation/manual/queries/convert_to_json.d.ts +1 -1
  24. package/dist/implementation/manual/queries/convert_to_json.js +2 -6
  25. package/dist/implementation/manual/queries/format.d.ts +1 -1
  26. package/dist/implementation/manual/queries/format.js +2 -6
  27. package/dist/implementation/manual/queries/validate.d.ts +1 -1
  28. package/dist/implementation/manual/queries/validate.js +2 -6
  29. package/dist/implementation/manual/refiners/ide/parse_tree.js +17 -17
  30. package/dist/implementation/manual/refiners/included_parse_tree/parse_tree.js +8 -8
  31. package/dist/implementation/manual/transformers/authoring_target/prose.d.ts +1 -14
  32. package/dist/implementation/manual/transformers/authoring_target/prose.js +13 -13
  33. package/dist/implementation/manual/transformers/authoring_target/text.d.ts +3 -16
  34. package/dist/implementation/manual/transformers/authoring_target/text.js +1 -4
  35. package/dist/implementation/manual/transformers/parse_tree/authoring_target.d.ts +7 -7
  36. package/dist/implementation/manual/transformers/parse_tree/authoring_target.js +7 -9
  37. package/dist/implementation/manual/transformers/parse_tree/includes.d.ts +1 -9
  38. package/dist/implementation/manual/transformers/parse_tree/includes.js +6 -10
  39. package/dist/implementation/manual/transformers/parse_tree/json_target.d.ts +5 -5
  40. package/dist/implementation/manual/transformers/parse_tree/json_target.js +6 -8
  41. package/dist/implementation/manual/transformers/parse_tree/text.d.ts +2 -8
  42. package/dist/implementation/manual/transformers/parse_tree/text.js +1 -4
  43. package/dist/interface/data/includes.d.ts +1 -1
  44. package/dist/interface/data/includes.js +1 -2
  45. package/package.json +5 -5
  46. package/dist/implementation/manual/commands/convert_to_json.d.ts +0 -2
  47. package/dist/implementation/manual/commands/convert_to_json.js +0 -19
  48. package/dist/implementation/manual/commands/format.d.ts +0 -2
  49. package/dist/implementation/manual/commands/format.js +0 -19
  50. package/dist/implementation/manual/commands/validate.d.ts +0 -2
  51. package/dist/implementation/manual/commands/validate.js +0 -19
  52. package/dist/interface/commands.d.ts +0 -25
  53. package/dist/interface/commands.js +0 -6
  54. package/dist/interface/queries.d.ts +0 -13
  55. package/dist/interface/queries.js +0 -4
  56. package/dist/interface/transformers/parse_tree/authoring_target.d.ts +0 -9
  57. package/dist/interface/transformers/parse_tree/authoring_target.js +0 -4
  58. package/dist/interface/transformers/parse_tree/ide.js +0 -5
  59. package/dist/interface/transformers/parse_tree/json_target.d.ts +0 -7
  60. package/dist/interface/transformers/parse_tree/json_target.js +0 -4
@@ -1,19 +0,0 @@
1
- import * as p_ from 'pareto-core/implementation/command';
2
- import * as interface_ from "../../../interface/commands.js";
3
- //data types
4
- import * as d_main from "pareto-resources/interface/data/temp_main";
5
- //dependencies
6
- import * as c_file_to_file from "pareto-common/implementation/manual/commands/stream_to_stream";
7
- import * as q_validate from "../queries/validate.js";
8
- export const $$ = p_.command_procedure(($d, $s, $q, $c) => [
9
- c_file_to_file.$$(null, {
10
- 'get instream data': $q['get instream data'],
11
- 'process data': q_validate.$$($s, null)
12
- }, {
13
- 'write to stdout': $c['write to stdout'],
14
- 'log error': $c['log error'],
15
- }).execute({
16
- 'arguments': $d.arguments
17
- }, ($) => $),
18
- ]);
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vbWFudWFsL2NvbW1hbmRzL3ZhbGlkYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sb0NBQW9DLENBQUE7QUFFeEQsT0FBTyxLQUFLLFVBQVUsTUFBTSxnQ0FBZ0MsQ0FBQTtBQUU1RCxZQUFZO0FBQ1osT0FBTyxLQUFLLE1BQU0sTUFBTSwyQ0FBMkMsQ0FBQTtBQUVuRSxjQUFjO0FBQ2QsT0FBTyxLQUFLLGNBQWMsTUFBTSwrREFBK0QsQ0FBQTtBQUMvRixPQUFPLEtBQUssVUFBVSxNQUFNLHdCQUF3QixDQUFBO0FBRXBELE1BQU0sQ0FBQyxNQUFNLEVBQUUsR0FBOEMsRUFBRSxDQUFDLGlCQUFpQixDQUM3RSxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUM7SUFDaEIsY0FBYyxDQUFDLEVBQUUsQ0FDYixJQUFJLEVBQ0o7UUFDSSxtQkFBbUIsRUFBRSxFQUFFLENBQUMsbUJBQW1CLENBQUM7UUFDNUMsY0FBYyxFQUFFLFVBQVUsQ0FBQyxFQUFFLENBQ3pCLEVBQUUsRUFDRixJQUFJLENBQ1A7S0FDSixFQUNEO1FBQ0ksaUJBQWlCLEVBQUUsRUFBRSxDQUFDLGlCQUFpQixDQUFDO1FBQ3hDLFdBQVcsRUFBRSxFQUFFLENBQUMsV0FBVyxDQUFDO0tBQy9CLENBQ0osQ0FBQyxPQUFPLENBQ0w7UUFDSSxXQUFXLEVBQUUsRUFBRSxDQUFDLFNBQVM7S0FDNUIsRUFDRCxDQUFDLENBQUMsRUFBZ0IsRUFBRSxDQUFDLENBQUMsQ0FDekI7Q0FDSixDQUNKLENBQUEifQ==
@@ -1,25 +0,0 @@
1
- import * as p_ from 'pareto-core/interface/command';
2
- import * as resources_pareto from "pareto-resources/interface/resources";
3
- import * as commands_pareto_stream from "pareto-stream/interface/commands";
4
- import * as queries_pareto_stream from "pareto-stream/interface/queries";
5
- import * as d_serialize_prose from "pareto-fountain-pen/interface/data/prose_serialize";
6
- export declare namespace procedures {
7
- type process_file_data = p_.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;
12
- }, {
13
- 'write file': resources_pareto.filesystem_unrestricted.commands.write_file;
14
- 'log error': commands_pareto_stream.commands.log_error;
15
- }>;
16
- type process_stream_data = p_.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;
21
- }, {
22
- 'write to stdout': commands_pareto_stream.commands.write_to_stdout;
23
- 'log error': commands_pareto_stream.commands.log_error;
24
- }>;
25
- }
@@ -1,6 +0,0 @@
1
- import * as p_ from 'pareto-core/interface/command';
2
- import * as resources_pareto from "pareto-resources/interface/resources";
3
- import * as commands_pareto_stream from "pareto-stream/interface/commands";
4
- import * as queries_pareto_stream from "pareto-stream/interface/queries";
5
- import * as d_serialize_prose from "pareto-fountain-pen/interface/data/prose_serialize";
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlL2NvbW1hbmRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sK0JBQStCLENBQUE7QUFFbkQsT0FBTyxLQUFLLGdCQUFnQixNQUFNLHNDQUFzQyxDQUFBO0FBQ3hFLE9BQU8sS0FBSyxzQkFBc0IsTUFBTSxrQ0FBa0MsQ0FBQTtBQUMxRSxPQUFPLEtBQUsscUJBQXFCLE1BQU0saUNBQWlDLENBQUE7QUFFeEUsT0FBTyxLQUFLLGlCQUFpQixNQUFNLG9EQUFvRCxDQUFBIn0=
@@ -1,13 +0,0 @@
1
- import * as p_ from 'pareto-core/interface/query';
2
- import * as queries_common from "pareto-common/interface/queries";
3
- import * as d_serialize_prose from "pareto-fountain-pen/interface/data/prose_serialize";
4
- export declare namespace functions {
5
- type process_file_data = p_.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_.Query_Function<queries_common.queries.process_stream_data, {
10
- 'tab size': number;
11
- 'serialization parameters': d_serialize_prose.Parameters;
12
- }, null>;
13
- }
@@ -1,4 +0,0 @@
1
- import * as p_ from 'pareto-core/interface/query';
2
- import * as queries_common from "pareto-common/interface/queries";
3
- import * as d_serialize_prose from "pareto-fountain-pen/interface/data/prose_serialize";
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcmllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcmZhY2UvcXVlcmllcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLDZCQUE2QixDQUFBO0FBRWpELE9BQU8sS0FBSyxjQUFjLE1BQU0saUNBQWlDLENBQUE7QUFFakUsT0FBTyxLQUFLLGlCQUFpQixNQUFNLG9EQUFvRCxDQUFBIn0=
@@ -1,9 +0,0 @@
1
- import * as p_i from 'pareto-core/interface/transformer';
2
- import * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
3
- import * as d_out from "../../generated/liana/schemas/authoring_target/data.js";
4
- export type Value = p_i.Transformer<d_in.Value, d_out.Value>;
5
- export type Concrete_Value = p_i.Transformer<d_in.Value.type_.concrete, d_out.Value.data.concrete>;
6
- export type ID_Value_Pairs = p_i.Transformer<d_in.ID_Value_Pairs, d_out.ID_Value_Pairs>;
7
- export type Items = p_i.Transformer<d_in.Items, d_out.Items>;
8
- export type Structural_Token = p_i.Transformer<d_in.Structural_Token, d_out.Token_Trivia>;
9
- export type Document = p_i.Transformer<d_in.Document, d_out.Document>;
@@ -1,4 +0,0 @@
1
- import * as p_i from 'pareto-core/interface/transformer';
2
- import * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
3
- import * as d_out from "../../generated/liana/schemas/authoring_target/data.js";
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yaW5nX3RhcmdldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvdHJhbnNmb3JtZXJzL3BhcnNlX3RyZWUvYXV0aG9yaW5nX3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssR0FBRyxNQUFNLG1DQUFtQyxDQUFBO0FBRXhELE9BQU8sS0FBSyxJQUFJLE1BQU0sNkRBQTZELENBQUE7QUFDbkYsT0FBTyxLQUFLLEtBQUssTUFBTSx3REFBd0QsQ0FBQSJ9
@@ -1,5 +0,0 @@
1
- import * as p_ti from 'pareto-core/interface/transformer';
2
- import * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
3
- import * as d_in_token from "astn-core/interface/generated/liana/schemas/token/data";
4
- import * as d_out from "../../generated/liana/schemas/ide/data.js";
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS90cmFuc2Zvcm1lcnMvcGFyc2VfdHJlZS9pZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLElBQUksTUFBTSxtQ0FBbUMsQ0FBQTtBQUV6RCxPQUFPLEtBQUssSUFBSSxNQUFNLDZEQUE2RCxDQUFBO0FBQ25GLE9BQU8sS0FBSyxVQUFVLE1BQU0sd0RBQXdELENBQUE7QUFDcEYsT0FBTyxLQUFLLEtBQUssTUFBTSwyQ0FBMkMsQ0FBQSJ9
@@ -1,7 +0,0 @@
1
- import * as p_i from 'pareto-core/interface/transformer';
2
- import * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
3
- import * as d_out from "pareto-json/interface/generated/liana/schemas/json_without_guaranteed_unique_keys/data";
4
- export type Value = p_i.Transformer<d_in.Value, d_out.Value>;
5
- export type ID_Value_Pairs = p_i.Transformer<d_in.ID_Value_Pairs, d_out.Value.object_>;
6
- export type Items = p_i.Transformer<d_in.Items, d_out.Value.array>;
7
- export type Document = p_i.Transformer<d_in.Document, d_out.Document>;
@@ -1,4 +0,0 @@
1
- import * as p_i from 'pareto-core/interface/transformer';
2
- import * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
3
- import * as d_out from "pareto-json/interface/generated/liana/schemas/json_without_guaranteed_unique_keys/data";
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbl90YXJnZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RyYW5zZm9ybWVycy9wYXJzZV90cmVlL2pzb25fdGFyZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxHQUFHLE1BQU0sbUNBQW1DLENBQUE7QUFFeEQsT0FBTyxLQUFLLElBQUksTUFBTSw2REFBNkQsQ0FBQTtBQUNuRixPQUFPLEtBQUssS0FBSyxNQUFNLHdGQUF3RixDQUFBIn0=