astn 0.110.15 → 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 -13
  47. package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -174
  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 -266
  63. package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
  64. package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +0 -1087
  65. package/dist/generated/interface/schemas/ast/poormans_parser.js +0 -3
  66. package/dist/generated/interface/schemas/ast/resolved.d.ts +0 -1087
  67. package/dist/generated/interface/schemas/ast/resolved.js +0 -3
  68. package/dist/generated/interface/schemas/ast/unresolved.d.ts +0 -1087
  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,186 +0,0 @@
1
- import * as _i_core from "../../core/resolved";
2
- export type _T_Document = _T_Value;
3
- export type _T_Value = _i_core._T_State_Group<null, readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
4
- 'optional',
5
- _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
6
- ] | readonly [
7
- 'state',
8
- {
9
- readonly 'state': string;
10
- readonly 'value': _T_Value;
11
- }
12
- ] | readonly [
13
- 'text',
14
- {
15
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
16
- readonly 'value': string;
17
- }
18
- ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>]>;
19
- export type Document = _T_Document;
20
- export type Value = _T_Value;
21
- export declare namespace _T_Document {
22
- }
23
- export declare namespace _T_Value {
24
- namespace SG {
25
- namespace concise_group {
26
- namespace L {
27
- }
28
- type L = _T_Value;
29
- }
30
- type concise_group = _i_core._T_List<null, _T_Value>;
31
- namespace dictionary {
32
- namespace D {
33
- }
34
- type D = _T_Value;
35
- }
36
- type dictionary = _i_core._T_Dictionary<null, _T_Value>;
37
- namespace list {
38
- namespace L {
39
- }
40
- type L = _T_Value;
41
- }
42
- type list = _i_core._T_List<null, _T_Value>;
43
- type nothing = null;
44
- namespace optional {
45
- namespace SG {
46
- type not_set = null;
47
- namespace _set {
48
- }
49
- type _set = _T_Value;
50
- }
51
- type SG = readonly ['not set', null] | readonly ['set', _T_Value];
52
- }
53
- type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
54
- namespace state {
55
- type state = string;
56
- namespace value {
57
- }
58
- type value = _T_Value;
59
- }
60
- type state = {
61
- readonly 'state': string;
62
- readonly 'value': _T_Value;
63
- };
64
- namespace text {
65
- namespace delimiter {
66
- namespace SG {
67
- type backtick = null;
68
- type none = null;
69
- type quote = null;
70
- }
71
- type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
72
- }
73
- type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
74
- type value = string;
75
- }
76
- type text = {
77
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
78
- readonly 'value': string;
79
- };
80
- namespace verbose_group {
81
- namespace D {
82
- }
83
- type D = _T_Value;
84
- }
85
- type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
86
- }
87
- type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
88
- 'optional',
89
- _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
90
- ] | readonly [
91
- 'state',
92
- {
93
- readonly 'state': string;
94
- readonly 'value': _T_Value;
95
- }
96
- ] | readonly [
97
- 'text',
98
- {
99
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
100
- readonly 'value': string;
101
- }
102
- ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
103
- }
104
- export declare namespace Document {
105
- }
106
- export declare namespace Value {
107
- namespace SG {
108
- namespace concise_group {
109
- namespace L {
110
- }
111
- type L = _T_Value;
112
- }
113
- type concise_group = _i_core._T_List<null, _T_Value>;
114
- namespace dictionary {
115
- namespace D {
116
- }
117
- type D = _T_Value;
118
- }
119
- type dictionary = _i_core._T_Dictionary<null, _T_Value>;
120
- namespace list {
121
- namespace L {
122
- }
123
- type L = _T_Value;
124
- }
125
- type list = _i_core._T_List<null, _T_Value>;
126
- type nothing = null;
127
- namespace optional {
128
- namespace SG {
129
- type not_set = null;
130
- namespace _set {
131
- }
132
- type _set = _T_Value;
133
- }
134
- type SG = readonly ['not set', null] | readonly ['set', _T_Value];
135
- }
136
- type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
137
- namespace state {
138
- type state = string;
139
- namespace value {
140
- }
141
- type value = _T_Value;
142
- }
143
- type state = {
144
- readonly 'state': string;
145
- readonly 'value': _T_Value;
146
- };
147
- namespace text {
148
- namespace delimiter {
149
- namespace SG {
150
- type backtick = null;
151
- type none = null;
152
- type quote = null;
153
- }
154
- type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
155
- }
156
- type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
157
- type value = string;
158
- }
159
- type text = {
160
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
161
- readonly 'value': string;
162
- };
163
- namespace verbose_group {
164
- namespace D {
165
- }
166
- type D = _T_Value;
167
- }
168
- type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
169
- }
170
- type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
171
- 'optional',
172
- _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
173
- ] | readonly [
174
- 'state',
175
- {
176
- readonly 'state': string;
177
- readonly 'value': _T_Value;
178
- }
179
- ] | readonly [
180
- 'text',
181
- {
182
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
183
- readonly 'value': string;
184
- }
185
- ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
186
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3RhcmdldC9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,186 +0,0 @@
1
- import * as _i_core from "../../core/unresolved";
2
- export type _T_Document = _T_Value;
3
- export type _T_Value = _i_core._T_State_Group<null, readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
4
- 'optional',
5
- _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
6
- ] | readonly [
7
- 'state',
8
- {
9
- readonly 'state': string;
10
- readonly 'value': _T_Value;
11
- }
12
- ] | readonly [
13
- 'text',
14
- {
15
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
16
- readonly 'value': string;
17
- }
18
- ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>]>;
19
- export type Document = _T_Document;
20
- export type Value = _T_Value;
21
- export declare namespace _T_Document {
22
- }
23
- export declare namespace _T_Value {
24
- namespace SG {
25
- namespace concise_group {
26
- namespace L {
27
- }
28
- type L = _T_Value;
29
- }
30
- type concise_group = _i_core._T_List<null, _T_Value>;
31
- namespace dictionary {
32
- namespace D {
33
- }
34
- type D = _T_Value;
35
- }
36
- type dictionary = _i_core._T_Dictionary<null, _T_Value>;
37
- namespace list {
38
- namespace L {
39
- }
40
- type L = _T_Value;
41
- }
42
- type list = _i_core._T_List<null, _T_Value>;
43
- type nothing = null;
44
- namespace optional {
45
- namespace SG {
46
- type not_set = null;
47
- namespace _set {
48
- }
49
- type _set = _T_Value;
50
- }
51
- type SG = readonly ['not set', null] | readonly ['set', _T_Value];
52
- }
53
- type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
54
- namespace state {
55
- type state = string;
56
- namespace value {
57
- }
58
- type value = _T_Value;
59
- }
60
- type state = {
61
- readonly 'state': string;
62
- readonly 'value': _T_Value;
63
- };
64
- namespace text {
65
- namespace delimiter {
66
- namespace SG {
67
- type backtick = null;
68
- type none = null;
69
- type quote = null;
70
- }
71
- type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
72
- }
73
- type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
74
- type value = string;
75
- }
76
- type text = {
77
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
78
- readonly 'value': string;
79
- };
80
- namespace verbose_group {
81
- namespace D {
82
- }
83
- type D = _T_Value;
84
- }
85
- type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
86
- }
87
- type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
88
- 'optional',
89
- _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
90
- ] | readonly [
91
- 'state',
92
- {
93
- readonly 'state': string;
94
- readonly 'value': _T_Value;
95
- }
96
- ] | readonly [
97
- 'text',
98
- {
99
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
100
- readonly 'value': string;
101
- }
102
- ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
103
- }
104
- export declare namespace Document {
105
- }
106
- export declare namespace Value {
107
- namespace SG {
108
- namespace concise_group {
109
- namespace L {
110
- }
111
- type L = _T_Value;
112
- }
113
- type concise_group = _i_core._T_List<null, _T_Value>;
114
- namespace dictionary {
115
- namespace D {
116
- }
117
- type D = _T_Value;
118
- }
119
- type dictionary = _i_core._T_Dictionary<null, _T_Value>;
120
- namespace list {
121
- namespace L {
122
- }
123
- type L = _T_Value;
124
- }
125
- type list = _i_core._T_List<null, _T_Value>;
126
- type nothing = null;
127
- namespace optional {
128
- namespace SG {
129
- type not_set = null;
130
- namespace _set {
131
- }
132
- type _set = _T_Value;
133
- }
134
- type SG = readonly ['not set', null] | readonly ['set', _T_Value];
135
- }
136
- type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
137
- namespace state {
138
- type state = string;
139
- namespace value {
140
- }
141
- type value = _T_Value;
142
- }
143
- type state = {
144
- readonly 'state': string;
145
- readonly 'value': _T_Value;
146
- };
147
- namespace text {
148
- namespace delimiter {
149
- namespace SG {
150
- type backtick = null;
151
- type none = null;
152
- type quote = null;
153
- }
154
- type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
155
- }
156
- type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
157
- type value = string;
158
- }
159
- type text = {
160
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
161
- readonly 'value': string;
162
- };
163
- namespace verbose_group {
164
- namespace D {
165
- }
166
- type D = _T_Value;
167
- }
168
- type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
169
- }
170
- type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
171
- 'optional',
172
- _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
173
- ] | readonly [
174
- 'state',
175
- {
176
- readonly 'state': string;
177
- readonly 'value': _T_Value;
178
- }
179
- ] | readonly [
180
- 'text',
181
- {
182
- readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
183
- readonly 'value': string;
184
- }
185
- ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
186
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0L3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,46 +0,0 @@
1
- import * as _i_in from "./resolved";
2
- import * as _i_out from "./unresolved";
3
- export type _T_Document = ($$_: _i_in._T_Document, $$_p: null) => _i_out._T_Document;
4
- export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
5
- export type Document = _T_Document;
6
- export type Value = _T_Value;
7
- export declare namespace _T_Document {
8
- namespace CONTEXT {
9
- }
10
- type CONTEXT = _i_in._T_Document;
11
- namespace PARAMS {
12
- }
13
- namespace RESULT {
14
- }
15
- type RESULT = _i_out._T_Document;
16
- }
17
- export declare namespace _T_Value {
18
- namespace CONTEXT {
19
- }
20
- type CONTEXT = _i_in._T_Value;
21
- namespace PARAMS {
22
- }
23
- namespace RESULT {
24
- }
25
- type RESULT = _i_out._T_Value;
26
- }
27
- export declare namespace Document {
28
- namespace CONTEXT {
29
- }
30
- type CONTEXT = _i_in._T_Document;
31
- namespace PARAMS {
32
- }
33
- namespace RESULT {
34
- }
35
- type RESULT = _i_out._T_Document;
36
- }
37
- export declare namespace Value {
38
- namespace CONTEXT {
39
- }
40
- type CONTEXT = _i_in._T_Value;
41
- namespace PARAMS {
42
- }
43
- namespace RESULT {
44
- }
45
- type RESULT = _i_out._T_Value;
46
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90YXJnZXRfanNvbi9taWdyYXRpb25fYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,169 +0,0 @@
1
- import * as _i_core from "../../core/poormans_parser";
2
- export type _T_Document<G_Source> = _T_Value<G_Source>;
3
- export type _T_Value<G_Source> = _i_core._T_State_Group<G_Source, readonly ['array', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['boolean', boolean] | readonly ['null', null] | readonly [
4
- 'number',
5
- _i_core._T_State_Group<G_Source, readonly ['float', number] | readonly ['integer', number]>
6
- ] | readonly [
7
- 'object',
8
- _i_core._T_State_Group<G_Source, readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
9
- 'key value array',
10
- _i_core._T_List<G_Source, {
11
- readonly 'key': string;
12
- readonly 'value': _T_Value<G_Source>;
13
- }>
14
- ]>
15
- ] | readonly ['string', string]>;
16
- export type Document<G_Source> = _T_Document<G_Source>;
17
- export type Value<G_Source> = _T_Value<G_Source>;
18
- export declare namespace _T_Document {
19
- }
20
- export declare namespace _T_Value {
21
- namespace SG {
22
- namespace array {
23
- namespace L {
24
- }
25
- type L<G_Source> = _T_Value<G_Source>;
26
- }
27
- type array<G_Source> = _i_core._T_List<G_Source, _T_Value<G_Source>>;
28
- type _boolean<G_Source> = boolean;
29
- type _null<G_Source> = null;
30
- namespace _number {
31
- namespace SG {
32
- type float<G_Source> = number;
33
- type integer<G_Source> = number;
34
- }
35
- type SG<G_Source> = readonly ['float', number] | readonly ['integer', number];
36
- }
37
- type _number<G_Source> = _i_core._T_State_Group<G_Source, readonly ['float', number] | readonly ['integer', number]>;
38
- namespace _object {
39
- namespace SG {
40
- namespace dictionary {
41
- namespace D {
42
- }
43
- type D<G_Source> = _T_Value<G_Source>;
44
- }
45
- type dictionary<G_Source> = _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>;
46
- namespace key_value_array {
47
- namespace L {
48
- type key<G_Source> = string;
49
- namespace value {
50
- }
51
- type value<G_Source> = _T_Value<G_Source>;
52
- }
53
- type L<G_Source> = {
54
- readonly 'key': string;
55
- readonly 'value': _T_Value<G_Source>;
56
- };
57
- }
58
- type key_value_array<G_Source> = _i_core._T_List<G_Source, {
59
- readonly 'key': string;
60
- readonly 'value': _T_Value<G_Source>;
61
- }>;
62
- }
63
- type SG<G_Source> = readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
64
- 'key value array',
65
- _i_core._T_List<G_Source, {
66
- readonly 'key': string;
67
- readonly 'value': _T_Value<G_Source>;
68
- }>
69
- ];
70
- }
71
- type _object<G_Source> = _i_core._T_State_Group<G_Source, readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
72
- 'key value array',
73
- _i_core._T_List<G_Source, {
74
- readonly 'key': string;
75
- readonly 'value': _T_Value<G_Source>;
76
- }>
77
- ]>;
78
- type _string<G_Source> = string;
79
- }
80
- type SG<G_Source> = readonly ['array', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['boolean', boolean] | readonly ['null', null] | readonly [
81
- 'number',
82
- _i_core._T_State_Group<G_Source, readonly ['float', number] | readonly ['integer', number]>
83
- ] | readonly [
84
- 'object',
85
- _i_core._T_State_Group<G_Source, readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
86
- 'key value array',
87
- _i_core._T_List<G_Source, {
88
- readonly 'key': string;
89
- readonly 'value': _T_Value<G_Source>;
90
- }>
91
- ]>
92
- ] | readonly ['string', string];
93
- }
94
- export declare namespace Document {
95
- }
96
- export declare namespace Value {
97
- namespace SG {
98
- namespace array {
99
- namespace L {
100
- }
101
- type L<G_Source> = _T_Value<G_Source>;
102
- }
103
- type array<G_Source> = _i_core._T_List<G_Source, _T_Value<G_Source>>;
104
- type _boolean<G_Source> = boolean;
105
- type _null<G_Source> = null;
106
- namespace _number {
107
- namespace SG {
108
- type float<G_Source> = number;
109
- type integer<G_Source> = number;
110
- }
111
- type SG<G_Source> = readonly ['float', number] | readonly ['integer', number];
112
- }
113
- type _number<G_Source> = _i_core._T_State_Group<G_Source, readonly ['float', number] | readonly ['integer', number]>;
114
- namespace _object {
115
- namespace SG {
116
- namespace dictionary {
117
- namespace D {
118
- }
119
- type D<G_Source> = _T_Value<G_Source>;
120
- }
121
- type dictionary<G_Source> = _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>;
122
- namespace key_value_array {
123
- namespace L {
124
- type key<G_Source> = string;
125
- namespace value {
126
- }
127
- type value<G_Source> = _T_Value<G_Source>;
128
- }
129
- type L<G_Source> = {
130
- readonly 'key': string;
131
- readonly 'value': _T_Value<G_Source>;
132
- };
133
- }
134
- type key_value_array<G_Source> = _i_core._T_List<G_Source, {
135
- readonly 'key': string;
136
- readonly 'value': _T_Value<G_Source>;
137
- }>;
138
- }
139
- type SG<G_Source> = readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
140
- 'key value array',
141
- _i_core._T_List<G_Source, {
142
- readonly 'key': string;
143
- readonly 'value': _T_Value<G_Source>;
144
- }>
145
- ];
146
- }
147
- type _object<G_Source> = _i_core._T_State_Group<G_Source, readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
148
- 'key value array',
149
- _i_core._T_List<G_Source, {
150
- readonly 'key': string;
151
- readonly 'value': _T_Value<G_Source>;
152
- }>
153
- ]>;
154
- type _string<G_Source> = string;
155
- }
156
- type SG<G_Source> = readonly ['array', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['boolean', boolean] | readonly ['null', null] | readonly [
157
- 'number',
158
- _i_core._T_State_Group<G_Source, readonly ['float', number] | readonly ['integer', number]>
159
- ] | readonly [
160
- 'object',
161
- _i_core._T_State_Group<G_Source, readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly [
162
- 'key value array',
163
- _i_core._T_List<G_Source, {
164
- readonly 'key': string;
165
- readonly 'value': _T_Value<G_Source>;
166
- }>
167
- ]>
168
- ] | readonly ['string', string];
169
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vcm1hbnNfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90YXJnZXRfanNvbi9wb29ybWFuc19wYXJzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9