astn 0.113.27 → 0.113.28
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/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +11 -11
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +1 -1
- package/dist/interface/generated/pareto/core/location.d.ts +11 -0
- package/dist/interface/generated/pareto/core/location.js +3 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/resolve.d.ts +191 -1124
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/source.d.ts +123 -419
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/target.d.ts +213 -389
- package/dist/interface/generated/pareto/schemas/astn_schema/deserialize.d.ts +79 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/marshall.d.ts +58 -311
- package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +58 -244
- package/dist/interface/generated/pareto/schemas/astn_schema/serialize.d.ts +57 -266
- package/dist/interface/generated/pareto/schemas/astn_schema/unmarshall.d.ts +58 -377
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/resolve.js +1 -5
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/source.d.ts +53 -242
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target.d.ts +53 -242
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/deserialize.d.ts +9 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/marshall.d.ts +8 -31
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/migrate_boilerplate.d.ts +8 -22
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +7 -26
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/unmarshall.d.ts +8 -31
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/resolve.js +1 -5
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/source.d.ts +137 -930
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target.d.ts +137 -930
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/deserialize.d.ts +58 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/marshall.d.ts +43 -227
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/migrate_boilerplate.d.ts +43 -162
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/serialize.d.ts +42 -194
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/unmarshall.d.ts +43 -227
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/resolve.js +1 -5
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/source.d.ts +64 -369
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/target.d.ts +64 -369
- package/dist/interface/generated/pareto/schemas/authoring_target/deserialize.d.ts +16 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/marshall.d.ts +13 -59
- package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +13 -42
- package/dist/interface/generated/pareto/schemas/authoring_target/serialize.d.ts +12 -50
- package/dist/interface/generated/pareto/schemas/authoring_target/unmarshall.d.ts +13 -59
- package/dist/interface/generated/pareto/schemas/ide/data_types/resolve.js +1 -5
- package/dist/interface/generated/pareto/schemas/ide/data_types/source.d.ts +38 -185
- package/dist/interface/generated/pareto/schemas/ide/data_types/target.d.ts +38 -185
- package/dist/interface/generated/pareto/schemas/ide/deserialize.d.ts +23 -0
- package/dist/interface/generated/pareto/schemas/ide/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/ide/marshall.d.ts +18 -87
- package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +18 -62
- package/dist/interface/generated/pareto/schemas/ide/serialize.d.ts +17 -74
- package/dist/interface/generated/pareto/schemas/ide/unmarshall.d.ts +18 -87
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/resolve.js +1 -5
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/source.d.ts +47 -207
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.d.ts +47 -207
- package/dist/interface/generated/pareto/schemas/sealed_target/deserialize.d.ts +16 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/marshall.d.ts +13 -59
- package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +13 -42
- package/dist/interface/generated/pareto/schemas/sealed_target/serialize.d.ts +12 -50
- package/dist/interface/generated/pareto/schemas/sealed_target/unmarshall.d.ts +13 -59
- package/dist/interface/generated/pareto/schemas/token/data_types/resolve.js +1 -5
- package/dist/interface/generated/pareto/schemas/token/data_types/source.d.ts +98 -305
- package/dist/interface/generated/pareto/schemas/token/data_types/target.d.ts +98 -305
- package/dist/interface/generated/pareto/schemas/token/deserialize.d.ts +72 -0
- package/dist/interface/generated/pareto/schemas/token/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/token/marshall.d.ts +53 -283
- package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +53 -202
- package/dist/interface/generated/pareto/schemas/token/serialize.d.ts +52 -242
- package/dist/interface/generated/pareto/schemas/token/unmarshall.d.ts +53 -283
- package/dist/shorthands/parse_result.d.ts +1 -1
- package/dist/shorthands/parse_result.js +1 -1
- package/package.json +1 -1
|
@@ -1,326 +1,119 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
export
|
|
3
|
-
readonly 'line': number;
|
|
4
|
-
readonly 'column': number;
|
|
5
|
-
};
|
|
6
|
-
export type _T_Location = {
|
|
7
|
-
readonly 'relative': _T_Relative_Location;
|
|
8
|
-
readonly 'absolute': number;
|
|
9
|
-
};
|
|
10
|
-
export type _T_Range = {
|
|
11
|
-
readonly 'start': _T_Location;
|
|
12
|
-
readonly 'end': _T_Location;
|
|
13
|
-
};
|
|
14
|
-
export type _T_Whitespace = {
|
|
15
|
-
readonly 'range': _T_Range;
|
|
16
|
-
readonly 'value': string;
|
|
17
|
-
};
|
|
18
|
-
export type _T_Trivia = {
|
|
19
|
-
readonly 'leading whitespace': _T_Whitespace;
|
|
20
|
-
readonly 'comments': _i_core._T_List<null, {
|
|
21
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
22
|
-
readonly 'content': string;
|
|
23
|
-
readonly 'range': _T_Range;
|
|
24
|
-
readonly 'trailing whitespace': _T_Whitespace;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
export type _T_Delimited_String = string;
|
|
28
|
-
export type _T_String_Type = _i_core._T_State_Group<null, readonly ['quoted', null] | readonly ['apostrophed', null] | readonly ['undelimited', null] | readonly ['backticked', null]>;
|
|
29
|
-
export type _T_Token_Type = _i_core._T_State_Group<null, readonly ['{', null] | readonly ['}', null] | readonly ['[', null] | readonly [']', null] | readonly ['(', null] | readonly [')', null] | readonly ['<', null] | readonly ['>', null] | readonly ['!', null] | readonly ['@', null] | readonly ['~', null] | readonly ['*', null] | readonly [':', null] | readonly ['|', null] | readonly ['#', null] | readonly [
|
|
30
|
-
'string',
|
|
31
|
-
{
|
|
32
|
-
readonly 'value': _T_Delimited_String;
|
|
33
|
-
readonly 'type': _T_String_Type;
|
|
34
|
-
}
|
|
35
|
-
]>;
|
|
36
|
-
export type _T_Annotated_Token = {
|
|
37
|
-
readonly 'start': _T_Location;
|
|
38
|
-
readonly 'type': _T_Token_Type;
|
|
39
|
-
readonly 'end': _T_Location;
|
|
40
|
-
readonly 'trailing trivia': _T_Trivia;
|
|
41
|
-
};
|
|
42
|
-
export type _T_Tokenizer_Result = {
|
|
43
|
-
readonly 'leading trivia': _T_Trivia;
|
|
44
|
-
readonly 'tokens': _i_core._T_List<null, _T_Annotated_Token>;
|
|
45
|
-
readonly 'end': _T_Location;
|
|
46
|
-
};
|
|
47
|
-
export type Relative_Location = _T_Relative_Location;
|
|
48
|
-
export type Location = _T_Location;
|
|
49
|
-
export type Range = _T_Range;
|
|
50
|
-
export type Whitespace = _T_Whitespace;
|
|
51
|
-
export type Trivia = _T_Trivia;
|
|
52
|
-
export type Delimited_String = _T_Delimited_String;
|
|
53
|
-
export type String_Type = _T_String_Type;
|
|
54
|
-
export type Token_Type = _T_Token_Type;
|
|
55
|
-
export type Annotated_Token = _T_Annotated_Token;
|
|
56
|
-
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
57
|
-
export declare namespace _T_Relative_Location {
|
|
58
|
-
type line = number;
|
|
59
|
-
type column = number;
|
|
60
|
-
}
|
|
61
|
-
export declare namespace _T_Location {
|
|
62
|
-
namespace relative {
|
|
63
|
-
}
|
|
64
|
-
type relative = _T_Relative_Location;
|
|
65
|
-
type absolute = number;
|
|
66
|
-
}
|
|
67
|
-
export declare namespace _T_Range {
|
|
68
|
-
namespace start {
|
|
69
|
-
}
|
|
70
|
-
type start = _T_Location;
|
|
71
|
-
namespace end {
|
|
72
|
-
}
|
|
73
|
-
type end = _T_Location;
|
|
74
|
-
}
|
|
75
|
-
export declare namespace _T_Whitespace {
|
|
76
|
-
namespace range {
|
|
77
|
-
}
|
|
78
|
-
type range = _T_Range;
|
|
79
|
-
type value = string;
|
|
80
|
-
}
|
|
81
|
-
export declare namespace _T_Trivia {
|
|
82
|
-
namespace leading_whitespace {
|
|
83
|
-
}
|
|
84
|
-
type leading_whitespace = _T_Whitespace;
|
|
85
|
-
namespace comments {
|
|
86
|
-
namespace L {
|
|
87
|
-
namespace _type {
|
|
88
|
-
namespace SG {
|
|
89
|
-
type line = null;
|
|
90
|
-
type block = null;
|
|
91
|
-
}
|
|
92
|
-
type SG = readonly ['line', null] | readonly ['block', null];
|
|
93
|
-
}
|
|
94
|
-
type _type = _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
95
|
-
type content = string;
|
|
96
|
-
namespace range {
|
|
97
|
-
}
|
|
98
|
-
type range = _T_Range;
|
|
99
|
-
namespace trailing_whitespace {
|
|
100
|
-
}
|
|
101
|
-
type trailing_whitespace = _T_Whitespace;
|
|
102
|
-
}
|
|
103
|
-
type L = {
|
|
104
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
105
|
-
readonly 'content': string;
|
|
106
|
-
readonly 'range': _T_Range;
|
|
107
|
-
readonly 'trailing whitespace': _T_Whitespace;
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
type comments = _i_core._T_List<null, {
|
|
111
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
112
|
-
readonly 'content': string;
|
|
113
|
-
readonly 'range': _T_Range;
|
|
114
|
-
readonly 'trailing whitespace': _T_Whitespace;
|
|
115
|
-
}>;
|
|
116
|
-
}
|
|
117
|
-
export declare namespace _T_String_Type {
|
|
118
|
-
namespace SG {
|
|
119
|
-
type quoted = null;
|
|
120
|
-
type apostrophed = null;
|
|
121
|
-
type undelimited = null;
|
|
122
|
-
type backticked = null;
|
|
123
|
-
}
|
|
124
|
-
type SG = readonly ['quoted', null] | readonly ['apostrophed', null] | readonly ['undelimited', null] | readonly ['backticked', null];
|
|
125
|
-
}
|
|
126
|
-
export declare namespace _T_Token_Type {
|
|
127
|
-
namespace SG {
|
|
128
|
-
type $co_ = null;
|
|
129
|
-
type $cc_ = null;
|
|
130
|
-
type $bo_ = null;
|
|
131
|
-
type $bc_ = null;
|
|
132
|
-
type $po_ = null;
|
|
133
|
-
type $pc_ = null;
|
|
134
|
-
type $st_ = null;
|
|
135
|
-
type $gt_ = null;
|
|
136
|
-
type $ex_ = null;
|
|
137
|
-
type $at_ = null;
|
|
138
|
-
type $ti_ = null;
|
|
139
|
-
type $sr_ = null;
|
|
140
|
-
type $cl_ = null;
|
|
141
|
-
type $vb_ = null;
|
|
142
|
-
type $ha_ = null;
|
|
143
|
-
namespace _string {
|
|
144
|
-
namespace value {
|
|
145
|
-
}
|
|
146
|
-
type value = _T_Delimited_String;
|
|
147
|
-
namespace _type {
|
|
148
|
-
}
|
|
149
|
-
type _type = _T_String_Type;
|
|
150
|
-
}
|
|
151
|
-
type _string = {
|
|
152
|
-
readonly 'value': _T_Delimited_String;
|
|
153
|
-
readonly 'type': _T_String_Type;
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
type SG = readonly ['{', null] | readonly ['}', null] | readonly ['[', null] | readonly [']', null] | readonly ['(', null] | readonly [')', null] | readonly ['<', null] | readonly ['>', null] | readonly ['!', null] | readonly ['@', null] | readonly ['~', null] | readonly ['*', null] | readonly [':', null] | readonly ['|', null] | readonly ['#', null] | readonly [
|
|
157
|
-
'string',
|
|
158
|
-
{
|
|
159
|
-
readonly 'value': _T_Delimited_String;
|
|
160
|
-
readonly 'type': _T_String_Type;
|
|
161
|
-
}
|
|
162
|
-
];
|
|
163
|
-
}
|
|
164
|
-
export declare namespace _T_Annotated_Token {
|
|
165
|
-
namespace start {
|
|
166
|
-
}
|
|
167
|
-
type start = _T_Location;
|
|
168
|
-
namespace _type {
|
|
169
|
-
}
|
|
170
|
-
type _type = _T_Token_Type;
|
|
171
|
-
namespace end {
|
|
172
|
-
}
|
|
173
|
-
type end = _T_Location;
|
|
174
|
-
namespace trailing_trivia {
|
|
175
|
-
}
|
|
176
|
-
type trailing_trivia = _T_Trivia;
|
|
177
|
-
}
|
|
178
|
-
export declare namespace _T_Tokenizer_Result {
|
|
179
|
-
namespace leading_trivia {
|
|
180
|
-
}
|
|
181
|
-
type leading_trivia = _T_Trivia;
|
|
182
|
-
namespace tokens {
|
|
183
|
-
namespace L {
|
|
184
|
-
}
|
|
185
|
-
type L = _T_Annotated_Token;
|
|
186
|
-
}
|
|
187
|
-
type tokens = _i_core._T_List<null, _T_Annotated_Token>;
|
|
188
|
-
namespace end {
|
|
189
|
-
}
|
|
190
|
-
type end = _T_Location;
|
|
191
|
-
}
|
|
192
|
-
export declare namespace Relative_Location {
|
|
1
|
+
import * as _pi from "pareto-core-interface";
|
|
2
|
+
export declare namespace Relative_Location_ {
|
|
193
3
|
type line = number;
|
|
194
4
|
type column = number;
|
|
195
5
|
}
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
6
|
+
export type Relative_Location_ = {
|
|
7
|
+
readonly 'line': Relative_Location_.line;
|
|
8
|
+
readonly 'column': Relative_Location_.column;
|
|
9
|
+
};
|
|
10
|
+
export declare namespace Location_ {
|
|
11
|
+
type relative = Relative_Location_;
|
|
200
12
|
type absolute = number;
|
|
201
13
|
}
|
|
202
|
-
export
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
type end =
|
|
14
|
+
export type Location_ = {
|
|
15
|
+
readonly 'relative': Location_.relative;
|
|
16
|
+
readonly 'absolute': Location_.absolute;
|
|
17
|
+
};
|
|
18
|
+
export declare namespace Range_ {
|
|
19
|
+
type start = Location_;
|
|
20
|
+
type end = Location_;
|
|
209
21
|
}
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
22
|
+
export type Range_ = {
|
|
23
|
+
readonly 'start': Range_.start;
|
|
24
|
+
readonly 'end': Range_.end;
|
|
25
|
+
};
|
|
26
|
+
export declare namespace Whitespace_ {
|
|
27
|
+
type range = Range_;
|
|
214
28
|
type value = string;
|
|
215
29
|
}
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
30
|
+
export type Whitespace_ = {
|
|
31
|
+
readonly 'range': Whitespace_.range;
|
|
32
|
+
readonly 'value': Whitespace_.value;
|
|
33
|
+
};
|
|
34
|
+
export declare namespace Trivia_ {
|
|
35
|
+
type leading_whitespace = Whitespace_;
|
|
220
36
|
namespace comments {
|
|
221
37
|
namespace L {
|
|
222
38
|
namespace _type {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
type block = null;
|
|
226
|
-
}
|
|
227
|
-
type SG = readonly ['line', null] | readonly ['block', null];
|
|
39
|
+
type line = null;
|
|
40
|
+
type block = null;
|
|
228
41
|
}
|
|
229
|
-
type _type =
|
|
42
|
+
type _type = readonly ['line', _type.line] | readonly ['block', _type.block];
|
|
230
43
|
type content = string;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
type range = _T_Range;
|
|
234
|
-
namespace trailing_whitespace {
|
|
235
|
-
}
|
|
236
|
-
type trailing_whitespace = _T_Whitespace;
|
|
44
|
+
type range = Range_;
|
|
45
|
+
type trailing_whitespace = Whitespace_;
|
|
237
46
|
}
|
|
238
47
|
type L = {
|
|
239
|
-
readonly 'type':
|
|
240
|
-
readonly 'content':
|
|
241
|
-
readonly 'range':
|
|
242
|
-
readonly 'trailing whitespace':
|
|
48
|
+
readonly 'type': L._type;
|
|
49
|
+
readonly 'content': L.content;
|
|
50
|
+
readonly 'range': L.range;
|
|
51
|
+
readonly 'trailing whitespace': L.trailing_whitespace;
|
|
243
52
|
};
|
|
244
53
|
}
|
|
245
|
-
type comments =
|
|
246
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
247
|
-
readonly 'content': string;
|
|
248
|
-
readonly 'range': _T_Range;
|
|
249
|
-
readonly 'trailing whitespace': _T_Whitespace;
|
|
250
|
-
}>;
|
|
54
|
+
type comments = _pi.List<comments.L>;
|
|
251
55
|
}
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
type
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
type _string
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
type
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
type _type = _T_Token_Type;
|
|
306
|
-
namespace end {
|
|
307
|
-
}
|
|
308
|
-
type end = _T_Location;
|
|
309
|
-
namespace trailing_trivia {
|
|
310
|
-
}
|
|
311
|
-
type trailing_trivia = _T_Trivia;
|
|
312
|
-
}
|
|
313
|
-
export declare namespace Tokenizer_Result {
|
|
314
|
-
namespace leading_trivia {
|
|
315
|
-
}
|
|
316
|
-
type leading_trivia = _T_Trivia;
|
|
56
|
+
export type Trivia_ = {
|
|
57
|
+
readonly 'leading whitespace': Trivia_.leading_whitespace;
|
|
58
|
+
readonly 'comments': Trivia_.comments;
|
|
59
|
+
};
|
|
60
|
+
export type Delimited_String_ = string;
|
|
61
|
+
export declare namespace String_Type_ {
|
|
62
|
+
type quoted = null;
|
|
63
|
+
type apostrophed = null;
|
|
64
|
+
type undelimited = null;
|
|
65
|
+
type backticked = null;
|
|
66
|
+
}
|
|
67
|
+
export type String_Type_ = readonly ['quoted', String_Type_.quoted] | readonly ['apostrophed', String_Type_.apostrophed] | readonly ['undelimited', String_Type_.undelimited] | readonly ['backticked', String_Type_.backticked];
|
|
68
|
+
export declare namespace Token_Type_ {
|
|
69
|
+
type $co_ = null;
|
|
70
|
+
type $cc_ = null;
|
|
71
|
+
type $bo_ = null;
|
|
72
|
+
type $bc_ = null;
|
|
73
|
+
type $po_ = null;
|
|
74
|
+
type $pc_ = null;
|
|
75
|
+
type $st_ = null;
|
|
76
|
+
type $gt_ = null;
|
|
77
|
+
type $ex_ = null;
|
|
78
|
+
type $at_ = null;
|
|
79
|
+
type $ti_ = null;
|
|
80
|
+
type $sr_ = null;
|
|
81
|
+
type $cl_ = null;
|
|
82
|
+
type $vb_ = null;
|
|
83
|
+
type $ha_ = null;
|
|
84
|
+
namespace _string {
|
|
85
|
+
type value = Delimited_String_;
|
|
86
|
+
type _type = String_Type_;
|
|
87
|
+
}
|
|
88
|
+
type _string = {
|
|
89
|
+
readonly 'value': _string.value;
|
|
90
|
+
readonly 'type': _string._type;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export type Token_Type_ = readonly ['{', Token_Type_.$co_] | readonly ['}', Token_Type_.$cc_] | readonly ['[', Token_Type_.$bo_] | readonly [']', Token_Type_.$bc_] | readonly ['(', Token_Type_.$po_] | readonly [')', Token_Type_.$pc_] | readonly ['<', Token_Type_.$st_] | readonly ['>', Token_Type_.$gt_] | readonly ['!', Token_Type_.$ex_] | readonly ['@', Token_Type_.$at_] | readonly ['~', Token_Type_.$ti_] | readonly ['*', Token_Type_.$sr_] | readonly [':', Token_Type_.$cl_] | readonly ['|', Token_Type_.$vb_] | readonly ['#', Token_Type_.$ha_] | readonly ['string', Token_Type_._string];
|
|
94
|
+
export declare namespace Annotated_Token_ {
|
|
95
|
+
type start = Location_;
|
|
96
|
+
type _type = Token_Type_;
|
|
97
|
+
type end = Location_;
|
|
98
|
+
type trailing_trivia = Trivia_;
|
|
99
|
+
}
|
|
100
|
+
export type Annotated_Token_ = {
|
|
101
|
+
readonly 'start': Annotated_Token_.start;
|
|
102
|
+
readonly 'type': Annotated_Token_._type;
|
|
103
|
+
readonly 'end': Annotated_Token_.end;
|
|
104
|
+
readonly 'trailing trivia': Annotated_Token_.trailing_trivia;
|
|
105
|
+
};
|
|
106
|
+
export declare namespace Tokenizer_Result_ {
|
|
107
|
+
type leading_trivia = Trivia_;
|
|
317
108
|
namespace tokens {
|
|
318
|
-
|
|
319
|
-
}
|
|
320
|
-
type L = _T_Annotated_Token;
|
|
109
|
+
type L = Annotated_Token_;
|
|
321
110
|
}
|
|
322
|
-
type tokens =
|
|
323
|
-
|
|
324
|
-
}
|
|
325
|
-
type end = _T_Location;
|
|
111
|
+
type tokens = _pi.List<tokens.L>;
|
|
112
|
+
type end = Location_;
|
|
326
113
|
}
|
|
114
|
+
export type Tokenizer_Result_ = {
|
|
115
|
+
readonly 'leading trivia': Tokenizer_Result_.leading_trivia;
|
|
116
|
+
readonly 'tokens': Tokenizer_Result_.tokens;
|
|
117
|
+
readonly 'end': Tokenizer_Result_.end;
|
|
118
|
+
};
|
|
119
|
+
export { Relative_Location_ as Relative_Location, Location_ as Location, Range_ as Range, Whitespace_ as Whitespace, Trivia_ as Trivia, Delimited_String_ as Delimited_String, String_Type_ as String_Type, Token_Type_ as Token_Type, Annotated_Token_ as Annotated_Token, Tokenizer_Result_ as Tokenizer_Result, };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as i_out from "./data_types/target";
|
|
2
|
+
export declare namespace Relative_Location_ {
|
|
3
|
+
type I = string;
|
|
4
|
+
type O = i_out.Relative_Location;
|
|
5
|
+
namespace P {
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export type Relative_Location_ = ($$_: Relative_Location_.I) => Relative_Location_.O;
|
|
9
|
+
export declare namespace Location_ {
|
|
10
|
+
type I = string;
|
|
11
|
+
type O = i_out.Location;
|
|
12
|
+
namespace P {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export type Location_ = ($$_: Location_.I) => Location_.O;
|
|
16
|
+
export declare namespace Range_ {
|
|
17
|
+
type I = string;
|
|
18
|
+
type O = i_out.Range;
|
|
19
|
+
namespace P {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export type Range_ = ($$_: Range_.I) => Range_.O;
|
|
23
|
+
export declare namespace Whitespace_ {
|
|
24
|
+
type I = string;
|
|
25
|
+
type O = i_out.Whitespace;
|
|
26
|
+
namespace P {
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export type Whitespace_ = ($$_: Whitespace_.I) => Whitespace_.O;
|
|
30
|
+
export declare namespace Trivia_ {
|
|
31
|
+
type I = string;
|
|
32
|
+
type O = i_out.Trivia;
|
|
33
|
+
namespace P {
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export type Trivia_ = ($$_: Trivia_.I) => Trivia_.O;
|
|
37
|
+
export declare namespace Delimited_String_ {
|
|
38
|
+
type I = string;
|
|
39
|
+
type O = i_out.Delimited_String;
|
|
40
|
+
namespace P {
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export type Delimited_String_ = ($$_: Delimited_String_.I) => Delimited_String_.O;
|
|
44
|
+
export declare namespace String_Type_ {
|
|
45
|
+
type I = string;
|
|
46
|
+
type O = i_out.String_Type;
|
|
47
|
+
namespace P {
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export type String_Type_ = ($$_: String_Type_.I) => String_Type_.O;
|
|
51
|
+
export declare namespace Token_Type_ {
|
|
52
|
+
type I = string;
|
|
53
|
+
type O = i_out.Token_Type;
|
|
54
|
+
namespace P {
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export type Token_Type_ = ($$_: Token_Type_.I) => Token_Type_.O;
|
|
58
|
+
export declare namespace Annotated_Token_ {
|
|
59
|
+
type I = string;
|
|
60
|
+
type O = i_out.Annotated_Token;
|
|
61
|
+
namespace P {
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export type Annotated_Token_ = ($$_: Annotated_Token_.I) => Annotated_Token_.O;
|
|
65
|
+
export declare namespace Tokenizer_Result_ {
|
|
66
|
+
type I = string;
|
|
67
|
+
type O = i_out.Tokenizer_Result;
|
|
68
|
+
namespace P {
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
export type Tokenizer_Result_ = ($$_: Tokenizer_Result_.I) => Tokenizer_Result_.O;
|
|
72
|
+
export { Relative_Location_ as Relative_Location, Location_ as Location, Range_ as Range, Whitespace_ as Whitespace, Trivia_ as Trivia, Delimited_String_ as Delimited_String, String_Type_ as String_Type, Token_Type_ as Token_Type, Annotated_Token_ as Annotated_Token, Tokenizer_Result_ as Tokenizer_Result, };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9wYXJldG8vc2NoZW1hcy90b2tlbi9kZXNlcmlhbGl6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|