astn 0.110.18 → 0.110.20

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 (167) hide show
  1. package/dist/bin/convert_to_json.js +10 -20
  2. package/dist/bin/validate_astn.js +9 -19
  3. package/dist/generated/{interface/schemas/target/resolved.d.ts → generic/astn_target.d.ts} +1 -1
  4. package/dist/generated/generic/astn_target.js +3 -0
  5. package/dist/generated/generic/resolve.d.ts +2 -2
  6. package/dist/generated/generic/resolve.js +14 -22
  7. package/dist/generated/implementation/generic/resolve.d.ts +81 -0
  8. package/dist/generated/implementation/generic/resolve.js +251 -0
  9. package/dist/generated/implementation/generic/unmarshall.d.ts +37 -0
  10. package/dist/generated/implementation/generic/unmarshall.js +168 -0
  11. package/dist/generated/implementation/schemas/ast/marshall.d.ts +7 -0
  12. package/dist/generated/implementation/schemas/ast/marshall.js +227 -0
  13. package/dist/generated/implementation/schemas/ast/serializer.d.ts +14 -0
  14. package/dist/generated/implementation/schemas/ast/serializer.js +328 -0
  15. package/dist/generated/implementation/schemas/ast/unmarshall.d.ts +7 -0
  16. package/dist/generated/implementation/schemas/ast/unmarshall.js +239 -0
  17. package/dist/generated/implementation/schemas/ide/marshall.d.ts +4 -0
  18. package/dist/generated/implementation/schemas/ide/marshall.js +81 -0
  19. package/dist/generated/implementation/schemas/ide/serializer.d.ts +3 -0
  20. package/dist/generated/implementation/schemas/ide/serializer.js +72 -0
  21. package/dist/generated/implementation/schemas/ide/unmarshall.d.ts +4 -0
  22. package/dist/generated/implementation/schemas/ide/unmarshall.js +79 -0
  23. package/dist/generated/implementation/schemas/parse_result/marshall.d.ts +3 -0
  24. package/dist/generated/implementation/schemas/parse_result/marshall.js +184 -0
  25. package/dist/generated/implementation/schemas/parse_result/serializer.d.ts +6 -0
  26. package/dist/generated/implementation/schemas/parse_result/serializer.js +288 -0
  27. package/dist/generated/implementation/schemas/parse_result/unmarshall.d.ts +3 -0
  28. package/dist/generated/implementation/schemas/parse_result/unmarshall.js +103 -0
  29. package/dist/generated/implementation/schemas/target/marshall.d.ts +3 -0
  30. package/dist/generated/implementation/schemas/target/marshall.js +122 -0
  31. package/dist/generated/implementation/schemas/target/serializer.d.ts +3 -0
  32. package/dist/generated/implementation/schemas/target/serializer.js +122 -0
  33. package/dist/generated/implementation/schemas/target/unmarshall.d.ts +3 -0
  34. package/dist/generated/implementation/schemas/target/unmarshall.js +81 -0
  35. package/dist/generated/implementation/schemas/token/marshall.d.ts +11 -0
  36. package/dist/generated/implementation/schemas/token/marshall.js +230 -0
  37. package/dist/generated/implementation/schemas/token/unmarshall.d.ts +11 -0
  38. package/dist/generated/implementation/schemas/token/unmarshall.js +180 -0
  39. package/dist/generated/interface/core/astn_source.d.ts +116 -0
  40. package/dist/generated/interface/core/astn_source.js +3 -0
  41. package/dist/generated/interface/{schemas/target/unresolved.d.ts → core/astn_target.d.ts} +27 -27
  42. package/dist/generated/interface/core/astn_target.js +3 -0
  43. package/dist/generated/interface/core/resolve.d.ts +11 -0
  44. package/dist/generated/interface/core/resolve.js +3 -0
  45. package/dist/generated/interface/core/unconstrained.d.ts +19 -0
  46. package/dist/generated/interface/core/unconstrained.js +3 -0
  47. package/dist/generated/interface/core/unresolved.d.ts +162 -13
  48. package/dist/generated/interface/generic/resolve.d.ts +11 -0
  49. package/dist/generated/interface/generic/resolve.js +3 -0
  50. package/dist/generated/interface/schemas/ast/marshall.d.ts +226 -0
  51. package/dist/generated/interface/schemas/{ide/resolved.js → ast/marshall.js} +1 -1
  52. package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +134 -0
  53. package/dist/generated/interface/schemas/ast/migrate_boilerplate.js +3 -0
  54. package/dist/generated/interface/schemas/ast/serializer.d.ts +436 -0
  55. package/dist/generated/interface/schemas/ast/{unresolved.js → serializer.js} +1 -1
  56. package/dist/generated/interface/schemas/ast/unconstrained.d.ts +20 -210
  57. package/dist/generated/interface/schemas/ast/unmarshall.d.ts +134 -0
  58. package/dist/generated/interface/schemas/{ide/unresolved.js → ast/unmarshall.js} +1 -1
  59. package/dist/generated/interface/schemas/ide/marshall.d.ts +136 -0
  60. package/dist/generated/interface/schemas/{ast/resolved.js → ide/marshall.js} +1 -1
  61. package/dist/generated/interface/schemas/ide/migrate_boilerplate.d.ts +68 -0
  62. package/dist/generated/interface/schemas/ide/migrate_boilerplate.js +3 -0
  63. package/dist/generated/interface/schemas/ide/serializer.d.ts +106 -0
  64. package/dist/generated/interface/schemas/{target/unresolved.js → ide/serializer.js} +1 -1
  65. package/dist/generated/interface/schemas/ide/unconstrained.d.ts +50 -29
  66. package/dist/generated/interface/schemas/ide/unmarshall.d.ts +68 -0
  67. package/dist/generated/interface/schemas/{parse_result/unresolved.js → ide/unmarshall.js} +1 -1
  68. package/dist/generated/interface/schemas/parse_result/marshall.d.ts +106 -0
  69. package/dist/generated/interface/schemas/parse_result/{resolved.js → marshall.js} +1 -1
  70. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.d.ts +46 -0
  71. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.js +3 -0
  72. package/dist/generated/interface/schemas/parse_result/serializer.d.ts +196 -0
  73. package/dist/generated/interface/schemas/parse_result/serializer.js +3 -0
  74. package/dist/generated/interface/schemas/parse_result/unconstrained.d.ts +20 -168
  75. package/dist/generated/interface/schemas/parse_result/unmarshall.d.ts +46 -0
  76. package/dist/generated/interface/schemas/parse_result/unmarshall.js +3 -0
  77. package/dist/generated/interface/schemas/target/marshall.d.ts +126 -0
  78. package/dist/generated/interface/schemas/target/{resolved.js → marshall.js} +1 -1
  79. package/dist/generated/interface/schemas/target/migrate_boilerplate.d.ts +46 -0
  80. package/dist/generated/interface/schemas/target/migrate_boilerplate.js +3 -0
  81. package/dist/generated/interface/schemas/target/serializer.d.ts +126 -0
  82. package/dist/generated/interface/schemas/target/serializer.js +3 -0
  83. package/dist/generated/interface/schemas/target/unconstrained.d.ts +1 -1
  84. package/dist/generated/interface/schemas/target/unmarshall.d.ts +46 -0
  85. package/dist/generated/interface/schemas/target/unmarshall.js +3 -0
  86. package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +1 -1
  87. package/dist/generated/interface/schemas/token/marshall.d.ts +346 -0
  88. package/dist/generated/interface/schemas/token/marshall.js +3 -0
  89. package/dist/generated/interface/schemas/token/migrate_boilerplate.d.ts +222 -0
  90. package/dist/generated/interface/schemas/token/migrate_boilerplate.js +3 -0
  91. package/dist/generated/interface/schemas/token/unconstrained.d.ts +326 -0
  92. package/dist/generated/interface/schemas/token/unconstrained.js +3 -0
  93. package/dist/generated/interface/schemas/token/unmarshall.d.ts +222 -0
  94. package/dist/generated/interface/schemas/token/unmarshall.js +3 -0
  95. package/dist/index.js +8 -18
  96. package/dist/parse/ast.d.ts +10 -0
  97. package/dist/parse/ast.js +227 -0
  98. package/dist/parse/astn_parse_generic.d.ts +8 -0
  99. package/dist/parse/astn_parse_generic.js +65 -0
  100. package/dist/parse/parse.d.ts +3 -10
  101. package/dist/parse/parse.js +19 -226
  102. package/dist/parse/parse_generic.d.ts +7 -42
  103. package/dist/parse/parse_generic.js +14 -605
  104. package/dist/{transformations/parse_generic.d.ts → parse/string_iterator.d.ts} +19 -15
  105. package/dist/parse/string_iterator.js +139 -0
  106. package/dist/parse/token.d.ts +9 -0
  107. package/dist/parse/token.js +506 -0
  108. package/dist/parse/tokenize.d.ts +8 -0
  109. package/dist/parse/tokenize.js +483 -0
  110. package/dist/serializers/json.js +8 -18
  111. package/dist/serializers/parse_result.js +8 -18
  112. package/dist/transformations/ast/ide.d.ts +3 -2
  113. package/dist/transformations/ast/ide.js +8 -18
  114. package/dist/transformations/ast/json_target.d.ts +1 -1
  115. package/dist/transformations/ast/json_target.js +8 -18
  116. package/dist/transformations/target/fountain_pen_block.js +10 -20
  117. package/dist/transformations/target_json/fountain_pen_block.js +8 -18
  118. package/package.json +5 -7
  119. package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +0 -1108
  120. package/dist/generated/interface/schemas/ast/poormans_parser.js +0 -3
  121. package/dist/generated/interface/schemas/ast/resolved.d.ts +0 -1108
  122. package/dist/generated/interface/schemas/ast/unresolved.d.ts +0 -1108
  123. package/dist/generated/interface/schemas/ide/poormans_parser.d.ts +0 -161
  124. package/dist/generated/interface/schemas/ide/poormans_parser.js +0 -3
  125. package/dist/generated/interface/schemas/ide/resolved.d.ts +0 -161
  126. package/dist/generated/interface/schemas/ide/unresolved.d.ts +0 -161
  127. package/dist/generated/interface/schemas/parse_result/poormans_parser.d.ts +0 -416
  128. package/dist/generated/interface/schemas/parse_result/poormans_parser.js +0 -3
  129. package/dist/generated/interface/schemas/parse_result/resolved.d.ts +0 -416
  130. package/dist/generated/interface/schemas/parse_result/unresolved.d.ts +0 -416
  131. package/dist/generated/interface/schemas/target/poormans_parser.d.ts +0 -186
  132. package/dist/generated/interface/schemas/target/poormans_parser.js +0 -3
  133. package/dist/generated/interface/schemas/target_json/poormans_parser.d.ts +0 -169
  134. package/dist/generated/interface/schemas/target_json/poormans_parser.js +0 -3
  135. package/dist/generated/interface/schemas/target_json/resolved.d.ts +0 -169
  136. package/dist/generated/interface/schemas/target_json/resolved.js +0 -3
  137. package/dist/generated/interface/schemas/target_json/unresolved.d.ts +0 -169
  138. package/dist/generated/interface/schemas/target_json/unresolved.js +0 -3
  139. package/dist/lib/globals.d.ts +0 -24
  140. package/dist/lib/globals.js +0 -2
  141. package/dist/lib/transformations/create_error_message.d.ts +0 -5
  142. package/dist/lib/transformations/create_error_message.js +0 -89
  143. package/dist/lib/transformations/format.d.ts +0 -42
  144. package/dist/lib/transformations/format.js +0 -166
  145. package/dist/lib/transformations/fountain_pen/astn.d.ts +0 -11
  146. package/dist/lib/transformations/fountain_pen/astn.js +0 -156
  147. package/dist/lib/transformations/fountain_pen/json.d.ts +0 -4
  148. package/dist/lib/transformations/fountain_pen/json.js +0 -113
  149. package/dist/lib/transformations/parse.d.ts +0 -11
  150. package/dist/lib/transformations/parse.js +0 -257
  151. package/dist/lib/transformations/parse_generic.d.ts +0 -43
  152. package/dist/lib/transformations/parse_generic.js +0 -644
  153. package/dist/transformations/create_error_message.d.ts +0 -5
  154. package/dist/transformations/create_error_message.js +0 -89
  155. package/dist/transformations/format.d.ts +0 -42
  156. package/dist/transformations/format.js +0 -166
  157. package/dist/transformations/fountain_pen/astn.d.ts +0 -11
  158. package/dist/transformations/fountain_pen/astn.js +0 -166
  159. package/dist/transformations/fountain_pen/json.d.ts +0 -4
  160. package/dist/transformations/fountain_pen/json.js +0 -123
  161. package/dist/transformations/parse.d.ts +0 -11
  162. package/dist/transformations/parse.js +0 -257
  163. package/dist/transformations/parse_generic.js +0 -644
  164. package/dist/transformations/target/fountain_pen/astn.d.ts +0 -11
  165. package/dist/transformations/target/fountain_pen/astn.js +0 -156
  166. package/dist/transformations/target/fountain_pen/json.d.ts +0 -4
  167. package/dist/transformations/target/fountain_pen/json.js +0 -113
