astn 0.113.26 → 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/generated/pareto/schemas/astn_schema/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.js +3 -3
- package/dist/implementation/generated/pareto/schemas/astn_schema/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/token/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/token/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/token/unmarshall.js +1 -1
- 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/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +2 -2
- 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 +192 -1125
- 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 +54 -243
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target.d.ts +54 -243
- 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 +138 -931
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target.d.ts +138 -931
- 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 -245
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.d.ts +47 -245
- 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 +3 -3
|
@@ -1,262 +1,72 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type _T_Location = ($$_: _i_in._T_Location, $$_p: {
|
|
7
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
8
|
-
}) => string;
|
|
9
|
-
export type _T_Range = ($$_: _i_in._T_Range, $$_p: {
|
|
10
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
11
|
-
}) => string;
|
|
12
|
-
export type _T_Whitespace = ($$_: _i_in._T_Whitespace, $$_p: {
|
|
13
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
14
|
-
}) => string;
|
|
15
|
-
export type _T_Trivia = ($$_: _i_in._T_Trivia, $$_p: {
|
|
16
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
17
|
-
}) => string;
|
|
18
|
-
export type _T_Delimited_String = ($$_: _i_in._T_Delimited_String, $$_p: {
|
|
19
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
20
|
-
}) => string;
|
|
21
|
-
export type _T_String_Type = ($$_: _i_in._T_String_Type, $$_p: {
|
|
22
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
23
|
-
}) => string;
|
|
24
|
-
export type _T_Token_Type = ($$_: _i_in._T_Token_Type, $$_p: {
|
|
25
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
26
|
-
}) => string;
|
|
27
|
-
export type _T_Annotated_Token = ($$_: _i_in._T_Annotated_Token, $$_p: {
|
|
28
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
29
|
-
}) => string;
|
|
30
|
-
export type _T_Tokenizer_Result = ($$_: _i_in._T_Tokenizer_Result, $$_p: {
|
|
31
|
-
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
32
|
-
}) => string;
|
|
33
|
-
export type Relative_Location = _T_Relative_Location;
|
|
34
|
-
export type Location = _T_Location;
|
|
35
|
-
export type Range = _T_Range;
|
|
36
|
-
export type Whitespace = _T_Whitespace;
|
|
37
|
-
export type Trivia = _T_Trivia;
|
|
38
|
-
export type Delimited_String = _T_Delimited_String;
|
|
39
|
-
export type String_Type = _T_String_Type;
|
|
40
|
-
export type Token_Type = _T_Token_Type;
|
|
41
|
-
export type Annotated_Token = _T_Annotated_Token;
|
|
42
|
-
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
43
|
-
export declare namespace _T_Relative_Location {
|
|
44
|
-
namespace CONTEXT {
|
|
1
|
+
import * as i_in from "./data_types/source";
|
|
2
|
+
export declare namespace Relative_Location_ {
|
|
3
|
+
type I = i_in.Relative_Location;
|
|
4
|
+
type O = string;
|
|
5
|
+
namespace P {
|
|
45
6
|
}
|
|
46
|
-
type CONTEXT = _i_in._T_Relative_Location;
|
|
47
|
-
namespace PARAMS {
|
|
48
|
-
namespace value_serializers {
|
|
49
|
-
}
|
|
50
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
51
|
-
}
|
|
52
|
-
type RESULT = string;
|
|
53
|
-
}
|
|
54
|
-
export declare namespace _T_Location {
|
|
55
|
-
namespace CONTEXT {
|
|
56
|
-
}
|
|
57
|
-
type CONTEXT = _i_in._T_Location;
|
|
58
|
-
namespace PARAMS {
|
|
59
|
-
namespace value_serializers {
|
|
60
|
-
}
|
|
61
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
62
|
-
}
|
|
63
|
-
type RESULT = string;
|
|
64
|
-
}
|
|
65
|
-
export declare namespace _T_Range {
|
|
66
|
-
namespace CONTEXT {
|
|
67
|
-
}
|
|
68
|
-
type CONTEXT = _i_in._T_Range;
|
|
69
|
-
namespace PARAMS {
|
|
70
|
-
namespace value_serializers {
|
|
71
|
-
}
|
|
72
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
73
|
-
}
|
|
74
|
-
type RESULT = string;
|
|
75
|
-
}
|
|
76
|
-
export declare namespace _T_Whitespace {
|
|
77
|
-
namespace CONTEXT {
|
|
78
|
-
}
|
|
79
|
-
type CONTEXT = _i_in._T_Whitespace;
|
|
80
|
-
namespace PARAMS {
|
|
81
|
-
namespace value_serializers {
|
|
82
|
-
}
|
|
83
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
84
|
-
}
|
|
85
|
-
type RESULT = string;
|
|
86
|
-
}
|
|
87
|
-
export declare namespace _T_Trivia {
|
|
88
|
-
namespace CONTEXT {
|
|
89
|
-
}
|
|
90
|
-
type CONTEXT = _i_in._T_Trivia;
|
|
91
|
-
namespace PARAMS {
|
|
92
|
-
namespace value_serializers {
|
|
93
|
-
}
|
|
94
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
95
|
-
}
|
|
96
|
-
type RESULT = string;
|
|
97
|
-
}
|
|
98
|
-
export declare namespace _T_Delimited_String {
|
|
99
|
-
namespace CONTEXT {
|
|
100
|
-
}
|
|
101
|
-
type CONTEXT = _i_in._T_Delimited_String;
|
|
102
|
-
namespace PARAMS {
|
|
103
|
-
namespace value_serializers {
|
|
104
|
-
}
|
|
105
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
106
|
-
}
|
|
107
|
-
type RESULT = string;
|
|
108
|
-
}
|
|
109
|
-
export declare namespace _T_String_Type {
|
|
110
|
-
namespace CONTEXT {
|
|
111
|
-
}
|
|
112
|
-
type CONTEXT = _i_in._T_String_Type;
|
|
113
|
-
namespace PARAMS {
|
|
114
|
-
namespace value_serializers {
|
|
115
|
-
}
|
|
116
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
117
|
-
}
|
|
118
|
-
type RESULT = string;
|
|
119
|
-
}
|
|
120
|
-
export declare namespace _T_Token_Type {
|
|
121
|
-
namespace CONTEXT {
|
|
122
|
-
}
|
|
123
|
-
type CONTEXT = _i_in._T_Token_Type;
|
|
124
|
-
namespace PARAMS {
|
|
125
|
-
namespace value_serializers {
|
|
126
|
-
}
|
|
127
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
128
|
-
}
|
|
129
|
-
type RESULT = string;
|
|
130
|
-
}
|
|
131
|
-
export declare namespace _T_Annotated_Token {
|
|
132
|
-
namespace CONTEXT {
|
|
133
|
-
}
|
|
134
|
-
type CONTEXT = _i_in._T_Annotated_Token;
|
|
135
|
-
namespace PARAMS {
|
|
136
|
-
namespace value_serializers {
|
|
137
|
-
}
|
|
138
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
139
|
-
}
|
|
140
|
-
type RESULT = string;
|
|
141
|
-
}
|
|
142
|
-
export declare namespace _T_Tokenizer_Result {
|
|
143
|
-
namespace CONTEXT {
|
|
144
|
-
}
|
|
145
|
-
type CONTEXT = _i_in._T_Tokenizer_Result;
|
|
146
|
-
namespace PARAMS {
|
|
147
|
-
namespace value_serializers {
|
|
148
|
-
}
|
|
149
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
150
|
-
}
|
|
151
|
-
type RESULT = string;
|
|
152
|
-
}
|
|
153
|
-
export declare namespace Relative_Location {
|
|
154
|
-
namespace CONTEXT {
|
|
155
|
-
}
|
|
156
|
-
type CONTEXT = _i_in._T_Relative_Location;
|
|
157
|
-
namespace PARAMS {
|
|
158
|
-
namespace value_serializers {
|
|
159
|
-
}
|
|
160
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
161
|
-
}
|
|
162
|
-
type RESULT = string;
|
|
163
7
|
}
|
|
164
|
-
export
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
type
|
|
168
|
-
namespace
|
|
169
|
-
namespace value_serializers {
|
|
170
|
-
}
|
|
171
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
8
|
+
export type Relative_Location_ = ($$_: Relative_Location_.I) => Relative_Location_.O;
|
|
9
|
+
export declare namespace Location_ {
|
|
10
|
+
type I = i_in.Location;
|
|
11
|
+
type O = string;
|
|
12
|
+
namespace P {
|
|
172
13
|
}
|
|
173
|
-
type RESULT = string;
|
|
174
14
|
}
|
|
175
|
-
export
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
type
|
|
179
|
-
namespace
|
|
180
|
-
namespace value_serializers {
|
|
181
|
-
}
|
|
182
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
15
|
+
export type Location_ = ($$_: Location_.I) => Location_.O;
|
|
16
|
+
export declare namespace Range_ {
|
|
17
|
+
type I = i_in.Range;
|
|
18
|
+
type O = string;
|
|
19
|
+
namespace P {
|
|
183
20
|
}
|
|
184
|
-
type RESULT = string;
|
|
185
21
|
}
|
|
186
|
-
export
|
|
187
|
-
|
|
22
|
+
export type Range_ = ($$_: Range_.I) => Range_.O;
|
|
23
|
+
export declare namespace Whitespace_ {
|
|
24
|
+
type I = i_in.Whitespace;
|
|
25
|
+
type O = string;
|
|
26
|
+
namespace P {
|
|
188
27
|
}
|
|
189
|
-
type CONTEXT = _i_in._T_Whitespace;
|
|
190
|
-
namespace PARAMS {
|
|
191
|
-
namespace value_serializers {
|
|
192
|
-
}
|
|
193
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
194
|
-
}
|
|
195
|
-
type RESULT = string;
|
|
196
28
|
}
|
|
197
|
-
export
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
type
|
|
201
|
-
namespace
|
|
202
|
-
namespace value_serializers {
|
|
203
|
-
}
|
|
204
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
29
|
+
export type Whitespace_ = ($$_: Whitespace_.I) => Whitespace_.O;
|
|
30
|
+
export declare namespace Trivia_ {
|
|
31
|
+
type I = i_in.Trivia;
|
|
32
|
+
type O = string;
|
|
33
|
+
namespace P {
|
|
205
34
|
}
|
|
206
|
-
type RESULT = string;
|
|
207
35
|
}
|
|
208
|
-
export
|
|
209
|
-
|
|
36
|
+
export type Trivia_ = ($$_: Trivia_.I) => Trivia_.O;
|
|
37
|
+
export declare namespace Delimited_String_ {
|
|
38
|
+
type I = i_in.Delimited_String;
|
|
39
|
+
type O = string;
|
|
40
|
+
namespace P {
|
|
210
41
|
}
|
|
211
|
-
type CONTEXT = _i_in._T_Delimited_String;
|
|
212
|
-
namespace PARAMS {
|
|
213
|
-
namespace value_serializers {
|
|
214
|
-
}
|
|
215
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
216
|
-
}
|
|
217
|
-
type RESULT = string;
|
|
218
42
|
}
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
type
|
|
223
|
-
namespace
|
|
224
|
-
namespace value_serializers {
|
|
225
|
-
}
|
|
226
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
43
|
+
export type Delimited_String_ = ($$_: Delimited_String_.I) => Delimited_String_.O;
|
|
44
|
+
export declare namespace String_Type_ {
|
|
45
|
+
type I = i_in.String_Type;
|
|
46
|
+
type O = string;
|
|
47
|
+
namespace P {
|
|
227
48
|
}
|
|
228
|
-
type RESULT = string;
|
|
229
49
|
}
|
|
230
|
-
export
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
type
|
|
234
|
-
namespace
|
|
235
|
-
namespace value_serializers {
|
|
236
|
-
}
|
|
237
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
50
|
+
export type String_Type_ = ($$_: String_Type_.I) => String_Type_.O;
|
|
51
|
+
export declare namespace Token_Type_ {
|
|
52
|
+
type I = i_in.Token_Type;
|
|
53
|
+
type O = string;
|
|
54
|
+
namespace P {
|
|
238
55
|
}
|
|
239
|
-
type RESULT = string;
|
|
240
56
|
}
|
|
241
|
-
export
|
|
242
|
-
|
|
57
|
+
export type Token_Type_ = ($$_: Token_Type_.I) => Token_Type_.O;
|
|
58
|
+
export declare namespace Annotated_Token_ {
|
|
59
|
+
type I = i_in.Annotated_Token;
|
|
60
|
+
type O = string;
|
|
61
|
+
namespace P {
|
|
243
62
|
}
|
|
244
|
-
type CONTEXT = _i_in._T_Annotated_Token;
|
|
245
|
-
namespace PARAMS {
|
|
246
|
-
namespace value_serializers {
|
|
247
|
-
}
|
|
248
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
249
|
-
}
|
|
250
|
-
type RESULT = string;
|
|
251
63
|
}
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
type
|
|
256
|
-
namespace
|
|
257
|
-
namespace value_serializers {
|
|
258
|
-
}
|
|
259
|
-
type value_serializers = _i_vs._T_Value_Serializers;
|
|
64
|
+
export type Annotated_Token_ = ($$_: Annotated_Token_.I) => Annotated_Token_.O;
|
|
65
|
+
export declare namespace Tokenizer_Result_ {
|
|
66
|
+
type I = i_in.Tokenizer_Result;
|
|
67
|
+
type O = string;
|
|
68
|
+
namespace P {
|
|
260
69
|
}
|
|
261
|
-
type RESULT = string;
|
|
262
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, };
|
|
@@ -1,303 +1,73 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type _T_Location = ($$_: _i_in._T_Value, $$_p: {
|
|
8
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
9
|
-
}) => _i_out._T_Location;
|
|
10
|
-
export type _T_Range = ($$_: _i_in._T_Value, $$_p: {
|
|
11
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
12
|
-
}) => _i_out._T_Range;
|
|
13
|
-
export type _T_Whitespace = ($$_: _i_in._T_Value, $$_p: {
|
|
14
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
15
|
-
}) => _i_out._T_Whitespace;
|
|
16
|
-
export type _T_Trivia = ($$_: _i_in._T_Value, $$_p: {
|
|
17
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
18
|
-
}) => _i_out._T_Trivia;
|
|
19
|
-
export type _T_Delimited_String = ($$_: _i_in._T_Value, $$_p: {
|
|
20
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
21
|
-
}) => _i_out._T_Delimited_String;
|
|
22
|
-
export type _T_String_Type = ($$_: _i_in._T_Value, $$_p: {
|
|
23
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
24
|
-
}) => _i_out._T_String_Type;
|
|
25
|
-
export type _T_Token_Type = ($$_: _i_in._T_Value, $$_p: {
|
|
26
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
27
|
-
}) => _i_out._T_Token_Type;
|
|
28
|
-
export type _T_Annotated_Token = ($$_: _i_in._T_Value, $$_p: {
|
|
29
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
30
|
-
}) => _i_out._T_Annotated_Token;
|
|
31
|
-
export type _T_Tokenizer_Result = ($$_: _i_in._T_Value, $$_p: {
|
|
32
|
-
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
33
|
-
}) => _i_out._T_Tokenizer_Result;
|
|
34
|
-
export type Relative_Location = _T_Relative_Location;
|
|
35
|
-
export type Location = _T_Location;
|
|
36
|
-
export type Range = _T_Range;
|
|
37
|
-
export type Whitespace = _T_Whitespace;
|
|
38
|
-
export type Trivia = _T_Trivia;
|
|
39
|
-
export type Delimited_String = _T_Delimited_String;
|
|
40
|
-
export type String_Type = _T_String_Type;
|
|
41
|
-
export type Token_Type = _T_Token_Type;
|
|
42
|
-
export type Annotated_Token = _T_Annotated_Token;
|
|
43
|
-
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
44
|
-
export declare namespace _T_Relative_Location {
|
|
45
|
-
namespace CONTEXT {
|
|
1
|
+
import * as i_out from "./data_types/target";
|
|
2
|
+
import * as i_in from "astn/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target";
|
|
3
|
+
export declare namespace Relative_Location_ {
|
|
4
|
+
type I = i_in.Value;
|
|
5
|
+
type O = i_out.Relative_Location;
|
|
6
|
+
namespace P {
|
|
46
7
|
}
|
|
47
|
-
type CONTEXT = _i_in._T_Value;
|
|
48
|
-
namespace PARAMS {
|
|
49
|
-
namespace value_deserializers {
|
|
50
|
-
}
|
|
51
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
52
|
-
}
|
|
53
|
-
namespace RESULT {
|
|
54
|
-
}
|
|
55
|
-
type RESULT = _i_out._T_Relative_Location;
|
|
56
|
-
}
|
|
57
|
-
export declare namespace _T_Location {
|
|
58
|
-
namespace CONTEXT {
|
|
59
|
-
}
|
|
60
|
-
type CONTEXT = _i_in._T_Value;
|
|
61
|
-
namespace PARAMS {
|
|
62
|
-
namespace value_deserializers {
|
|
63
|
-
}
|
|
64
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
65
|
-
}
|
|
66
|
-
namespace RESULT {
|
|
67
|
-
}
|
|
68
|
-
type RESULT = _i_out._T_Location;
|
|
69
|
-
}
|
|
70
|
-
export declare namespace _T_Range {
|
|
71
|
-
namespace CONTEXT {
|
|
72
|
-
}
|
|
73
|
-
type CONTEXT = _i_in._T_Value;
|
|
74
|
-
namespace PARAMS {
|
|
75
|
-
namespace value_deserializers {
|
|
76
|
-
}
|
|
77
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
78
|
-
}
|
|
79
|
-
namespace RESULT {
|
|
80
|
-
}
|
|
81
|
-
type RESULT = _i_out._T_Range;
|
|
82
|
-
}
|
|
83
|
-
export declare namespace _T_Whitespace {
|
|
84
|
-
namespace CONTEXT {
|
|
85
|
-
}
|
|
86
|
-
type CONTEXT = _i_in._T_Value;
|
|
87
|
-
namespace PARAMS {
|
|
88
|
-
namespace value_deserializers {
|
|
89
|
-
}
|
|
90
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
91
|
-
}
|
|
92
|
-
namespace RESULT {
|
|
93
|
-
}
|
|
94
|
-
type RESULT = _i_out._T_Whitespace;
|
|
95
|
-
}
|
|
96
|
-
export declare namespace _T_Trivia {
|
|
97
|
-
namespace CONTEXT {
|
|
98
|
-
}
|
|
99
|
-
type CONTEXT = _i_in._T_Value;
|
|
100
|
-
namespace PARAMS {
|
|
101
|
-
namespace value_deserializers {
|
|
102
|
-
}
|
|
103
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
104
|
-
}
|
|
105
|
-
namespace RESULT {
|
|
106
|
-
}
|
|
107
|
-
type RESULT = _i_out._T_Trivia;
|
|
108
|
-
}
|
|
109
|
-
export declare namespace _T_Delimited_String {
|
|
110
|
-
namespace CONTEXT {
|
|
111
|
-
}
|
|
112
|
-
type CONTEXT = _i_in._T_Value;
|
|
113
|
-
namespace PARAMS {
|
|
114
|
-
namespace value_deserializers {
|
|
115
|
-
}
|
|
116
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
117
|
-
}
|
|
118
|
-
namespace RESULT {
|
|
119
|
-
}
|
|
120
|
-
type RESULT = _i_out._T_Delimited_String;
|
|
121
|
-
}
|
|
122
|
-
export declare namespace _T_String_Type {
|
|
123
|
-
namespace CONTEXT {
|
|
124
|
-
}
|
|
125
|
-
type CONTEXT = _i_in._T_Value;
|
|
126
|
-
namespace PARAMS {
|
|
127
|
-
namespace value_deserializers {
|
|
128
|
-
}
|
|
129
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
130
|
-
}
|
|
131
|
-
namespace RESULT {
|
|
132
|
-
}
|
|
133
|
-
type RESULT = _i_out._T_String_Type;
|
|
134
|
-
}
|
|
135
|
-
export declare namespace _T_Token_Type {
|
|
136
|
-
namespace CONTEXT {
|
|
137
|
-
}
|
|
138
|
-
type CONTEXT = _i_in._T_Value;
|
|
139
|
-
namespace PARAMS {
|
|
140
|
-
namespace value_deserializers {
|
|
141
|
-
}
|
|
142
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
143
|
-
}
|
|
144
|
-
namespace RESULT {
|
|
145
|
-
}
|
|
146
|
-
type RESULT = _i_out._T_Token_Type;
|
|
147
8
|
}
|
|
148
|
-
export
|
|
149
|
-
|
|
9
|
+
export type Relative_Location_ = ($$_: Relative_Location_.I) => Relative_Location_.O;
|
|
10
|
+
export declare namespace Location_ {
|
|
11
|
+
type I = i_in.Value;
|
|
12
|
+
type O = i_out.Location;
|
|
13
|
+
namespace P {
|
|
150
14
|
}
|
|
151
|
-
type CONTEXT = _i_in._T_Value;
|
|
152
|
-
namespace PARAMS {
|
|
153
|
-
namespace value_deserializers {
|
|
154
|
-
}
|
|
155
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
156
|
-
}
|
|
157
|
-
namespace RESULT {
|
|
158
|
-
}
|
|
159
|
-
type RESULT = _i_out._T_Annotated_Token;
|
|
160
|
-
}
|
|
161
|
-
export declare namespace _T_Tokenizer_Result {
|
|
162
|
-
namespace CONTEXT {
|
|
163
|
-
}
|
|
164
|
-
type CONTEXT = _i_in._T_Value;
|
|
165
|
-
namespace PARAMS {
|
|
166
|
-
namespace value_deserializers {
|
|
167
|
-
}
|
|
168
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
169
|
-
}
|
|
170
|
-
namespace RESULT {
|
|
171
|
-
}
|
|
172
|
-
type RESULT = _i_out._T_Tokenizer_Result;
|
|
173
15
|
}
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
type
|
|
178
|
-
namespace
|
|
179
|
-
namespace value_deserializers {
|
|
180
|
-
}
|
|
181
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
182
|
-
}
|
|
183
|
-
namespace RESULT {
|
|
184
|
-
}
|
|
185
|
-
type RESULT = _i_out._T_Relative_Location;
|
|
186
|
-
}
|
|
187
|
-
export declare namespace Location {
|
|
188
|
-
namespace CONTEXT {
|
|
189
|
-
}
|
|
190
|
-
type CONTEXT = _i_in._T_Value;
|
|
191
|
-
namespace PARAMS {
|
|
192
|
-
namespace value_deserializers {
|
|
193
|
-
}
|
|
194
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
195
|
-
}
|
|
196
|
-
namespace RESULT {
|
|
197
|
-
}
|
|
198
|
-
type RESULT = _i_out._T_Location;
|
|
199
|
-
}
|
|
200
|
-
export declare namespace Range {
|
|
201
|
-
namespace CONTEXT {
|
|
202
|
-
}
|
|
203
|
-
type CONTEXT = _i_in._T_Value;
|
|
204
|
-
namespace PARAMS {
|
|
205
|
-
namespace value_deserializers {
|
|
206
|
-
}
|
|
207
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
16
|
+
export type Location_ = ($$_: Location_.I) => Location_.O;
|
|
17
|
+
export declare namespace Range_ {
|
|
18
|
+
type I = i_in.Value;
|
|
19
|
+
type O = i_out.Range;
|
|
20
|
+
namespace P {
|
|
208
21
|
}
|
|
209
|
-
namespace RESULT {
|
|
210
|
-
}
|
|
211
|
-
type RESULT = _i_out._T_Range;
|
|
212
22
|
}
|
|
213
|
-
export
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
type
|
|
217
|
-
namespace
|
|
218
|
-
namespace value_deserializers {
|
|
219
|
-
}
|
|
220
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
23
|
+
export type Range_ = ($$_: Range_.I) => Range_.O;
|
|
24
|
+
export declare namespace Whitespace_ {
|
|
25
|
+
type I = i_in.Value;
|
|
26
|
+
type O = i_out.Whitespace;
|
|
27
|
+
namespace P {
|
|
221
28
|
}
|
|
222
|
-
namespace RESULT {
|
|
223
|
-
}
|
|
224
|
-
type RESULT = _i_out._T_Whitespace;
|
|
225
29
|
}
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
type
|
|
230
|
-
namespace
|
|
231
|
-
namespace value_deserializers {
|
|
232
|
-
}
|
|
233
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
30
|
+
export type Whitespace_ = ($$_: Whitespace_.I) => Whitespace_.O;
|
|
31
|
+
export declare namespace Trivia_ {
|
|
32
|
+
type I = i_in.Value;
|
|
33
|
+
type O = i_out.Trivia;
|
|
34
|
+
namespace P {
|
|
234
35
|
}
|
|
235
|
-
namespace RESULT {
|
|
236
|
-
}
|
|
237
|
-
type RESULT = _i_out._T_Trivia;
|
|
238
36
|
}
|
|
239
|
-
export
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
type
|
|
243
|
-
namespace
|
|
244
|
-
namespace value_deserializers {
|
|
245
|
-
}
|
|
246
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
37
|
+
export type Trivia_ = ($$_: Trivia_.I) => Trivia_.O;
|
|
38
|
+
export declare namespace Delimited_String_ {
|
|
39
|
+
type I = i_in.Value;
|
|
40
|
+
type O = i_out.Delimited_String;
|
|
41
|
+
namespace P {
|
|
247
42
|
}
|
|
248
|
-
namespace RESULT {
|
|
249
|
-
}
|
|
250
|
-
type RESULT = _i_out._T_Delimited_String;
|
|
251
43
|
}
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
type
|
|
256
|
-
namespace
|
|
257
|
-
namespace value_deserializers {
|
|
258
|
-
}
|
|
259
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
44
|
+
export type Delimited_String_ = ($$_: Delimited_String_.I) => Delimited_String_.O;
|
|
45
|
+
export declare namespace String_Type_ {
|
|
46
|
+
type I = i_in.Value;
|
|
47
|
+
type O = i_out.String_Type;
|
|
48
|
+
namespace P {
|
|
260
49
|
}
|
|
261
|
-
namespace RESULT {
|
|
262
|
-
}
|
|
263
|
-
type RESULT = _i_out._T_String_Type;
|
|
264
50
|
}
|
|
265
|
-
export
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
type
|
|
269
|
-
namespace
|
|
270
|
-
namespace value_deserializers {
|
|
271
|
-
}
|
|
272
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
51
|
+
export type String_Type_ = ($$_: String_Type_.I) => String_Type_.O;
|
|
52
|
+
export declare namespace Token_Type_ {
|
|
53
|
+
type I = i_in.Value;
|
|
54
|
+
type O = i_out.Token_Type;
|
|
55
|
+
namespace P {
|
|
273
56
|
}
|
|
274
|
-
namespace RESULT {
|
|
275
|
-
}
|
|
276
|
-
type RESULT = _i_out._T_Token_Type;
|
|
277
57
|
}
|
|
278
|
-
export
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
type
|
|
282
|
-
namespace
|
|
283
|
-
namespace value_deserializers {
|
|
284
|
-
}
|
|
285
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
58
|
+
export type Token_Type_ = ($$_: Token_Type_.I) => Token_Type_.O;
|
|
59
|
+
export declare namespace Annotated_Token_ {
|
|
60
|
+
type I = i_in.Value;
|
|
61
|
+
type O = i_out.Annotated_Token;
|
|
62
|
+
namespace P {
|
|
286
63
|
}
|
|
287
|
-
namespace RESULT {
|
|
288
|
-
}
|
|
289
|
-
type RESULT = _i_out._T_Annotated_Token;
|
|
290
64
|
}
|
|
291
|
-
export
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
type
|
|
295
|
-
namespace
|
|
296
|
-
namespace value_deserializers {
|
|
297
|
-
}
|
|
298
|
-
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
299
|
-
}
|
|
300
|
-
namespace RESULT {
|
|
65
|
+
export type Annotated_Token_ = ($$_: Annotated_Token_.I) => Annotated_Token_.O;
|
|
66
|
+
export declare namespace Tokenizer_Result_ {
|
|
67
|
+
type I = i_in.Value;
|
|
68
|
+
type O = i_out.Tokenizer_Result;
|
|
69
|
+
namespace P {
|
|
301
70
|
}
|
|
302
|
-
type RESULT = _i_out._T_Tokenizer_Result;
|
|
303
71
|
}
|
|
72
|
+
export type Tokenizer_Result_ = ($$_: Tokenizer_Result_.I) => Tokenizer_Result_.O;
|
|
73
|
+
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, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as d_target from "../interface/generated/pareto/schemas/authoring_parse_result/data_types/target";
|
|
2
2
|
import * as d_target_token from "../interface/generated/pareto/schemas/token/data_types/source";
|
|
3
3
|
export declare const parse_error: (type: d_target.Error._type, range: d_target_token.Range) => d_target.Error;
|
|
4
|
-
export declare const lexer_error: (type: d_target.Error._type.
|
|
4
|
+
export declare const lexer_error: (type: d_target.Error._type.lexer, range: d_target_token.Range) => d_target.Error;
|
|
@@ -56,4 +56,4 @@ const lexer_error = (type, range) => ({
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
exports.lexer_error = lexer_error;
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfcmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Nob3J0aGFuZHMvcGFyc2VfcmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNERBQTZDO0FBT3RDLE1BQU0sV0FBVyxHQUFHLENBQ3ZCLElBQTBCLEVBQzFCLEtBQTJCLEVBQ2IsRUFBRSxDQUFDLENBQUM7SUFDbEIsTUFBTSxFQUFFLElBQUk7SUFDWixPQUFPLEVBQUUsRUFBRSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUM7UUFDckIsT0FBTyxFQUFFLEtBQUssQ0FBQyxLQUFLO1FBQ3BCLEtBQUssRUFBRSxLQUFLLENBQUMsR0FBRztLQUNuQixDQUFDO0NBQ0wsQ0FBQyxDQUFBO0FBVFcsUUFBQSxXQUFXLGVBU3RCO0FBRUYsb0NBQW9DO0FBQ3BDLDZDQUE2QztBQUM3QyxxRUFBcUU7QUFDckUsb0NBQW9DO0FBQ3BDLG1CQUFtQjtBQUNuQixnQ0FBZ0M7QUFDaEMsMENBQTBDO0FBQzFDLG1DQUFtQztBQUNuQyxhQUFhO0FBQ2IsVUFBVTtBQUNWLFFBQVE7QUFDUixnQ0FBZ0M7QUFDaEMsMkJBQTJCO0FBQzNCLFFBQVE7QUFDUixJQUFJO0FBRUcsTUFBTSxXQUFXLEdBQUcsQ0FDdkIsSUFBZ0MsRUFDaEMsS0FBMkIsRUFDYixFQUFFLENBQUMsQ0FBQztJQUNsQixNQUFNLEVBQUUsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDO0lBQ3ZCLE9BQU8sRUFBRSxFQUFFLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQztRQUNyQixPQUFPLEVBQUUsS0FBSyxDQUFDLEtBQUs7UUFDcEIsS0FBSyxFQUFFLEtBQUssQ0FBQyxHQUFHO0tBQ25CLENBQUM7Q0FDTCxDQUFDLENBQUE7QUFUVyxRQUFBLFdBQVcsZUFTdEIifQ==
|