astn 0.110.16 → 1.20.5

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 (185) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +20 -0
  3. package/.vscode/extensions.json +9 -0
  4. package/.vscode/launch.json +39 -0
  5. package/.vscode/settings.json +8 -0
  6. package/.vscode/tasks.json +33 -0
  7. package/.vscodeignore +15 -0
  8. package/LICENSE.md +204 -0
  9. package/README.md +3 -410
  10. package/backend/package-lock.json +123 -0
  11. package/backend/package.json +6 -0
  12. package/backend/src/index.ts +133 -0
  13. package/backend/tsconfig.json +16 -0
  14. package/client/package-lock.json +581 -0
  15. package/client/package.json +23 -0
  16. package/client/src/extension.ts +249 -0
  17. package/client/src/test/completion.test.ts +43 -0
  18. package/client/src/test/diagnostics.test.ts +41 -0
  19. package/client/src/test/helper.ts +47 -0
  20. package/client/src/test/index.ts +43 -0
  21. package/client/src/test/runTest.ts +27 -0
  22. package/client/testFixture/diagnostics.txt +1 -0
  23. package/client/tsconfig.json +12 -0
  24. package/client/tsconfig.tsbuildinfo +1 -0
  25. package/development.md +12 -0
  26. package/images/icon.png +0 -0
  27. package/language-configuration.json +36 -0
  28. package/package.json +102 -58
  29. package/scripts/e2e.sh +6 -0
  30. package/server/package-lock.json +127 -0
  31. package/server/package.json +22 -0
  32. package/server/src/backend.ts +53 -0
  33. package/server/src/backendapi.ts +66 -0
  34. package/server/src/server.ts +296 -0
  35. package/server/tsconfig.json +14 -0
  36. package/server/tsconfig.tsbuildinfo +1 -0
  37. package/syntaxes/astn.tmLanguage.json +320 -0
  38. package/tsconfig.json +21 -0
  39. package/LICENSE +0 -17
  40. package/dist/bin/convert_to_json.d.ts +0 -2
  41. package/dist/bin/convert_to_json.js +0 -63
  42. package/dist/bin/validate_astn.d.ts +0 -2
  43. package/dist/bin/validate_astn.js +0 -58
  44. package/dist/generated/generic/resolve.d.ts +0 -90
  45. package/dist/generated/generic/resolve.js +0 -259
  46. package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +0 -14
  47. package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -179
  48. package/dist/generated/implementation/schemas/ide/migration_boilerplate.d.ts +0 -2
  49. package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +0 -56
  50. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +0 -6
  51. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +0 -136
  52. package/dist/generated/implementation/schemas/target/migration_boilerplate.d.ts +0 -3
  53. package/dist/generated/implementation/schemas/target/migration_boilerplate.js +0 -73
  54. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.d.ts +0 -3
  55. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.js +0 -67
  56. package/dist/generated/interface/core/poormans_parser.d.ts +0 -184
  57. package/dist/generated/interface/core/poormans_parser.js +0 -3
  58. package/dist/generated/interface/core/resolved.d.ts +0 -100
  59. package/dist/generated/interface/core/resolved.js +0 -3
  60. package/dist/generated/interface/core/unresolved.d.ts +0 -35
  61. package/dist/generated/interface/core/unresolved.js +0 -3
  62. package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +0 -288
  63. package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
  64. package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +0 -1108
  65. package/dist/generated/interface/schemas/ast/poormans_parser.js +0 -3
  66. package/dist/generated/interface/schemas/ast/resolved.d.ts +0 -1108
  67. package/dist/generated/interface/schemas/ast/resolved.js +0 -3
  68. package/dist/generated/interface/schemas/ast/unresolved.d.ts +0 -1108
  69. package/dist/generated/interface/schemas/ast/unresolved.js +0 -3
  70. package/dist/generated/interface/schemas/ide/migration_boilerplate.d.ts +0 -24
  71. package/dist/generated/interface/schemas/ide/migration_boilerplate.js +0 -3
  72. package/dist/generated/interface/schemas/ide/poormans_parser.d.ts +0 -161
  73. package/dist/generated/interface/schemas/ide/poormans_parser.js +0 -3
  74. package/dist/generated/interface/schemas/ide/resolved.d.ts +0 -161
  75. package/dist/generated/interface/schemas/ide/resolved.js +0 -3
  76. package/dist/generated/interface/schemas/ide/unresolved.d.ts +0 -161
  77. package/dist/generated/interface/schemas/ide/unresolved.js +0 -3
  78. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +0 -112
  79. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +0 -3
  80. package/dist/generated/interface/schemas/parse_result/poormans_parser.d.ts +0 -416
  81. package/dist/generated/interface/schemas/parse_result/poormans_parser.js +0 -3
  82. package/dist/generated/interface/schemas/parse_result/resolved.d.ts +0 -416
  83. package/dist/generated/interface/schemas/parse_result/resolved.js +0 -3
  84. package/dist/generated/interface/schemas/parse_result/unresolved.d.ts +0 -416
  85. package/dist/generated/interface/schemas/parse_result/unresolved.js +0 -3
  86. package/dist/generated/interface/schemas/target/migration_boilerplate.d.ts +0 -46
  87. package/dist/generated/interface/schemas/target/migration_boilerplate.js +0 -3
  88. package/dist/generated/interface/schemas/target/poormans_parser.d.ts +0 -186
  89. package/dist/generated/interface/schemas/target/poormans_parser.js +0 -3
  90. package/dist/generated/interface/schemas/target/resolved.d.ts +0 -186
  91. package/dist/generated/interface/schemas/target/resolved.js +0 -3
  92. package/dist/generated/interface/schemas/target/unresolved.d.ts +0 -186
  93. package/dist/generated/interface/schemas/target/unresolved.js +0 -3
  94. package/dist/generated/interface/schemas/target_json/migration_boilerplate.d.ts +0 -46
  95. package/dist/generated/interface/schemas/target_json/migration_boilerplate.js +0 -3
  96. package/dist/generated/interface/schemas/target_json/poormans_parser.d.ts +0 -169
  97. package/dist/generated/interface/schemas/target_json/poormans_parser.js +0 -3
  98. package/dist/generated/interface/schemas/target_json/resolved.d.ts +0 -169
  99. package/dist/generated/interface/schemas/target_json/resolved.js +0 -3
  100. package/dist/generated/interface/schemas/target_json/unresolved.d.ts +0 -169
  101. package/dist/generated/interface/schemas/target_json/unresolved.js +0 -3
  102. package/dist/globals.d.ts +0 -24
  103. package/dist/globals.js +0 -2
  104. package/dist/index.d.ts +0 -6
  105. package/dist/index.js +0 -43
  106. package/dist/lib/globals.d.ts +0 -24
  107. package/dist/lib/globals.js +0 -2
  108. package/dist/lib/transformations/create_error_message.d.ts +0 -5
  109. package/dist/lib/transformations/create_error_message.js +0 -89
  110. package/dist/lib/transformations/format.d.ts +0 -42
  111. package/dist/lib/transformations/format.js +0 -166
  112. package/dist/lib/transformations/fountain_pen/astn.d.ts +0 -11
  113. package/dist/lib/transformations/fountain_pen/astn.js +0 -156
  114. package/dist/lib/transformations/fountain_pen/json.d.ts +0 -4
  115. package/dist/lib/transformations/fountain_pen/json.js +0 -113
  116. package/dist/lib/transformations/parse.d.ts +0 -11
  117. package/dist/lib/transformations/parse.js +0 -257
  118. package/dist/lib/transformations/parse_generic.d.ts +0 -43
  119. package/dist/lib/transformations/parse_generic.js +0 -644
  120. package/dist/parse/parse.d.ts +0 -11
  121. package/dist/parse/parse.js +0 -267
  122. package/dist/parse/parse_generic.d.ts +0 -43
  123. package/dist/parse/parse_generic.js +0 -656
  124. package/dist/serializers/astn.js +0 -28
  125. package/dist/serializers/json.d.ts +0 -5
  126. package/dist/serializers/json.js +0 -46
  127. package/dist/serializers/parse_result.d.ts +0 -5
  128. package/dist/serializers/parse_result.js +0 -99
  129. package/dist/transformations/ast/ide.d.ts +0 -42
  130. package/dist/transformations/ast/ide.js +0 -176
  131. package/dist/transformations/ast/json_target.d.ts +0 -6
  132. package/dist/transformations/ast/json_target.js +0 -88
  133. package/dist/transformations/create_error_message.d.ts +0 -5
  134. package/dist/transformations/create_error_message.js +0 -89
  135. package/dist/transformations/format.d.ts +0 -42
  136. package/dist/transformations/format.js +0 -166
  137. package/dist/transformations/fountain_pen/astn.d.ts +0 -11
  138. package/dist/transformations/fountain_pen/astn.js +0 -166
  139. package/dist/transformations/fountain_pen/json.d.ts +0 -4
  140. package/dist/transformations/fountain_pen/json.js +0 -123
  141. package/dist/transformations/parse.d.ts +0 -11
  142. package/dist/transformations/parse.js +0 -257
  143. package/dist/transformations/parse_generic.d.ts +0 -43
  144. package/dist/transformations/parse_generic.js +0 -644
  145. package/dist/transformations/target/fountain_pen/astn.d.ts +0 -11
  146. package/dist/transformations/target/fountain_pen/astn.js +0 -156
  147. package/dist/transformations/target/fountain_pen/json.d.ts +0 -4
  148. package/dist/transformations/target/fountain_pen/json.js +0 -113
  149. package/dist/transformations/target/fountain_pen_block.d.ts +0 -11
  150. package/dist/transformations/target/fountain_pen_block.js +0 -166
  151. package/dist/transformations/target_json/fountain_pen_block.d.ts +0 -4
  152. package/dist/transformations/target_json/fountain_pen_block.js +0 -101
  153. package/documentation/railroad_diagram/diagram/apostrophed_string.png +0 -0
  154. package/documentation/railroad_diagram/diagram/astn_document.png +0 -0
  155. package/documentation/railroad_diagram/diagram/backticked_string.png +0 -0
  156. package/documentation/railroad_diagram/diagram/comment.png +0 -0
  157. package/documentation/railroad_diagram/diagram/concise_group.png +0 -0
  158. package/documentation/railroad_diagram/diagram/content.png +0 -0
  159. package/documentation/railroad_diagram/diagram/dictionary.png +0 -0
  160. package/documentation/railroad_diagram/diagram/elements.png +0 -0
  161. package/documentation/railroad_diagram/diagram/escaped_character.png +0 -0
  162. package/documentation/railroad_diagram/diagram/four_hexadecimal_digits.png +0 -0
  163. package/documentation/railroad_diagram/diagram/header.png +0 -0
  164. package/documentation/railroad_diagram/diagram/hexadecimal_digit.png +0 -0
  165. package/documentation/railroad_diagram/diagram/ignorable.png +0 -0
  166. package/documentation/railroad_diagram/diagram/include.png +0 -0
  167. package/documentation/railroad_diagram/diagram/key_value_pairs.png +0 -0
  168. package/documentation/railroad_diagram/diagram/line_comment.png +0 -0
  169. package/documentation/railroad_diagram/diagram/list.png +0 -0
  170. package/documentation/railroad_diagram/diagram/newline_character.png +0 -0
  171. package/documentation/railroad_diagram/diagram/normal_character.png +0 -0
  172. package/documentation/railroad_diagram/diagram/normal_or_newline_character.png +0 -0
  173. package/documentation/railroad_diagram/diagram/quoted_string.png +0 -0
  174. package/documentation/railroad_diagram/diagram/rr-2.5.png +0 -0
  175. package/documentation/railroad_diagram/diagram/set_optional_value.png +0 -0
  176. package/documentation/railroad_diagram/diagram/string.png +0 -0
  177. package/documentation/railroad_diagram/diagram/string_content_character.png +0 -0
  178. package/documentation/railroad_diagram/diagram/tagged_value.png +0 -0
  179. package/documentation/railroad_diagram/diagram/traditional_comment.png +0 -0
  180. package/documentation/railroad_diagram/diagram/undelimited_string.png +0 -0
  181. package/documentation/railroad_diagram/diagram/value.png +0 -0
  182. package/documentation/railroad_diagram/diagram/verbose_group.png +0 -0
  183. package/documentation/railroad_diagram/diagram/whitespace.png +0 -0
  184. package/documentation/railroad_diagram/index.md +0 -425
  185. /package/{dist/serializers/astn.d.ts → client/testFixture/completion.txt} +0 -0
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvYXN0L3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,24 +0,0 @@
1
- import * as _i_in from "./resolved";
2
- import * as _i_out from "./unresolved";
3
- export type _T_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: null) => _i_out._T_Text_Edits;
4
- export type Text_Edits = _T_Text_Edits;
5
- export declare namespace _T_Text_Edits {
6
- namespace CONTEXT {
7
- }
8
- type CONTEXT = _i_in._T_Text_Edits;
9
- namespace PARAMS {
10
- }
11
- namespace RESULT {
12
- }
13
- type RESULT = _i_out._T_Text_Edits;
14
- }
15
- export declare namespace Text_Edits {
16
- namespace CONTEXT {
17
- }
18
- type CONTEXT = _i_in._T_Text_Edits;
19
- namespace PARAMS {
20
- }
21
- namespace RESULT {
22
- }
23
- type RESULT = _i_out._T_Text_Edits;
24
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9pZGUvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,161 +0,0 @@
1
- import * as _i_core from "../../core/poormans_parser";
2
- import * as _i_imports_ast from "../ast/poormans_parser";
3
- export type _T_Text_Edits<G_Source> = _i_core._T_List<G_Source, _i_core._T_State_Group<G_Source, readonly [
4
- 'delete',
5
- {
6
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
7
- }
8
- ] | readonly [
9
- 'insert',
10
- {
11
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
12
- readonly 'text': string;
13
- }
14
- ] | readonly [
15
- 'replace',
16
- {
17
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
18
- readonly 'text': string;
19
- }
20
- ]>>;
21
- export type Text_Edits<G_Source> = _T_Text_Edits<G_Source>;
22
- export declare namespace _T_Text_Edits {
23
- namespace L {
24
- namespace SG {
25
- namespace _delete {
26
- namespace range {
27
- }
28
- type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
29
- }
30
- type _delete<G_Source> = {
31
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
32
- };
33
- namespace insert {
34
- namespace location {
35
- }
36
- type location<G_Source> = _i_imports_ast._T_Relative_Location<G_Source>;
37
- type text<G_Source> = string;
38
- }
39
- type insert<G_Source> = {
40
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
41
- readonly 'text': string;
42
- };
43
- namespace replace {
44
- namespace range {
45
- }
46
- type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
47
- type text<G_Source> = string;
48
- }
49
- type replace<G_Source> = {
50
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
51
- readonly 'text': string;
52
- };
53
- }
54
- type SG<G_Source> = readonly [
55
- 'delete',
56
- {
57
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
58
- }
59
- ] | readonly [
60
- 'insert',
61
- {
62
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
63
- readonly 'text': string;
64
- }
65
- ] | readonly [
66
- 'replace',
67
- {
68
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
69
- readonly 'text': string;
70
- }
71
- ];
72
- }
73
- type L<G_Source> = _i_core._T_State_Group<G_Source, readonly [
74
- 'delete',
75
- {
76
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
77
- }
78
- ] | readonly [
79
- 'insert',
80
- {
81
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
82
- readonly 'text': string;
83
- }
84
- ] | readonly [
85
- 'replace',
86
- {
87
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
88
- readonly 'text': string;
89
- }
90
- ]>;
91
- }
92
- export declare namespace Text_Edits {
93
- namespace L {
94
- namespace SG {
95
- namespace _delete {
96
- namespace range {
97
- }
98
- type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
99
- }
100
- type _delete<G_Source> = {
101
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
102
- };
103
- namespace insert {
104
- namespace location {
105
- }
106
- type location<G_Source> = _i_imports_ast._T_Relative_Location<G_Source>;
107
- type text<G_Source> = string;
108
- }
109
- type insert<G_Source> = {
110
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
111
- readonly 'text': string;
112
- };
113
- namespace replace {
114
- namespace range {
115
- }
116
- type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
117
- type text<G_Source> = string;
118
- }
119
- type replace<G_Source> = {
120
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
121
- readonly 'text': string;
122
- };
123
- }
124
- type SG<G_Source> = readonly [
125
- 'delete',
126
- {
127
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
128
- }
129
- ] | readonly [
130
- 'insert',
131
- {
132
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
133
- readonly 'text': string;
134
- }
135
- ] | readonly [
136
- 'replace',
137
- {
138
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
139
- readonly 'text': string;
140
- }
141
- ];
142
- }
143
- type L<G_Source> = _i_core._T_State_Group<G_Source, readonly [
144
- 'delete',
145
- {
146
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
147
- }
148
- ] | readonly [
149
- 'insert',
150
- {
151
- readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
152
- readonly 'text': string;
153
- }
154
- ] | readonly [
155
- 'replace',
156
- {
157
- readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
158
- readonly 'text': string;
159
- }
160
- ]>;
161
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vcm1hbnNfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9pZGUvcG9vcm1hbnNfcGFyc2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,161 +0,0 @@
1
- import * as _i_core from "../../core/resolved";
2
- import * as _i_imports_ast from "../ast/resolved";
3
- export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
4
- 'delete',
5
- {
6
- readonly 'range': _i_imports_ast._T_Relative_Range;
7
- }
8
- ] | readonly [
9
- 'insert',
10
- {
11
- readonly 'location': _i_imports_ast._T_Relative_Location;
12
- readonly 'text': string;
13
- }
14
- ] | readonly [
15
- 'replace',
16
- {
17
- readonly 'range': _i_imports_ast._T_Relative_Range;
18
- readonly 'text': string;
19
- }
20
- ]>>;
21
- export type Text_Edits = _T_Text_Edits;
22
- export declare namespace _T_Text_Edits {
23
- namespace L {
24
- namespace SG {
25
- namespace _delete {
26
- namespace range {
27
- }
28
- type range = _i_imports_ast._T_Relative_Range;
29
- }
30
- type _delete = {
31
- readonly 'range': _i_imports_ast._T_Relative_Range;
32
- };
33
- namespace insert {
34
- namespace location {
35
- }
36
- type location = _i_imports_ast._T_Relative_Location;
37
- type text = string;
38
- }
39
- type insert = {
40
- readonly 'location': _i_imports_ast._T_Relative_Location;
41
- readonly 'text': string;
42
- };
43
- namespace replace {
44
- namespace range {
45
- }
46
- type range = _i_imports_ast._T_Relative_Range;
47
- type text = string;
48
- }
49
- type replace = {
50
- readonly 'range': _i_imports_ast._T_Relative_Range;
51
- readonly 'text': string;
52
- };
53
- }
54
- type SG = readonly [
55
- 'delete',
56
- {
57
- readonly 'range': _i_imports_ast._T_Relative_Range;
58
- }
59
- ] | readonly [
60
- 'insert',
61
- {
62
- readonly 'location': _i_imports_ast._T_Relative_Location;
63
- readonly 'text': string;
64
- }
65
- ] | readonly [
66
- 'replace',
67
- {
68
- readonly 'range': _i_imports_ast._T_Relative_Range;
69
- readonly 'text': string;
70
- }
71
- ];
72
- }
73
- type L = _i_core._T_State_Group<null, readonly [
74
- 'delete',
75
- {
76
- readonly 'range': _i_imports_ast._T_Relative_Range;
77
- }
78
- ] | readonly [
79
- 'insert',
80
- {
81
- readonly 'location': _i_imports_ast._T_Relative_Location;
82
- readonly 'text': string;
83
- }
84
- ] | readonly [
85
- 'replace',
86
- {
87
- readonly 'range': _i_imports_ast._T_Relative_Range;
88
- readonly 'text': string;
89
- }
90
- ]>;
91
- }
92
- export declare namespace Text_Edits {
93
- namespace L {
94
- namespace SG {
95
- namespace _delete {
96
- namespace range {
97
- }
98
- type range = _i_imports_ast._T_Relative_Range;
99
- }
100
- type _delete = {
101
- readonly 'range': _i_imports_ast._T_Relative_Range;
102
- };
103
- namespace insert {
104
- namespace location {
105
- }
106
- type location = _i_imports_ast._T_Relative_Location;
107
- type text = string;
108
- }
109
- type insert = {
110
- readonly 'location': _i_imports_ast._T_Relative_Location;
111
- readonly 'text': string;
112
- };
113
- namespace replace {
114
- namespace range {
115
- }
116
- type range = _i_imports_ast._T_Relative_Range;
117
- type text = string;
118
- }
119
- type replace = {
120
- readonly 'range': _i_imports_ast._T_Relative_Range;
121
- readonly 'text': string;
122
- };
123
- }
124
- type SG = readonly [
125
- 'delete',
126
- {
127
- readonly 'range': _i_imports_ast._T_Relative_Range;
128
- }
129
- ] | readonly [
130
- 'insert',
131
- {
132
- readonly 'location': _i_imports_ast._T_Relative_Location;
133
- readonly 'text': string;
134
- }
135
- ] | readonly [
136
- 'replace',
137
- {
138
- readonly 'range': _i_imports_ast._T_Relative_Range;
139
- readonly 'text': string;
140
- }
141
- ];
142
- }
143
- type L = _i_core._T_State_Group<null, readonly [
144
- 'delete',
145
- {
146
- readonly 'range': _i_imports_ast._T_Relative_Range;
147
- }
148
- ] | readonly [
149
- 'insert',
150
- {
151
- readonly 'location': _i_imports_ast._T_Relative_Location;
152
- readonly 'text': string;
153
- }
154
- ] | readonly [
155
- 'replace',
156
- {
157
- readonly 'range': _i_imports_ast._T_Relative_Range;
158
- readonly 'text': string;
159
- }
160
- ]>;
161
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL2lkZS9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,161 +0,0 @@
1
- import * as _i_core from "../../core/unresolved";
2
- import * as _i_imports_ast from "../ast/unresolved";
3
- export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
4
- 'delete',
5
- {
6
- readonly 'range': _i_imports_ast._T_Relative_Range;
7
- }
8
- ] | readonly [
9
- 'insert',
10
- {
11
- readonly 'location': _i_imports_ast._T_Relative_Location;
12
- readonly 'text': string;
13
- }
14
- ] | readonly [
15
- 'replace',
16
- {
17
- readonly 'range': _i_imports_ast._T_Relative_Range;
18
- readonly 'text': string;
19
- }
20
- ]>>;
21
- export type Text_Edits = _T_Text_Edits;
22
- export declare namespace _T_Text_Edits {
23
- namespace L {
24
- namespace SG {
25
- namespace _delete {
26
- namespace range {
27
- }
28
- type range = _i_imports_ast._T_Relative_Range;
29
- }
30
- type _delete = {
31
- readonly 'range': _i_imports_ast._T_Relative_Range;
32
- };
33
- namespace insert {
34
- namespace location {
35
- }
36
- type location = _i_imports_ast._T_Relative_Location;
37
- type text = string;
38
- }
39
- type insert = {
40
- readonly 'location': _i_imports_ast._T_Relative_Location;
41
- readonly 'text': string;
42
- };
43
- namespace replace {
44
- namespace range {
45
- }
46
- type range = _i_imports_ast._T_Relative_Range;
47
- type text = string;
48
- }
49
- type replace = {
50
- readonly 'range': _i_imports_ast._T_Relative_Range;
51
- readonly 'text': string;
52
- };
53
- }
54
- type SG = readonly [
55
- 'delete',
56
- {
57
- readonly 'range': _i_imports_ast._T_Relative_Range;
58
- }
59
- ] | readonly [
60
- 'insert',
61
- {
62
- readonly 'location': _i_imports_ast._T_Relative_Location;
63
- readonly 'text': string;
64
- }
65
- ] | readonly [
66
- 'replace',
67
- {
68
- readonly 'range': _i_imports_ast._T_Relative_Range;
69
- readonly 'text': string;
70
- }
71
- ];
72
- }
73
- type L = _i_core._T_State_Group<null, readonly [
74
- 'delete',
75
- {
76
- readonly 'range': _i_imports_ast._T_Relative_Range;
77
- }
78
- ] | readonly [
79
- 'insert',
80
- {
81
- readonly 'location': _i_imports_ast._T_Relative_Location;
82
- readonly 'text': string;
83
- }
84
- ] | readonly [
85
- 'replace',
86
- {
87
- readonly 'range': _i_imports_ast._T_Relative_Range;
88
- readonly 'text': string;
89
- }
90
- ]>;
91
- }
92
- export declare namespace Text_Edits {
93
- namespace L {
94
- namespace SG {
95
- namespace _delete {
96
- namespace range {
97
- }
98
- type range = _i_imports_ast._T_Relative_Range;
99
- }
100
- type _delete = {
101
- readonly 'range': _i_imports_ast._T_Relative_Range;
102
- };
103
- namespace insert {
104
- namespace location {
105
- }
106
- type location = _i_imports_ast._T_Relative_Location;
107
- type text = string;
108
- }
109
- type insert = {
110
- readonly 'location': _i_imports_ast._T_Relative_Location;
111
- readonly 'text': string;
112
- };
113
- namespace replace {
114
- namespace range {
115
- }
116
- type range = _i_imports_ast._T_Relative_Range;
117
- type text = string;
118
- }
119
- type replace = {
120
- readonly 'range': _i_imports_ast._T_Relative_Range;
121
- readonly 'text': string;
122
- };
123
- }
124
- type SG = readonly [
125
- 'delete',
126
- {
127
- readonly 'range': _i_imports_ast._T_Relative_Range;
128
- }
129
- ] | readonly [
130
- 'insert',
131
- {
132
- readonly 'location': _i_imports_ast._T_Relative_Location;
133
- readonly 'text': string;
134
- }
135
- ] | readonly [
136
- 'replace',
137
- {
138
- readonly 'range': _i_imports_ast._T_Relative_Range;
139
- readonly 'text': string;
140
- }
141
- ];
142
- }
143
- type L = _i_core._T_State_Group<null, readonly [
144
- 'delete',
145
- {
146
- readonly 'range': _i_imports_ast._T_Relative_Range;
147
- }
148
- ] | readonly [
149
- 'insert',
150
- {
151
- readonly 'location': _i_imports_ast._T_Relative_Location;
152
- readonly 'text': string;
153
- }
154
- ] | readonly [
155
- 'replace',
156
- {
157
- readonly 'range': _i_imports_ast._T_Relative_Range;
158
- readonly 'text': string;
159
- }
160
- ]>;
161
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,112 +0,0 @@
1
- import * as _i_in from "./resolved";
2
- import * as _i_out from "./unresolved";
3
- export type _T_Annotated_Token = ($$_: _i_in._T_Annotated_Token, $$_p: null) => _i_out._T_Annotated_Token;
4
- export type _T_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: null) => _i_out._T_Parse_Error;
5
- export type _T_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: null) => _i_out._T_Parse_Result;
6
- export type _T_Token_Type = ($$_: _i_in._T_Token_Type, $$_p: null) => _i_out._T_Token_Type;
7
- export type _T_Tokenizer_Result = ($$_: _i_in._T_Tokenizer_Result, $$_p: null) => _i_out._T_Tokenizer_Result;
8
- export type Annotated_Token = _T_Annotated_Token;
9
- export type Parse_Error = _T_Parse_Error;
10
- export type Parse_Result = _T_Parse_Result;
11
- export type Token_Type = _T_Token_Type;
12
- export type Tokenizer_Result = _T_Tokenizer_Result;
13
- export declare namespace _T_Annotated_Token {
14
- namespace CONTEXT {
15
- }
16
- type CONTEXT = _i_in._T_Annotated_Token;
17
- namespace PARAMS {
18
- }
19
- namespace RESULT {
20
- }
21
- type RESULT = _i_out._T_Annotated_Token;
22
- }
23
- export declare namespace _T_Parse_Error {
24
- namespace CONTEXT {
25
- }
26
- type CONTEXT = _i_in._T_Parse_Error;
27
- namespace PARAMS {
28
- }
29
- namespace RESULT {
30
- }
31
- type RESULT = _i_out._T_Parse_Error;
32
- }
33
- export declare namespace _T_Parse_Result {
34
- namespace CONTEXT {
35
- }
36
- type CONTEXT = _i_in._T_Parse_Result;
37
- namespace PARAMS {
38
- }
39
- namespace RESULT {
40
- }
41
- type RESULT = _i_out._T_Parse_Result;
42
- }
43
- export declare namespace _T_Token_Type {
44
- namespace CONTEXT {
45
- }
46
- type CONTEXT = _i_in._T_Token_Type;
47
- namespace PARAMS {
48
- }
49
- namespace RESULT {
50
- }
51
- type RESULT = _i_out._T_Token_Type;
52
- }
53
- export declare namespace _T_Tokenizer_Result {
54
- namespace CONTEXT {
55
- }
56
- type CONTEXT = _i_in._T_Tokenizer_Result;
57
- namespace PARAMS {
58
- }
59
- namespace RESULT {
60
- }
61
- type RESULT = _i_out._T_Tokenizer_Result;
62
- }
63
- export declare namespace Annotated_Token {
64
- namespace CONTEXT {
65
- }
66
- type CONTEXT = _i_in._T_Annotated_Token;
67
- namespace PARAMS {
68
- }
69
- namespace RESULT {
70
- }
71
- type RESULT = _i_out._T_Annotated_Token;
72
- }
73
- export declare namespace Parse_Error {
74
- namespace CONTEXT {
75
- }
76
- type CONTEXT = _i_in._T_Parse_Error;
77
- namespace PARAMS {
78
- }
79
- namespace RESULT {
80
- }
81
- type RESULT = _i_out._T_Parse_Error;
82
- }
83
- export declare namespace Parse_Result {
84
- namespace CONTEXT {
85
- }
86
- type CONTEXT = _i_in._T_Parse_Result;
87
- namespace PARAMS {
88
- }
89
- namespace RESULT {
90
- }
91
- type RESULT = _i_out._T_Parse_Result;
92
- }
93
- export declare namespace Token_Type {
94
- namespace CONTEXT {
95
- }
96
- type CONTEXT = _i_in._T_Token_Type;
97
- namespace PARAMS {
98
- }
99
- namespace RESULT {
100
- }
101
- type RESULT = _i_out._T_Token_Type;
102
- }
103
- export declare namespace Tokenizer_Result {
104
- namespace CONTEXT {
105
- }
106
- type CONTEXT = _i_in._T_Tokenizer_Result;
107
- namespace PARAMS {
108
- }
109
- namespace RESULT {
110
- }
111
- type RESULT = _i_out._T_Tokenizer_Result;
112
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9wYXJzZV9yZXN1bHQvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==