@@ -0,0 +1,106 @@
1
+ import * as _i_in from "./unconstrained";
2
+ import * as _i_out from "../../core/astn_target";
3
+ export type _T_Value_Serializers = {
4
+ readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
+ readonly 'custom numbers': null;
6
+ readonly 'default number': ($$_: number, $$_p: null) => string;
7
+ };
8
+ export type _T_s_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Key_Value_Pairs_To_Be_Sorted, $$_p: {
9
+ readonly 'value serializers': _T_Value_Serializers;
10
+ }) => _i_out._T_Value;
11
+ export type _T_s_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: {
12
+ readonly 'value serializers': _T_Value_Serializers;
13
+ }) => _i_out._T_Value;
14
+ export type Value_Serializers = _T_Value_Serializers;
15
+ export type s_Key_Value_Pairs_To_Be_Sorted = _T_s_Key_Value_Pairs_To_Be_Sorted;
16
+ export type s_Text_Edits = _T_s_Text_Edits;
17
+ export declare namespace _T_Value_Serializers {
18
+ namespace _boolean {
19
+ type CONTEXT = boolean;
20
+ namespace PARAMS {
21
+ }
22
+ type RESULT = string;
23
+ }
24
+ type _boolean = ($$_: boolean, $$_p: null) => string;
25
+ namespace custom_numbers {
26
+ }
27
+ type custom_numbers = null;
28
+ namespace default_number {
29
+ type CONTEXT = number;
30
+ namespace PARAMS {
31
+ }
32
+ type RESULT = string;
33
+ }
34
+ type default_number = ($$_: number, $$_p: null) => string;
35
+ }
36
+ export declare namespace _T_s_Key_Value_Pairs_To_Be_Sorted {
37
+ namespace CONTEXT {
38
+ }
39
+ type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
40
+ namespace PARAMS {
41
+ namespace value_serializers {
42
+ }
43
+ type value_serializers = _T_Value_Serializers;
44
+ }
45
+ namespace RESULT {
46
+ }
47
+ type RESULT = _i_out._T_Value;
48
+ }
49
+ export declare namespace _T_s_Text_Edits {
50
+ namespace CONTEXT {
51
+ }
52
+ type CONTEXT = _i_in._T_Text_Edits;
53
+ namespace PARAMS {
54
+ namespace value_serializers {
55
+ }
56
+ type value_serializers = _T_Value_Serializers;
57
+ }
58
+ namespace RESULT {
59
+ }
60
+ type RESULT = _i_out._T_Value;
61
+ }
62
+ export declare namespace Value_Serializers {
63
+ namespace _boolean {
64
+ type CONTEXT = boolean;
65
+ namespace PARAMS {
66
+ }
67
+ type RESULT = string;
68
+ }
69
+ type _boolean = ($$_: boolean, $$_p: null) => string;
70
+ namespace custom_numbers {
71
+ }
72
+ type custom_numbers = null;
73
+ namespace default_number {
74
+ type CONTEXT = number;
75
+ namespace PARAMS {
76
+ }
77
+ type RESULT = string;
78
+ }
79
+ type default_number = ($$_: number, $$_p: null) => string;
80
+ }
81
+ export declare namespace s_Key_Value_Pairs_To_Be_Sorted {
82
+ namespace CONTEXT {
83
+ }
84
+ type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
85
+ namespace PARAMS {
86
+ namespace value_serializers {
87
+ }
88
+ type value_serializers = _T_Value_Serializers;
89
+ }
90
+ namespace RESULT {
91
+ }
92
+ type RESULT = _i_out._T_Value;
93
+ }
94
+ export declare namespace s_Text_Edits {
95
+ namespace CONTEXT {
96
+ }
97
+ type CONTEXT = _i_in._T_Text_Edits;
98
+ namespace PARAMS {
99
+ namespace value_serializers {
100
+ }
101
+ type value_serializers = _T_Value_Serializers;
102
+ }
103
+ namespace RESULT {
104
+ }
105
+ type RESULT = _i_out._T_Value;
106
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0L3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3NlcmlhbGl6ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,76 +1,89 @@
1
- import * as _i_core from "../../core/resolved";
2
- import * as _i_imports_ast from "../ast/unconstrained";
1
+ import * as _i_core from "../../core/unconstrained";
2
+ import * as _i_imports_token from "../token/unconstrained";
3
3
  export type _T_Key_Value_Pairs_To_Be_Sorted = _i_core._T_Dictionary<null, string>;
4
+ export type _T_Relative_Range = {
5
+ readonly 'end': _i_imports_token._T_Relative_Location;
6
+ readonly 'start': _i_imports_token._T_Relative_Location;
7
+ };
4
8
  export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
5
9
  'delete',
6
10
  {
7
- readonly 'range': _i_imports_ast._T_Relative_Range;
11
+ readonly 'range': _T_Relative_Range;
8
12
  }
9
13
  ] | readonly [
10
14
  'insert',
11
15
  {
12
- readonly 'location': _i_imports_ast._T_Relative_Location;
16
+ readonly 'location': _i_imports_token._T_Relative_Location;
13
17
  readonly 'text': string;
14
18
  }
15
19
  ] | readonly [
16
20
  'replace',
17
21
  {
18
- readonly 'range': _i_imports_ast._T_Relative_Range;
22
+ readonly 'range': _T_Relative_Range;
19
23
  readonly 'text': string;
20
24
  }
21
25
  ]>>;
