astn 0.111.12 → 0.111.14
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.
- package/dist/generated/implementation/schemas/authoring_target/marshall.js +107 -93
- package/dist/generated/implementation/schemas/authoring_target/unmarshall.js +78 -54
- package/dist/generated/interface/schemas/authoring_target/data_types/source.d.ts +289 -145
- package/dist/generated/interface/schemas/authoring_target/data_types/target.d.ts +289 -145
- package/dist/transformations/authoring_ast/authoring_target.d.ts +1 -0
- package/dist/transformations/authoring_ast/authoring_target.js +20 -0
- package/dist/transformations/authoring_target/fountain_pen_block.js +5 -6
- package/package.json +1 -1
- package/dist/transformations/ast/ide.d.ts +0 -43
- package/dist/transformations/ast/ide.js +0 -171
- package/dist/transformations/ast/json_target.d.ts +0 -6
- package/dist/transformations/ast/json_target.js +0 -90
- package/dist/transformations/ast/temp_value_range.d.ts +0 -3
- package/dist/transformations/ast/temp_value_range.js +0 -88
|
@@ -1,112 +1,185 @@
|
|
|
1
1
|
import * as _i_core from "../../../core/resolved";
|
|
2
2
|
export type _T_Document = _T_Value;
|
|
3
|
-
export type _T_Value =
|
|
4
|
-
'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
_i_core._T_State_Group<null, readonly ['missing data', null] | readonly [
|
|
9
|
-
'set',
|
|
10
|
-
{
|
|
11
|
-
readonly 'state': string;
|
|
3
|
+
export type _T_Value = {
|
|
4
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly [
|
|
5
|
+
'dictionary',
|
|
6
|
+
_i_core._T_List<null, {
|
|
7
|
+
readonly 'key': string;
|
|
12
8
|
readonly 'value': _T_Value;
|
|
9
|
+
}>
|
|
10
|
+
] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
11
|
+
'optional',
|
|
12
|
+
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
13
|
+
] | readonly [
|
|
14
|
+
'state',
|
|
15
|
+
_i_core._T_State_Group<null, readonly ['missing data', null] | readonly [
|
|
16
|
+
'set',
|
|
17
|
+
{
|
|
18
|
+
readonly 'state': string;
|
|
19
|
+
readonly 'value': _T_Value;
|
|
20
|
+
}
|
|
21
|
+
]>
|
|
22
|
+
] | readonly [
|
|
23
|
+
'text',
|
|
24
|
+
{
|
|
25
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
26
|
+
readonly 'value': string;
|
|
13
27
|
}
|
|
14
|
-
]
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
28
|
+
] | readonly [
|
|
29
|
+
'verbose group',
|
|
30
|
+
_i_core._T_List<null, {
|
|
31
|
+
readonly 'key': string;
|
|
32
|
+
readonly 'value': _T_Value;
|
|
33
|
+
}>
|
|
34
|
+
]>;
|
|
35
|
+
};
|
|
22
36
|
export type Document = _T_Document;
|
|
23
37
|
export type Value = _T_Value;
|
|
24
38
|
export declare namespace _T_Document {
|
|
25
39
|
}
|
|
26
40
|
export declare namespace _T_Value {
|
|
27
|
-
namespace
|
|
28
|
-
namespace
|
|
29
|
-
namespace
|
|
30
|
-
|
|
31
|
-
type L = _T_Value;
|
|
32
|
-
}
|
|
33
|
-
type concise_group = _i_core._T_List<null, _T_Value>;
|
|
34
|
-
namespace dictionary {
|
|
35
|
-
namespace D {
|
|
36
|
-
}
|
|
37
|
-
type D = _T_Value;
|
|
38
|
-
}
|
|
39
|
-
type dictionary = _i_core._T_Dictionary<null, _T_Value>;
|
|
40
|
-
namespace list {
|
|
41
|
-
namespace L {
|
|
42
|
-
}
|
|
43
|
-
type L = _T_Value;
|
|
44
|
-
}
|
|
45
|
-
type list = _i_core._T_List<null, _T_Value>;
|
|
46
|
-
type nothing = null;
|
|
47
|
-
namespace optional {
|
|
48
|
-
namespace SG {
|
|
49
|
-
type not_set = null;
|
|
50
|
-
namespace _set {
|
|
41
|
+
namespace _type {
|
|
42
|
+
namespace SG {
|
|
43
|
+
namespace concise_group {
|
|
44
|
+
namespace L {
|
|
51
45
|
}
|
|
52
|
-
type
|
|
46
|
+
type L = _T_Value;
|
|
53
47
|
}
|
|
54
|
-
type
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
namespace SG {
|
|
59
|
-
type missing_data = null;
|
|
60
|
-
namespace _set {
|
|
61
|
-
type state = string;
|
|
48
|
+
type concise_group = _i_core._T_List<null, _T_Value>;
|
|
49
|
+
namespace dictionary {
|
|
50
|
+
namespace L {
|
|
51
|
+
type key = string;
|
|
62
52
|
namespace value {
|
|
63
53
|
}
|
|
64
54
|
type value = _T_Value;
|
|
65
55
|
}
|
|
66
|
-
type
|
|
67
|
-
readonly '
|
|
56
|
+
type L = {
|
|
57
|
+
readonly 'key': string;
|
|
68
58
|
readonly 'value': _T_Value;
|
|
69
59
|
};
|
|
70
60
|
}
|
|
71
|
-
type
|
|
61
|
+
type dictionary = _i_core._T_List<null, {
|
|
62
|
+
readonly 'key': string;
|
|
63
|
+
readonly 'value': _T_Value;
|
|
64
|
+
}>;
|
|
65
|
+
namespace list {
|
|
66
|
+
namespace L {
|
|
67
|
+
}
|
|
68
|
+
type L = _T_Value;
|
|
69
|
+
}
|
|
70
|
+
type list = _i_core._T_List<null, _T_Value>;
|
|
71
|
+
type nothing = null;
|
|
72
|
+
namespace optional {
|
|
73
|
+
namespace SG {
|
|
74
|
+
type not_set = null;
|
|
75
|
+
namespace _set {
|
|
76
|
+
}
|
|
77
|
+
type _set = _T_Value;
|
|
78
|
+
}
|
|
79
|
+
type SG = readonly ['not set', null] | readonly ['set', _T_Value];
|
|
80
|
+
}
|
|
81
|
+
type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
|
|
82
|
+
namespace state {
|
|
83
|
+
namespace SG {
|
|
84
|
+
type missing_data = null;
|
|
85
|
+
namespace _set {
|
|
86
|
+
type state = string;
|
|
87
|
+
namespace value {
|
|
88
|
+
}
|
|
89
|
+
type value = _T_Value;
|
|
90
|
+
}
|
|
91
|
+
type _set = {
|
|
92
|
+
readonly 'state': string;
|
|
93
|
+
readonly 'value': _T_Value;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
type SG = readonly ['missing data', null] | readonly [
|
|
97
|
+
'set',
|
|
98
|
+
{
|
|
99
|
+
readonly 'state': string;
|
|
100
|
+
readonly 'value': _T_Value;
|
|
101
|
+
}
|
|
102
|
+
];
|
|
103
|
+
}
|
|
104
|
+
type state = _i_core._T_State_Group<null, readonly ['missing data', null] | readonly [
|
|
72
105
|
'set',
|
|
73
106
|
{
|
|
74
107
|
readonly 'state': string;
|
|
75
108
|
readonly 'value': _T_Value;
|
|
76
109
|
}
|
|
77
|
-
]
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
110
|
+
]>;
|
|
111
|
+
namespace text {
|
|
112
|
+
namespace delimiter {
|
|
113
|
+
namespace SG {
|
|
114
|
+
type backtick = null;
|
|
115
|
+
type none = null;
|
|
116
|
+
type quote = null;
|
|
117
|
+
}
|
|
118
|
+
type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
119
|
+
}
|
|
120
|
+
type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
121
|
+
type value = string;
|
|
84
122
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
type
|
|
123
|
+
type text = {
|
|
124
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
125
|
+
readonly 'value': string;
|
|
126
|
+
};
|
|
127
|
+
namespace verbose_group {
|
|
128
|
+
namespace L {
|
|
129
|
+
type key = string;
|
|
130
|
+
namespace value {
|
|
131
|
+
}
|
|
132
|
+
type value = _T_Value;
|
|
92
133
|
}
|
|
93
|
-
type
|
|
134
|
+
type L = {
|
|
135
|
+
readonly 'key': string;
|
|
136
|
+
readonly 'value': _T_Value;
|
|
137
|
+
};
|
|
94
138
|
}
|
|
95
|
-
type
|
|
96
|
-
|
|
139
|
+
type verbose_group = _i_core._T_List<null, {
|
|
140
|
+
readonly 'key': string;
|
|
141
|
+
readonly 'value': _T_Value;
|
|
142
|
+
}>;
|
|
97
143
|
}
|
|
98
|
-
type
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
144
|
+
type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly [
|
|
145
|
+
'dictionary',
|
|
146
|
+
_i_core._T_List<null, {
|
|
147
|
+
readonly 'key': string;
|
|
148
|
+
readonly 'value': _T_Value;
|
|
149
|
+
}>
|
|
150
|
+
] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
151
|
+
'optional',
|
|
152
|
+
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
153
|
+
] | readonly [
|
|
154
|
+
'state',
|
|
155
|
+
_i_core._T_State_Group<null, readonly ['missing data', null] | readonly [
|
|
156
|
+
'set',
|
|
157
|
+
{
|
|
158
|
+
readonly 'state': string;
|
|
159
|
+
readonly 'value': _T_Value;
|
|
160
|
+
}
|
|
161
|
+
]>
|
|
162
|
+
] | readonly [
|
|
163
|
+
'text',
|
|
164
|
+
{
|
|
165
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
166
|
+
readonly 'value': string;
|
|
104
167
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
168
|
+
] | readonly [
|
|
169
|
+
'verbose group',
|
|
170
|
+
_i_core._T_List<null, {
|
|
171
|
+
readonly 'key': string;
|
|
172
|
+
readonly 'value': _T_Value;
|
|
173
|
+
}>
|
|
174
|
+
];
|
|
108
175
|
}
|
|
109
|
-
type
|
|
176
|
+
type _type = _i_core._T_State_Group<null, readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly [
|
|
177
|
+
'dictionary',
|
|
178
|
+
_i_core._T_List<null, {
|
|
179
|
+
readonly 'key': string;
|
|
180
|
+
readonly 'value': _T_Value;
|
|
181
|
+
}>
|
|
182
|
+
] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
110
183
|
'optional',
|
|
111
184
|
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
112
185
|
] | readonly [
|
|
@@ -124,94 +197,159 @@ export declare namespace _T_Value {
|
|
|
124
197
|
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
125
198
|
readonly 'value': string;
|
|
126
199
|
}
|
|
127
|
-
] | readonly [
|
|
200
|
+
] | readonly [
|
|
201
|
+
'verbose group',
|
|
202
|
+
_i_core._T_List<null, {
|
|
203
|
+
readonly 'key': string;
|
|
204
|
+
readonly 'value': _T_Value;
|
|
205
|
+
}>
|
|
206
|
+
]>;
|
|
128
207
|
}
|
|
129
208
|
export declare namespace Document {
|
|
130
209
|
}
|
|
131
210
|
export declare namespace Value {
|
|
132
|
-
namespace
|
|
133
|
-
namespace
|
|
134
|
-
namespace
|
|
135
|
-
|
|
136
|
-
type L = _T_Value;
|
|
137
|
-
}
|
|
138
|
-
type concise_group = _i_core._T_List<null, _T_Value>;
|
|
139
|
-
namespace dictionary {
|
|
140
|
-
namespace D {
|
|
141
|
-
}
|
|
142
|
-
type D = _T_Value;
|
|
143
|
-
}
|
|
144
|
-
type dictionary = _i_core._T_Dictionary<null, _T_Value>;
|
|
145
|
-
namespace list {
|
|
146
|
-
namespace L {
|
|
147
|
-
}
|
|
148
|
-
type L = _T_Value;
|
|
149
|
-
}
|
|
150
|
-
type list = _i_core._T_List<null, _T_Value>;
|
|
151
|
-
type nothing = null;
|
|
152
|
-
namespace optional {
|
|
153
|
-
namespace SG {
|
|
154
|
-
type not_set = null;
|
|
155
|
-
namespace _set {
|
|
211
|
+
namespace _type {
|
|
212
|
+
namespace SG {
|
|
213
|
+
namespace concise_group {
|
|
214
|
+
namespace L {
|
|
156
215
|
}
|
|
157
|
-
type
|
|
216
|
+
type L = _T_Value;
|
|
158
217
|
}
|
|
159
|
-
type
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
namespace SG {
|
|
164
|
-
type missing_data = null;
|
|
165
|
-
namespace _set {
|
|
166
|
-
type state = string;
|
|
218
|
+
type concise_group = _i_core._T_List<null, _T_Value>;
|
|
219
|
+
namespace dictionary {
|
|
220
|
+
namespace L {
|
|
221
|
+
type key = string;
|
|
167
222
|
namespace value {
|
|
168
223
|
}
|
|
169
224
|
type value = _T_Value;
|
|
170
225
|
}
|
|
171
|
-
type
|
|
172
|
-
readonly '
|
|
226
|
+
type L = {
|
|
227
|
+
readonly 'key': string;
|
|
173
228
|
readonly 'value': _T_Value;
|
|
174
229
|
};
|
|
175
230
|
}
|
|
176
|
-
type
|
|
231
|
+
type dictionary = _i_core._T_List<null, {
|
|
232
|
+
readonly 'key': string;
|
|
233
|
+
readonly 'value': _T_Value;
|
|
234
|
+
}>;
|
|
235
|
+
namespace list {
|
|
236
|
+
namespace L {
|
|
237
|
+
}
|
|
238
|
+
type L = _T_Value;
|
|
239
|
+
}
|
|
240
|
+
type list = _i_core._T_List<null, _T_Value>;
|
|
241
|
+
type nothing = null;
|
|
242
|
+
namespace optional {
|
|
243
|
+
namespace SG {
|
|
244
|
+
type not_set = null;
|
|
245
|
+
namespace _set {
|
|
246
|
+
}
|
|
247
|
+
type _set = _T_Value;
|
|
248
|
+
}
|
|
249
|
+
type SG = readonly ['not set', null] | readonly ['set', _T_Value];
|
|
250
|
+
}
|
|
251
|
+
type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
|
|
252
|
+
namespace state {
|
|
253
|
+
namespace SG {
|
|
254
|
+
type missing_data = null;
|
|
255
|
+
namespace _set {
|
|
256
|
+
type state = string;
|
|
257
|
+
namespace value {
|
|
258
|
+
}
|
|
259
|
+
type value = _T_Value;
|
|
260
|
+
}
|
|
261
|
+
type _set = {
|
|
262
|
+
readonly 'state': string;
|
|
263
|
+
readonly 'value': _T_Value;
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
type SG = readonly ['missing data', null] | readonly [
|
|
267
|
+
'set',
|
|
268
|
+
{
|
|
269
|
+
readonly 'state': string;
|
|
270
|
+
readonly 'value': _T_Value;
|
|
271
|
+
}
|
|
272
|
+
];
|
|
273
|
+
}
|
|
274
|
+
type state = _i_core._T_State_Group<null, readonly ['missing data', null] | readonly [
|
|
177
275
|
'set',
|
|
178
276
|
{
|
|
179
277
|
readonly 'state': string;
|
|
180
278
|
readonly 'value': _T_Value;
|
|
181
279
|
}
|
|
182
|
-
]
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
280
|
+
]>;
|
|
281
|
+
namespace text {
|
|
282
|
+
namespace delimiter {
|
|
283
|
+
namespace SG {
|
|
284
|
+
type backtick = null;
|
|
285
|
+
type none = null;
|
|
286
|
+
type quote = null;
|
|
287
|
+
}
|
|
288
|
+
type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
289
|
+
}
|
|
290
|
+
type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
291
|
+
type value = string;
|
|
189
292
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
type
|
|
293
|
+
type text = {
|
|
294
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
295
|
+
readonly 'value': string;
|
|
296
|
+
};
|
|
297
|
+
namespace verbose_group {
|
|
298
|
+
namespace L {
|
|
299
|
+
type key = string;
|
|
300
|
+
namespace value {
|
|
301
|
+
}
|
|
302
|
+
type value = _T_Value;
|
|
197
303
|
}
|
|
198
|
-
type
|
|
304
|
+
type L = {
|
|
305
|
+
readonly 'key': string;
|
|
306
|
+
readonly 'value': _T_Value;
|
|
307
|
+
};
|
|
199
308
|
}
|
|
200
|
-
type
|
|
201
|
-
|
|
309
|
+
type verbose_group = _i_core._T_List<null, {
|
|
310
|
+
readonly 'key': string;
|
|
311
|
+
readonly 'value': _T_Value;
|
|
312
|
+
}>;
|
|
202
313
|
}
|
|
203
|
-
type
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
314
|
+
type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly [
|
|
315
|
+
'dictionary',
|
|
316
|
+
_i_core._T_List<null, {
|
|
317
|
+
readonly 'key': string;
|
|
318
|
+
readonly 'value': _T_Value;
|
|
319
|
+
}>
|
|
320
|
+
] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
321
|
+
'optional',
|
|
322
|
+
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
323
|
+
] | readonly [
|
|
324
|
+
'state',
|
|
325
|
+
_i_core._T_State_Group<null, readonly ['missing data', null] | readonly [
|
|
326
|
+
'set',
|
|
327
|
+
{
|
|
328
|
+
readonly 'state': string;
|
|
329
|
+
readonly 'value': _T_Value;
|
|
330
|
+
}
|
|
331
|
+
]>
|
|
332
|
+
] | readonly [
|
|
333
|
+
'text',
|
|
334
|
+
{
|
|
335
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
336
|
+
readonly 'value': string;
|
|
209
337
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
338
|
+
] | readonly [
|
|
339
|
+
'verbose group',
|
|
340
|
+
_i_core._T_List<null, {
|
|
341
|
+
readonly 'key': string;
|
|
342
|
+
readonly 'value': _T_Value;
|
|
343
|
+
}>
|
|
344
|
+
];
|
|
213
345
|
}
|
|
214
|
-
type
|
|
346
|
+
type _type = _i_core._T_State_Group<null, readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly [
|
|
347
|
+
'dictionary',
|
|
348
|
+
_i_core._T_List<null, {
|
|
349
|
+
readonly 'key': string;
|
|
350
|
+
readonly 'value': _T_Value;
|
|
351
|
+
}>
|
|
352
|
+
] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
215
353
|
'optional',
|
|
216
354
|
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
217
355
|
] | readonly [
|
|
@@ -229,5 +367,11 @@ export declare namespace Value {
|
|
|
229
367
|
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
230
368
|
readonly 'value': string;
|
|
231
369
|
}
|
|
232
|
-
] | readonly [
|
|
370
|
+
] | readonly [
|
|
371
|
+
'verbose group',
|
|
372
|
+
_i_core._T_List<null, {
|
|
373
|
+
readonly 'key': string;
|
|
374
|
+
readonly 'value': _T_Value;
|
|
375
|
+
}>
|
|
376
|
+
]>;
|
|
233
377
|
}
|