astn 0.113.29 → 0.113.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/implementation/manual/schemas/authoring_parse_result/serializers.d.ts +1 -1
  2. package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.d.ts +2 -2
  3. package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.js +20 -8
  4. package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.d.ts +2 -2
  5. package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.js +2 -7
  6. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +15 -15
  7. package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +39 -39
  8. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.d.ts +2 -2
  9. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.js +24 -24
  10. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.d.ts +1 -1
  11. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.js +21 -21
  12. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.d.ts +1 -1
  13. package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.js +21 -21
  14. package/dist/implementation/manual/schemas/authoring_target/transformers/fountain_pen_block.js +139 -106
  15. package/dist/implementation/manual/schemas/sealed_target/serializers.d.ts +4 -0
  16. package/dist/implementation/manual/schemas/sealed_target/serializers.js +35 -0
  17. package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.d.ts +3 -3
  18. package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +31 -26
  19. package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +3 -3
  20. package/dist/implementation/manual/schemas/token/productions/annotated_character.js +7 -7
  21. package/dist/implementation/manual/text_to_text/convert_to_json.js +2 -2
  22. package/dist/interface/generated/pareto/schemas/astn_schema/data/resolved.d.ts +150 -0
  23. package/dist/interface/generated/pareto/schemas/astn_schema/data/resolved.js +3 -0
  24. package/dist/interface/generated/pareto/schemas/astn_schema/data/unresolved.d.ts +270 -0
  25. package/dist/interface/generated/pareto/schemas/astn_schema/data/unresolved.js +3 -0
  26. package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +2 -2
  27. package/dist/interface/generated/pareto/schemas/astn_schema/resolve.d.ts +192 -0
  28. package/dist/interface/generated/pareto/schemas/astn_schema/resolve.js +3 -0
  29. package/dist/interface/generated/pareto/schemas/authoring_target/data.d.ts +102 -0
  30. package/dist/interface/generated/pareto/schemas/authoring_target/data.js +3 -0
  31. package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +2 -2
  32. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.d.ts +71 -0
  33. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.js +3 -0
  34. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/resolve.d.ts +1 -0
  35. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/resolve.js +3 -0
  36. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/source.d.ts +63 -0
  37. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/source.js +3 -0
  38. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/target.d.ts +63 -0
  39. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/target.js +3 -0
  40. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/deserialize.d.ts +9 -0
  41. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/deserialize.js +3 -0
  42. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.d.ts +31 -0
  43. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.js +3 -0
  44. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/serialize.d.ts +9 -0
  45. package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/serialize.js +3 -0
  46. package/dist/interface/generated/pareto/schemas/ide/data.d.ts +43 -0
  47. package/dist/interface/generated/pareto/schemas/ide/data.js +3 -0
  48. package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +2 -2
  49. package/dist/interface/generated/pareto/schemas/parse_tree/data.d.ts +182 -0
  50. package/dist/interface/generated/pareto/schemas/parse_tree/data.js +3 -0
  51. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/resolve.d.ts +1 -0
  52. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/resolve.js +3 -0
  53. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/source.d.ts +183 -0
  54. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/source.js +3 -0
  55. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/target.d.ts +183 -0
  56. package/dist/interface/generated/pareto/schemas/parse_tree/data_types/target.js +3 -0
  57. package/dist/interface/generated/pareto/schemas/parse_tree/deserialize.d.ts +58 -0
  58. package/dist/interface/generated/pareto/schemas/parse_tree/deserialize.js +3 -0
  59. package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.d.ts +52 -0
  60. package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.js +3 -0
  61. package/dist/interface/generated/pareto/schemas/parse_tree/serialize.d.ts +58 -0
  62. package/dist/interface/generated/pareto/schemas/parse_tree/serialize.js +3 -0
  63. package/dist/interface/generated/pareto/schemas/sealed_target/data.d.ts +48 -0
  64. package/dist/interface/generated/pareto/schemas/sealed_target/data.js +3 -0
  65. package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +2 -2
  66. package/dist/interface/generated/pareto/schemas/token/data.d.ts +119 -0
  67. package/dist/interface/generated/pareto/schemas/token/data.js +3 -0
  68. package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +11 -11
  69. package/dist/interface/signatures/transformers/authoring_parse_tree/ide.d.ts +3 -3
  70. package/dist/interface/signatures/transformers/authoring_parse_tree/json_target.d.ts +2 -2
  71. package/dist/interface/signatures/transformers/authoring_parse_tree/token.d.ts +2 -2
  72. package/dist/interface/signatures/transformers/authoring_target/fountain_pen_block.d.ts +2 -2
  73. package/dist/interface/signatures/transformers/parse_tree/ide.d.ts +17 -0
  74. package/dist/interface/signatures/transformers/parse_tree/ide.js +3 -0
  75. package/dist/interface/signatures/transformers/parse_tree/json_target.d.ts +7 -0
  76. package/dist/interface/signatures/transformers/parse_tree/json_target.js +3 -0
  77. package/dist/interface/signatures/transformers/parse_tree/token.d.ts +4 -0
  78. package/dist/interface/signatures/transformers/parse_tree/token.js +3 -0
  79. package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +3 -3
  80. package/dist/modules/pareto-json/implementation/manual/schemas/json/serializers.d.ts +1 -1
  81. package/dist/modules/pareto-json/implementation/manual/schemas/json/transformers/fountain_pen_block.d.ts +2 -2
  82. package/dist/modules/pareto-json/shorthands/json.d.ts +1 -1
  83. package/dist/shorthands/parse_result.d.ts +3 -4
  84. package/dist/shorthands/parse_result.js +9 -15
  85. package/package.json +1 -1