22
26
  export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
27
+ export type Relative_Range = _T_Relative_Range;
23
28
  export type Text_Edits = _T_Text_Edits;
24
29
  export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
25
30
  type D = string;
26
31
  }
32
+ export declare namespace _T_Relative_Range {
33
+ namespace end {
34
+ }
35
+ type end = _i_imports_token._T_Relative_Location;
36
+ namespace start {
37
+ }
38
+ type start = _i_imports_token._T_Relative_Location;
39
+ }
27
40
  export declare namespace _T_Text_Edits {
28
41
  namespace L {
29
42
  namespace SG {
30
43
  namespace _delete {
31
44
  namespace range {
32
45
  }
33
- type range = _i_imports_ast._T_Relative_Range;
46
+ type range = _T_Relative_Range;
34
47
  }
35
48
  type _delete = {
36
- readonly 'range': _i_imports_ast._T_Relative_Range;
49
+ readonly 'range': _T_Relative_Range;
37
50
  };
38
51
  namespace insert {
39
52
  namespace location {
40
53
  }
41
- type location = _i_imports_ast._T_Relative_Location;
54
+ type location = _i_imports_token._T_Relative_Location;
42
55
  type text = string;
43
56
  }
44
57
  type insert = {
45
- readonly 'location': _i_imports_ast._T_Relative_Location;
58
+ readonly 'location': _i_imports_token._T_Relative_Location;
46
59
  readonly 'text': string;
47
60
  };
48
61
  namespace replace {
49
62
  namespace range {
50
63
  }
51
- type range = _i_imports_ast._T_Relative_Range;
64
+ type range = _T_Relative_Range;
52
65
  type text = string;
53
66
  }
54
67
  type replace = {
55
- readonly 'range': _i_imports_ast._T_Relative_Range;
68
+ readonly 'range': _T_Relative_Range;
56
69
  readonly 'text': string;
57
70
  };
58
71
  }
59
72
  type SG = readonly [
60
73
  'delete',
61
74
  {
62
- readonly 'range': _i_imports_ast._T_Relative_Range;
75
+ readonly 'range': _T_Relative_Range;
63
76
  }
64
77
  ] | readonly [
65
78
  'insert',
66
79
  {
67
- readonly 'location': _i_imports_ast._T_Relative_Location;
80
+ readonly 'location': _i_imports_token._T_Relative_Location;
68
81
  readonly 'text': string;
69
82
  }
70
83
  ] | readonly [
71
84
  'replace',
72
85
  {
73
- readonly 'range': _i_imports_ast._T_Relative_Range;
86
+ readonly 'range': _T_Relative_Range;
74
87
  readonly 'text': string;
75
88
  }
76
89
  ];
@@ -78,18 +91,18 @@ export declare namespace _T_Text_Edits {
78
91
  type L = _i_core._T_State_Group<null, readonly [
79
92
  'delete',
80
93
  {
81
- readonly 'range': _i_imports_ast._T_Relative_Range;
94
+ readonly 'range': _T_Relative_Range;
82
95
  }
83
96
  ] | readonly [
84
97
  'insert',
85
98
  {
86
- readonly 'location': _i_imports_ast._T_Relative_Location;
99
+ readonly 'location': _i_imports_token._T_Relative_Location;
87
100
  readonly 'text': string;
88
101
  }
89
102
  ] | readonly [
90
103
  'replace',
91
104
  {
92
- readonly 'range': _i_imports_ast._T_Relative_Range;
105
+ readonly 'range': _T_Relative_Range;
93
106
  readonly 'text': string;
94
107
  }
95
108
  ]>;
@@ -97,53 +110,61 @@ export declare namespace _T_Text_Edits {
97
110
  export declare namespace Key_Value_Pairs_To_Be_Sorted {
98
111
  type D = string;
99
112
  }
113
+ export declare namespace Relative_Range {
114
+ namespace end {
115
+ }
116
+ type end = _i_imports_token._T_Relative_Location;
117
+ namespace start {
118
+ }
119
+ type start = _i_imports_token._T_Relative_Location;
120
+ }
100
121
  export declare namespace Text_Edits {
101
122
  namespace L {
102
123
  namespace SG {
103
124
  namespace _delete {
104
125
  namespace range {
105
126
  }
106
- type range = _i_imports_ast._T_Relative_Range;
127
+ type range = _T_Relative_Range;
107
128
  }
108
129
  type _delete = {
109
- readonly 'range': _i_imports_ast._T_Relative_Range;
130
+ readonly 'range': _T_Relative_Range;
110
131
  };
111
132
  namespace insert {
112
133
  namespace location {
113
134
  }
114
- type location = _i_imports_ast._T_Relative_Location;
135
+ type location = _i_imports_token._T_Relative_Location;
115
136
  type text = string;
116
137
  }
117
138
  type insert = {
118
- readonly 'location': _i_imports_ast._T_Relative_Location;
139
+ readonly 'location': _i_imports_token._T_Relative_Location;
119
140
  readonly 'text': string;
120
141
  };
121
142
  namespace replace {
122
143
  namespace range {
123
144
  }
124
- type range = _i_imports_ast._T_Relative_Range;
145
+ type range = _T_Relative_Range;
125
146
  type text = string;
126
147
  }
127
148
  type replace = {
128
- readonly 'range': _i_imports_ast._T_Relative_Range;
149
+ readonly 'range': _T_Relative_Range;
129
150
  readonly 'text': string;
130
151
  };
131
152
  }
132
153
  type SG = readonly [
133
154
  'delete',
134
155
  {
135
- readonly 'range': _i_imports_ast._T_Relative_Range;
156
+ readonly 'range': _T_Relative_Range;
136
157
  }
137
158
  ] | readonly [
138
159
  'insert',
139
160
  {
140
- readonly 'location': _i_imports_ast._T_Relative_Location;
161
+ readonly 'location': _i_imports_token._T_Relative_Location;
141
162
  readonly 'text': string;
142
163
  }
143
164
  ] | readonly [
144
165
  'replace',
145
166
  {
146
- readonly 'range': _i_imports_ast._T_Relative_Range;
167
+ readonly 'range': _T_Relative_Range;
147
168
  readonly 'text': string;
148
169
  }
149
170
  ];
@@ -151,18 +172,18 @@ export declare namespace Text_Edits {
151
172
  type L = _i_core._T_State_Group<null, readonly [
152
173
  'delete',
153
174
  {
154
- readonly 'range': _i_imports_ast._T_Relative_Range;
175
+ readonly 'range': _T_Relative_Range;
155
176
  }
156
177
  ] | readonly [
157
178
  'insert',
158
179
  {
159
- readonly 'location': _i_imports_ast._T_Relative_Location;
180
+ readonly 'location': _i_imports_token._T_Relative_Location;
160
181
  readonly 'text': string;
161
182
  }
162
183
  ] | readonly [
163
184
  'replace',
164
185
  {
165
- readonly 'range': _i_imports_ast._T_Relative_Range;
186
+ readonly 'range': _T_Relative_Range;
166
187
  readonly 'text': string;
167
188
  }
168
189
  ]>;
@@ -0,0 +1,68 @@
1
+ import * as _i_in from "../../core/astn_source";
2
+ import * as _i_out from "./unconstrained";
3
+ export type _T_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Key_Value_Pairs_To_Be_Sorted;
4
+ export type _T_Relative_Range = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Relative_Range;
5
+ export type _T_Text_Edits = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Text_Edits;
6
+ export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
7
+ export type Relative_Range = _T_Relative_Range;
8
+ export type Text_Edits = _T_Text_Edits;
9
+ export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
10
+ namespace CONTEXT {
11
+ }
12
+ type CONTEXT = _i_in._T_Value;
13
+ namespace PARAMS {
14
+ }
15
+ namespace RESULT {
16
+ }
17
+ type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
18
+ }
19
+ export declare namespace _T_Relative_Range {
20
+ namespace CONTEXT {
21
+ }
22
+ type CONTEXT = _i_in._T_Value;
23
+ namespace PARAMS {
24
+ }
25
+ namespace RESULT {
26
+ }
27
+ type RESULT = _i_out._T_Relative_Range;
28
+ }
29
+ export declare namespace _T_Text_Edits {
30
+ namespace CONTEXT {
31
+ }
32
+ type CONTEXT = _i_in._T_Value;
33
+ namespace PARAMS {
34
+ }
35
+ namespace RESULT {
36
+ }
37
+ type RESULT = _i_out._T_Text_Edits;
38
+ }
39
+ export declare namespace Key_Value_Pairs_To_Be_Sorted {
40
+ namespace CONTEXT {
41
+ }
42
+ type CONTEXT = _i_in._T_Value;
43
+ namespace PARAMS {
44
+ }
45
+ namespace RESULT {
46
+ }
47
+ type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
48
+ }
49
+ export declare namespace Relative_Range {
50
+ namespace CONTEXT {
51
+ }
52
+ type CONTEXT = _i_in._T_Value;
53
+ namespace PARAMS {
54
+ }
55
+ namespace RESULT {
56
+ }
57
+ type RESULT = _i_out._T_Relative_Range;
58
+ }
59
+ export declare namespace Text_Edits {
60
+ namespace CONTEXT {
61
+ }
62
+ type CONTEXT = _i_in._T_Value;
63
+ namespace PARAMS {
64
+ }
65
+ namespace RESULT {
66
+ }
67
+ type RESULT = _i_out._T_Text_Edits;
68
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvcGFyc2VfcmVzdWx0L3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5tYXJzaGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3VubWFyc2hhbGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -0,0 +1,106 @@
1
+ import * as _i_in from "./unconstrained";
2
+ import * as _i_out from "../../core/astn_target";
3
+ export type _T_Value_Serializers = {
4
+ readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
+ readonly 'custom numbers': null;
6
+ readonly 'default number': ($$_: number, $$_p: null) => string;
7
+ };
8
+ export type _T_s_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: {
9
+ readonly 'value serializers': _T_Value_Serializers;
10
+ }) => _i_out._T_Value;
11
+ export type _T_s_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: {
12
+ readonly 'value serializers': _T_Value_Serializers;
13
+ }) => _i_out._T_Value;
14
+ export type Value_Serializers = _T_Value_Serializers;
15
+ export type s_Parse_Error = _T_s_Parse_Error;
16
+ export type s_Parse_Result = _T_s_Parse_Result;
17
+ export declare namespace _T_Value_Serializers {
18
+ namespace _boolean {
19
+ type CONTEXT = boolean;
20
+ namespace PARAMS {
21
+ }
22
+ type RESULT = string;
23
+ }
24
+ type _boolean = ($$_: boolean, $$_p: null) => string;
25
+ namespace custom_numbers {
26
+ }
27
+ type custom_numbers = null;
28
+ namespace default_number {
29
+ type CONTEXT = number;
30
+ namespace PARAMS {
31
+ }
32
+ type RESULT = string;
33
+ }
34
+ type default_number = ($$_: number, $$_p: null) => string;
35
+ }
36
+ export declare namespace _T_s_Parse_Error {
37
+ namespace CONTEXT {
38
+ }
39
+ type CONTEXT = _i_in._T_Parse_Error;
40
+ namespace PARAMS {
41
+ namespace value_serializers {
42
+ }
43
+ type value_serializers = _T_Value_Serializers;
44
+ }
45
+ namespace RESULT {
46
+ }
47
+ type RESULT = _i_out._T_Value;
48
+ }
49
+ export declare namespace _T_s_Parse_Result {
50
+ namespace CONTEXT {
51
+ }
52
+ type CONTEXT = _i_in._T_Parse_Result;
53
+ namespace PARAMS {
54
+ namespace value_serializers {
55
+ }
56
+ type value_serializers = _T_Value_Serializers;
57
+ }
58
+ namespace RESULT {
59
+ }
60
+ type RESULT = _i_out._T_Value;
61
+ }
62
+ export declare namespace Value_Serializers {
63
+ namespace _boolean {
64
+ type CONTEXT = boolean;
65
+ namespace PARAMS {
66
+ }
67
+ type RESULT = string;
68
+ }
69
+ type _boolean = ($$_: boolean, $$_p: null) => string;
70
+ namespace custom_numbers {
71
+ }
72
+ type custom_numbers = null;
73
+ namespace default_number {
74
+ type CONTEXT = number;
75
+ namespace PARAMS {
76
+ }
77
+ type RESULT = string;
78
+ }
79
+ type default_number = ($$_: number, $$_p: null) => string;
80
+ }
81
+ export declare namespace s_Parse_Error {
82
+ namespace CONTEXT {
83
+ }
84
+ type CONTEXT = _i_in._T_Parse_Error;
85
+ namespace PARAMS {
86
+ namespace value_serializers {
87
+ }
88
+ type value_serializers = _T_Value_Serializers;
89
+ }
90
+ namespace RESULT {
91
+ }
92
+ type RESULT = _i_out._T_Value;
93
+ }
94
+ export declare namespace s_Parse_Result {
95
+ namespace CONTEXT {
96
+ }
97
+ type CONTEXT = _i_in._T_Parse_Result;
98
+ namespace PARAMS {
99
+ namespace value_serializers {
100
+ }
101
+ type value_serializers = _T_Value_Serializers;
102
+ }
103
+ namespace RESULT {
104
+ }
105
+ type RESULT = _i_out._T_Value;
106
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3BhcnNlX3Jlc3VsdC9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFyc2hhbGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3BhcnNlX3Jlc3VsdC9tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,46 @@
1
+ import * as _i_in from "./unconstrained";
2
+ import * as _i_out from "./unconstrained";
3
+ export type _T_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: null) => _i_out._T_Parse_Error;
4
+ export type _T_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: null) => _i_out._T_Parse_Result;
5
+ export type Parse_Error = _T_Parse_Error;
6
+ export type Parse_Result = _T_Parse_Result;
7
+ export declare namespace _T_Parse_Error {
8
+ namespace CONTEXT {
9
+ }
10
+ type CONTEXT = _i_in._T_Parse_Error;
11
+ namespace PARAMS {
12
+ }
13
+ namespace RESULT {
14
+ }
15
+ type RESULT = _i_out._T_Parse_Error;
16
+ }
17
+ export declare namespace _T_Parse_Result {
18
+ namespace CONTEXT {
19
+ }
20
+ type CONTEXT = _i_in._T_Parse_Result;
21
+ namespace PARAMS {
22
+ }
23
+ namespace RESULT {
24
+ }
25
+ type RESULT = _i_out._T_Parse_Result;
26
+ }
27
+ export declare namespace Parse_Error {
28
+ namespace CONTEXT {
29
+ }
30
+ type CONTEXT = _i_in._T_Parse_Error;
31
+ namespace PARAMS {
32
+ }
33
+ namespace RESULT {
34
+ }
35
+ type RESULT = _i_out._T_Parse_Error;
36
+ }
37
+ export declare namespace Parse_Result {
38
+ namespace CONTEXT {
39
+ }
40
+ type CONTEXT = _i_in._T_Parse_Result;
41
+ namespace PARAMS {
42
+ }
43
+ namespace RESULT {
44
+ }
45
+ type RESULT = _i_out._T_Parse_Result;
46
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvcGFyc2VfcmVzdWx0L21pZ3JhdGVfYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9