@@ -0,0 +1,63 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i_imports_token from "../../token/data_types/source";
3
+ export declare namespace Error_ {
4
+ namespace _type {
5
+ namespace lexer {
6
+ type unexpected_control_character = number;
7
+ type missing_character_after_escape = null;
8
+ type unexpected_end_of_line_in_delimited_string = null;
9
+ type unexpected_character = number;
10
+ type unterminated_string = null;
11
+ type unterminated_block_comment = null;
12
+ type unterminated_unicode_escape_sequence = null;
13
+ type invalid_unicode_escape_sequence = null;
14
+ type unknown_escape_character = null;
15
+ type unexpected_end_of_input = null;
16
+ type dangling_slash = null;
17
+ }
18
+ type lexer = readonly ['unexpected control character', lexer.unexpected_control_character] | readonly ['missing character after escape', lexer.missing_character_after_escape] | readonly ['unexpected end of line in delimited string', lexer.unexpected_end_of_line_in_delimited_string] | readonly ['unexpected character', lexer.unexpected_character] | readonly ['unterminated string', lexer.unterminated_string] | readonly ['unterminated block comment', lexer.unterminated_block_comment] | readonly ['unterminated unicode escape sequence', lexer.unterminated_unicode_escape_sequence] | readonly ['invalid unicode escape sequence', lexer.invalid_unicode_escape_sequence] | readonly ['unknown escape character', lexer.unknown_escape_character] | readonly ['unexpected end of input', lexer.unexpected_end_of_input] | readonly ['dangling slash', lexer.dangling_slash];
19
+ namespace parser {
20
+ namespace expected {
21
+ namespace L {
22
+ type a_string = null;
23
+ type a_value = null;
24
+ type $ex_ = null;
25
+ type $gt_ = null;
26
+ type $cc_ = null;
27
+ type $at_ = null;
28
+ type $cm_ = null;
29
+ type $cl_ = null;
30
+ type $pc_ = null;
31
+ type $bc_ = null;
32
+ type $ha_ = null;
33
+ }
34
+ type L = readonly ['a string', L.a_string] | readonly ['a value', L.a_value] | readonly ['!', L.$ex_] | readonly ['>', L.$gt_] | readonly ['}', L.$cc_] | readonly ['@', L.$at_] | readonly [',', L.$cm_] | readonly [':', L.$cl_] | readonly [')', L.$pc_] | readonly [']', L.$bc_] | readonly ['#', L.$ha_];
35
+ }
36
+ type expected = _pi.List<expected.L>;
37
+ namespace cause {
38
+ type missing_token = null;
39
+ namespace unexpected_token {
40
+ type found = i_imports_token.Token_Type;
41
+ }
42
+ type unexpected_token = {
43
+ readonly 'found': unexpected_token.found;
44
+ };
45
+ }
46
+ type cause = readonly ['missing token', cause.missing_token] | readonly ['unexpected token', cause.unexpected_token];
47
+ }
48
+ type parser = {
49
+ readonly 'expected': parser.expected;
50
+ readonly 'cause': parser.cause;
51
+ };
52
+ }
53
+ type _type = readonly ['lexer', _type.lexer] | readonly ['parser', _type.parser];
54
+ namespace range {
55
+ type O = i_imports_token.Range;
56
+ }
57
+ type range = _pi.Optional_Value<range.O>;
58
+ }
59
+ export type Error_ = {
60
+ readonly 'type': Error_._type;
61
+ readonly 'range': Error_.range;
62
+ };
63
+ export { Error_ as Error, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9nZW5lcmF0ZWQvcGFyZXRvL3NjaGVtYXMvZGVzZXJpYWxpemVfcGFyc2VfdHJlZS9kYXRhX3R5cGVzL3NvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,63 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i_imports_token from "../../token/data_types/source";
3
+ export declare namespace Error_ {
4
+ namespace _type {
5
+ namespace lexer {
6
+ type unexpected_control_character = number;
7
+ type missing_character_after_escape = null;
8
+ type unexpected_end_of_line_in_delimited_string = null;
9
+ type unexpected_character = number;
10
+ type unterminated_string = null;
11
+ type unterminated_block_comment = null;
12
+ type unterminated_unicode_escape_sequence = null;
13
+ type invalid_unicode_escape_sequence = null;
14
+ type unknown_escape_character = null;
15
+ type unexpected_end_of_input = null;
16
+ type dangling_slash = null;
17
+ }
18
+ type lexer = readonly ['unexpected control character', lexer.unexpected_control_character] | readonly ['missing character after escape', lexer.missing_character_after_escape] | readonly ['unexpected end of line in delimited string', lexer.unexpected_end_of_line_in_delimited_string] | readonly ['unexpected character', lexer.unexpected_character] | readonly ['unterminated string', lexer.unterminated_string] | readonly ['unterminated block comment', lexer.unterminated_block_comment] | readonly ['unterminated unicode escape sequence', lexer.unterminated_unicode_escape_sequence] | readonly ['invalid unicode escape sequence', lexer.invalid_unicode_escape_sequence] | readonly ['unknown escape character', lexer.unknown_escape_character] | readonly ['unexpected end of input', lexer.unexpected_end_of_input] | readonly ['dangling slash', lexer.dangling_slash];
19
+ namespace parser {
20
+ namespace expected {
21
+ namespace L {
22
+ type a_string = null;
23
+ type a_value = null;
24
+ type $ex_ = null;
25
+ type $gt_ = null;
26
+ type $cc_ = null;
27
+ type $at_ = null;
28
+ type $cm_ = null;
29
+ type $cl_ = null;
30
+ type $pc_ = null;
31
+ type $bc_ = null;
32
+ type $ha_ = null;
33
+ }
34
+ type L = readonly ['a string', L.a_string] | readonly ['a value', L.a_value] | readonly ['!', L.$ex_] | readonly ['>', L.$gt_] | readonly ['}', L.$cc_] | readonly ['@', L.$at_] | readonly [',', L.$cm_] | readonly [':', L.$cl_] | readonly [')', L.$pc_] | readonly [']', L.$bc_] | readonly ['#', L.$ha_];
35
+ }
36
+ type expected = _pi.List<expected.L>;
37
+ namespace cause {
38
+ type missing_token = null;
39
+ namespace unexpected_token {
40
+ type found = i_imports_token.Token_Type;
41
+ }
42
+ type unexpected_token = {
43
+ readonly 'found': unexpected_token.found;
44
+ };
45
+ }
46
+ type cause = readonly ['missing token', cause.missing_token] | readonly ['unexpected token', cause.unexpected_token];
47
+ }
48
+ type parser = {
49
+ readonly 'expected': parser.expected;
50
+ readonly 'cause': parser.cause;
51
+ };
52
+ }
53
+ type _type = readonly ['lexer', _type.lexer] | readonly ['parser', _type.parser];
54
+ namespace range {
55
+ type O = i_imports_token.Range;
56
+ }
57
+ type range = _pi.Optional_Value<range.O>;
58
+ }
59
+ export type Error_ = {
60
+ readonly 'type': Error_._type;
61
+ readonly 'range': Error_.range;
62
+ };
63
+ export { Error_ as Error, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9nZW5lcmF0ZWQvcGFyZXRvL3NjaGVtYXMvZGVzZXJpYWxpemVfcGFyc2VfdHJlZS9kYXRhX3R5cGVzL3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,9 @@
1
+ import * as i_out from "./data_types/target";
2
+ export declare namespace Error_ {
3
+ type I = string;
4
+ type O = i_out.Error;
5
+ namespace P {
6
+ }
7
+ }
8
+ export type Error_ = ($$_: Error_.I) => Error_.O;
9
+ export { Error_ as Error, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9wYXJldG8vc2NoZW1hcy9kZXNlcmlhbGl6ZV9wYXJzZV90cmVlL2Rlc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,31 @@
1
+ import * as i_out from "./data";
2
+ import * as i_in from "./data";
3
+ export declare namespace Lexer_Error_ {
4
+ type I = i_in.Lexer_Error;
5
+ type O = i_out.Lexer_Error;
6
+ namespace P {
7
+ }
8
+ }
9
+ export type Lexer_Error_ = ($$_: Lexer_Error_.I) => Lexer_Error_.O;
10
+ export declare namespace Expected_ {
11
+ type I = i_in.Expected;
12
+ type O = i_out.Expected;
13
+ namespace P {
14
+ }
15
+ }
16
+ export type Expected_ = ($$_: Expected_.I) => Expected_.O;
17
+ export declare namespace Parser_Error_ {
18
+ type I = i_in.Parser_Error;
19
+ type O = i_out.Parser_Error;
20
+ namespace P {
21
+ }
22
+ }
23
+ export type Parser_Error_ = ($$_: Parser_Error_.I) => Parser_Error_.O;
24
+ export declare namespace Error_ {
25
+ type I = i_in.Error;
26
+ type O = i_out.Error;
27
+ namespace P {
28
+ }
29
+ }
30
+ export type Error_ = ($$_: Error_.I) => Error_.O;
31
+ export { Lexer_Error_ as Lexer_Error, Expected_ as Expected, Parser_Error_ as Parser_Error, Error_ as Error, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2Rlc2VyaWFsaXplX3BhcnNlX3RyZWUvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,9 @@
1
+ import * as i_in from "./data_types/source";
2
+ export declare namespace Error_ {
3
+ type I = i_in.Error;
4
+ type O = string;
5
+ namespace P {
6
+ }
7
+ }
8
+ export type Error_ = ($$_: Error_.I) => Error_.O;
9
+ export { Error_ as Error, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9nZW5lcmF0ZWQvcGFyZXRvL3NjaGVtYXMvZGVzZXJpYWxpemVfcGFyc2VfdHJlZS9zZXJpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -0,0 +1,43 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i__imports_token from "../token/data";
3
+ export declare namespace Relative_Range_ {
4
+ type start = i__imports_token.Relative_Location;
5
+ type end = i__imports_token.Relative_Location;
6
+ }
7
+ export type Relative_Range_ = {
8
+ readonly 'start': Relative_Range_.start;
9
+ readonly 'end': Relative_Range_.end;
10
+ };
11
+ export declare namespace Text_Edits_ {
12
+ namespace L {
13
+ namespace insert {
14
+ type location = i__imports_token.Relative_Location;
15
+ type text = string;
16
+ }
17
+ type insert = {
18
+ readonly 'location': insert.location;
19
+ readonly 'text': insert.text;
20
+ };
21
+ namespace replace {
22
+ type range = Relative_Range_;
23
+ type text = string;
24
+ }
25
+ type replace = {
26
+ readonly 'range': replace.range;
27
+ readonly 'text': replace.text;
28
+ };
29
+ namespace _delete {
30
+ type range = Relative_Range_;
31
+ }
32
+ type _delete = {
33
+ readonly 'range': _delete.range;
34
+ };
35
+ }
36
+ type L = readonly ['insert', L.insert] | readonly ['replace', L.replace] | readonly ['delete', L._delete];
37
+ }
38
+ export type Text_Edits_ = _pi.List<Text_Edits_.L>;
39
+ export declare namespace Key_Value_Pairs_To_Be_Sorted_ {
40
+ type D = string;
41
+ }
42
+ export type Key_Value_Pairs_To_Be_Sorted_ = _pi.Dictionary<Key_Value_Pairs_To_Be_Sorted_.D>;
43
+ export { Relative_Range_ as Relative_Range, Text_Edits_ as Text_Edits, Key_Value_Pairs_To_Be_Sorted_ as Key_Value_Pairs_To_Be_Sorted, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2lkZS9kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,5 +1,5 @@
1
- import * as i_out from "./data_types/target";
2
- import * as i_in from "./data_types/source";
1
+ import * as i_out from "./data";
2
+ import * as i_in from "./data";
3
3
  export declare namespace Relative_Range_ {
4
4
  type I = i_in.Relative_Range;
5
5
  type O = i_out.Relative_Range;
@@ -0,0 +1,182 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i__imports_token from "../token/data";
3
+ export declare namespace Structural_Token_ {
4
+ type trailing_trivia = i__imports_token.Trivia;
5
+ type range = i__imports_token.Range;
6
+ }
7
+ export type Structural_Token_ = {
8
+ readonly 'trailing trivia': Structural_Token_.trailing_trivia;
9
+ readonly 'range': Structural_Token_.range;
10
+ };
11
+ export declare namespace Text_ {
12
+ type trailing_trivia = i__imports_token.Trivia;
13
+ type range = i__imports_token.Range;
14
+ type value = string;
15
+ type _type = i__imports_token.Text_Type;
16
+ }
17
+ export type Text_ = {
18
+ readonly 'trailing trivia': Text_.trailing_trivia;
19
+ readonly 'range': Text_.range;
20
+ readonly 'value': Text_.value;
21
+ readonly 'type': Text_._type;
22
+ };
23
+ export declare namespace Key_Value_Pairs_ {
24
+ namespace L {
25
+ type key = Text_;
26
+ namespace value {
27
+ namespace O {
28
+ type $cl_ = Structural_Token_;
29
+ type value = Value_;
30
+ }
31
+ type O = {
32
+ readonly ':': O.$cl_;
33
+ readonly 'value': O.value;
34
+ };
35
+ }
36
+ type value = _pi.Optional_Value<value.O>;
37
+ }
38
+ type L = {
39
+ readonly 'key': L.key;
40
+ readonly 'value': L.value;
41
+ };
42
+ }
43
+ export type Key_Value_Pairs_ = _pi.List<Key_Value_Pairs_.L>;
44
+ export declare namespace Elements_ {
45
+ namespace L {
46
+ type value = Value_;
47
+ }
48
+ type L = {
49
+ readonly 'value': L.value;
50
+ };
51
+ }
52
+ export type Elements_ = _pi.List<Elements_.L>;
53
+ export declare namespace Value_ {
54
+ namespace _type {
55
+ namespace concrete {
56
+ namespace dictionary {
57
+ type $co_ = Structural_Token_;
58
+ type entries = Key_Value_Pairs_;
59
+ type $cc_ = Structural_Token_;
60
+ }
61
+ type dictionary = {
62
+ readonly '{': dictionary.$co_;
63
+ readonly 'entries': dictionary.entries;
64
+ readonly '}': dictionary.$cc_;
65
+ };
66
+ namespace group {
67
+ namespace concise {
68
+ type $st_ = Structural_Token_;
69
+ type elements = Elements_;
70
+ type $gt_ = Structural_Token_;
71
+ }
72
+ type concise = {
73
+ readonly '<': concise.$st_;
74
+ readonly 'elements': concise.elements;
75
+ readonly '>': concise.$gt_;
76
+ };
77
+ namespace verbose {
78
+ type $po_ = Structural_Token_;
79
+ type entries = Key_Value_Pairs_;
80
+ type $pc_ = Structural_Token_;
81
+ }
82
+ type verbose = {
83
+ readonly '(': verbose.$po_;
84
+ readonly 'entries': verbose.entries;
85
+ readonly ')': verbose.$pc_;
86
+ };
87
+ }
88
+ type group = readonly ['concise', group.concise] | readonly ['verbose', group.verbose];
89
+ namespace list {
90
+ type $bo_ = Structural_Token_;
91
+ type elements = Elements_;
92
+ type $bc_ = Structural_Token_;
93
+ }
94
+ type list = {
95
+ readonly '[': list.$bo_;
96
+ readonly 'elements': list.elements;
97
+ readonly ']': list.$bc_;
98
+ };
99
+ namespace nothing {
100
+ type $ti_ = Structural_Token_;
101
+ }
102
+ type nothing = {
103
+ readonly '~': nothing.$ti_;
104
+ };
105
+ namespace optional {
106
+ namespace _set {
107
+ type $sr_ = Structural_Token_;
108
+ type value = Value_;
109
+ }
110
+ type _set = {
111
+ readonly '*': _set.$sr_;
112
+ readonly 'value': _set.value;
113
+ };
114
+ }
115
+ type optional = readonly ['set', optional._set];
116
+ namespace state_group {
117
+ type $vb_ = Structural_Token_;
118
+ namespace status {
119
+ namespace missing_data {
120
+ type $ha_ = Structural_Token_;
121
+ }
122
+ type missing_data = {
123
+ readonly '#': missing_data.$ha_;
124
+ };
125
+ namespace _set {
126
+ type state = Text_;
127
+ type value = Value_;
128
+ }
129
+ type _set = {
130
+ readonly 'state': _set.state;
131
+ readonly 'value': _set.value;
132
+ };
133
+ }
134
+ type status = readonly ['missing data', status.missing_data] | readonly ['set', status._set];
135
+ }
136
+ type state_group = {
137
+ readonly '|': state_group.$vb_;
138
+ readonly 'status': state_group.status;
139
+ };
140
+ type text = Text_;
141
+ }
142
+ type concrete = readonly ['dictionary', concrete.dictionary] | readonly ['group', concrete.group] | readonly ['list', concrete.list] | readonly ['nothing', concrete.nothing] | readonly ['optional', concrete.optional] | readonly ['state group', concrete.state_group] | readonly ['text', concrete.text];
143
+ namespace include {
144
+ type $at_ = Structural_Token_;
145
+ type path = Text_;
146
+ }
147
+ type include = {
148
+ readonly '@': include.$at_;
149
+ readonly 'path': include.path;
150
+ };
151
+ namespace missing_data {
152
+ type $ha_ = Structural_Token_;
153
+ }
154
+ type missing_data = {
155
+ readonly '#': missing_data.$ha_;
156
+ };
157
+ }
158
+ type _type = readonly ['concrete', _type.concrete] | readonly ['include', _type.include] | readonly ['missing data', _type.missing_data];
159
+ }
160
+ export type Value_ = {
161
+ readonly 'type': Value_._type;
162
+ };
163
+ export type Content_ = Value_;
164
+ export declare namespace Document_ {
165
+ namespace header {
166
+ namespace O {
167
+ type $ex_ = Structural_Token_;
168
+ type value = Value_;
169
+ }
170
+ type O = {
171
+ readonly '!': O.$ex_;
172
+ readonly 'value': O.value;
173
+ };
174
+ }
175
+ type header = _pi.Optional_Value<header.O>;
176
+ type content = Content_;
177
+ }
178
+ export type Document_ = {
179
+ readonly 'header': Document_.header;
180
+ readonly 'content': Document_.content;
181
+ };
182
+ export { Structural_Token_ as Structural_Token, Text_ as Text, Key_Value_Pairs_ as Key_Value_Pairs, Elements_ as Elements, Value_ as Value, Content_ as Content, Document_ as Document, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3BhcnNlX3RyZWUvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3BhcnNlX3RyZWUvZGF0YV90eXBlcy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,183 @@
1
+ import * as _pi from "pareto-core-interface";
2
+ import * as i_imports_token from "../../token/data_types/source";
3
+ export declare namespace Structural_Token_ {
4
+ type trailing_trivia = i_imports_token.Trivia;
5
+ type range = i_imports_token.Range;
6
+ }
7
+ export type Structural_Token_ = {
8
+ readonly 'trailing trivia': Structural_Token_.trailing_trivia;
9
+ readonly 'range': Structural_Token_.range;
10
+ };
11
+ export declare namespace String_ {
12
+ type trailing_trivia = i_imports_token.Trivia;
13
+ type range = i_imports_token.Range;
14
+ type value = string;
15
+ type _type = i_imports_token.String_Type;
16
+ }
17
+ export type String_ = {
18
+ readonly 'trailing trivia': String_.trailing_trivia;
19
+ readonly 'range': String_.range;
20
+ readonly 'value': String_.value;
21
+ readonly 'type': String_._type;
22
+ };
23
+ export declare namespace Key_Value_Pairs_ {
24
+ namespace L {
25
+ type key = String_;
26
+ namespace value {
27
+ namespace O {
28
+ type $cl_ = Structural_Token_;
29
+ type value = Value_;
30
+ }
31
+ type O = {
32
+ readonly ':': O.$cl_;
33
+ readonly 'value': O.value;
34
+ };
35
+ }
36
+ type value = _pi.Optional_Value<value.O>;
37
+ }
38
+ type L = {
39
+ readonly 'key': L.key;
40
+ readonly 'value': L.value;
41
+ };
42
+ }
43
+ export type Key_Value_Pairs_ = _pi.List<Key_Value_Pairs_.L>;
44
+ export declare namespace Elements_ {
45
+ namespace L {
46
+ type value = Value_;
47
+ }
48
+ type L = {
49
+ readonly 'value': L.value;
50
+ };
51
+ }
52
+ export type Elements_ = _pi.List<Elements_.L>;
53
+ export declare namespace Concrete_Value_ {
54
+ namespace indexed_collection {
55
+ namespace dictionary {
56
+ type $co_ = Structural_Token_;
57
+ type entries = Key_Value_Pairs_;
58
+ type $cc_ = Structural_Token_;
59
+ }
60
+ type dictionary = {
61
+ readonly '{': dictionary.$co_;
62
+ readonly 'entries': dictionary.entries;
63
+ readonly '}': dictionary.$cc_;
64
+ };
65
+ namespace verbose_group {
66
+ type $po_ = Structural_Token_;
67
+ type entries = Key_Value_Pairs_;
68
+ type $pc_ = Structural_Token_;
69
+ }
70
+ type verbose_group = {
71
+ readonly '(': verbose_group.$po_;
72
+ readonly 'entries': verbose_group.entries;
73
+ readonly ')': verbose_group.$pc_;
74
+ };
75
+ }
76
+ type indexed_collection = readonly ['dictionary', indexed_collection.dictionary] | readonly ['verbose group', indexed_collection.verbose_group];
77
+ namespace not_set {
78
+ type $ti_ = Structural_Token_;
79
+ }
80
+ type not_set = {
81
+ readonly '~': not_set.$ti_;
82
+ };
83
+ namespace ordered_collection {
84
+ namespace list {
85
+ type $bo_ = Structural_Token_;
86
+ type elements = Elements_;
87
+ type $bc_ = Structural_Token_;
88
+ }
89
+ type list = {
90
+ readonly '[': list.$bo_;
91
+ readonly 'elements': list.elements;
92
+ readonly ']': list.$bc_;
93
+ };
94
+ namespace concise_group {
95
+ type $st_ = Structural_Token_;
96
+ type elements = Elements_;
97
+ type $gt_ = Structural_Token_;
98
+ }
99
+ type concise_group = {
100
+ readonly '<': concise_group.$st_;
101
+ readonly 'elements': concise_group.elements;
102
+ readonly '>': concise_group.$gt_;
103
+ };
104
+ }
105
+ type ordered_collection = readonly ['list', ordered_collection.list] | readonly ['concise group', ordered_collection.concise_group];
106
+ namespace set_optional_value {
107
+ type $sr_ = Structural_Token_;
108
+ type value = Value_;
109
+ }
110
+ type set_optional_value = {
111
+ readonly '*': set_optional_value.$sr_;
112
+ readonly 'value': set_optional_value.value;
113
+ };
114
+ namespace state {
115
+ type $vb_ = Structural_Token_;
116
+ namespace status {
117
+ namespace missing_data {
118
+ type $ha_ = Structural_Token_;
119
+ }
120
+ type missing_data = {
121
+ readonly '#': missing_data.$ha_;
122
+ };
123
+ namespace _set {
124
+ type state = String_;
125
+ type value = Value_;
126
+ }
127
+ type _set = {
128
+ readonly 'state': _set.state;
129
+ readonly 'value': _set.value;
130
+ };
131
+ }
132
+ type status = readonly ['missing data', status.missing_data] | readonly ['set', status._set];
133
+ }
134
+ type state = {
135
+ readonly '|': state.$vb_;
136
+ readonly 'status': state.status;
137
+ };
138
+ type text = String_;
139
+ }
140
+ export type Concrete_Value_ = readonly ['indexed collection', Concrete_Value_.indexed_collection] | readonly ['not set', Concrete_Value_.not_set] | readonly ['ordered collection', Concrete_Value_.ordered_collection] | readonly ['set optional value', Concrete_Value_.set_optional_value] | readonly ['state', Concrete_Value_.state] | readonly ['text', Concrete_Value_.text];
141
+ export declare namespace Value_ {
142
+ namespace _type {
143
+ type concrete = Concrete_Value_;
144
+ namespace include {
145
+ type $at_ = Structural_Token_;
146
+ type path = String_;
147
+ }
148
+ type include = {
149
+ readonly '@': include.$at_;
150
+ readonly 'path': include.path;
151
+ };
152
+ namespace missing_data {
153
+ type $ha_ = Structural_Token_;
154
+ }
155
+ type missing_data = {
156
+ readonly '#': missing_data.$ha_;
157
+ };
158
+ }
159
+ type _type = readonly ['concrete', _type.concrete] | readonly ['include', _type.include] | readonly ['missing data', _type.missing_data];
160
+ }
161
+ export type Value_ = {
162
+ readonly 'type': Value_._type;
163
+ };
164
+ export type Content_ = Value_;
165
+ export declare namespace Document_ {
166
+ namespace header {
167
+ namespace O {
168
+ type $ex_ = Structural_Token_;
169
+ type value = Value_;
170
+ }
171
+ type O = {
172
+ readonly '!': O.$ex_;
173
+ readonly 'value': O.value;
174
+ };
175
+ }
176
+ type header = _pi.Optional_Value<header.O>;
177
+ type content = Content_;
178
+ }
179
+ export type Document_ = {
180
+ readonly 'header': Document_.header;
181
+ readonly 'content': Document_.content;
182
+ };
183
+ export { Structural_Token_ as Structural_Token, String_ as String, Key_Value_Pairs_ as Key_Value_Pairs, Elements_ as Elements, Concrete_Value_ as Concrete_Value, Value_ as Value, Content_ as Content, Document_ as Document, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9nZW5lcmF0ZWQvcGFyZXRvL3NjaGVtYXMvcGFyc2VfdHJlZS9kYXRhX3R5cGVzL3NvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=