astn 0.110.21 → 0.110.22
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/generic/resolve.d.ts +41 -10
- package/dist/generated/implementation/generic/resolve.js +75 -50
- package/dist/generated/implementation/generic/unmarshall.d.ts +15 -10
- package/dist/generated/implementation/generic/unmarshall.js +124 -55
- package/dist/generated/implementation/schemas/ast/marshall.d.ts +6 -6
- package/dist/generated/implementation/schemas/ast/marshall.js +9 -4
- package/dist/generated/implementation/schemas/ast/unmarshall.js +142 -66
- package/dist/generated/implementation/schemas/ide/marshall.d.ts +3 -3
- package/dist/generated/implementation/schemas/ide/marshall.js +1 -1
- package/dist/generated/implementation/schemas/ide/unmarshall.js +26 -16
- package/dist/generated/implementation/schemas/parse_result/marshall.d.ts +2 -2
- package/dist/generated/implementation/schemas/parse_result/marshall.js +3 -3
- package/dist/generated/implementation/schemas/parse_result/unmarshall.js +50 -38
- package/dist/generated/implementation/schemas/target/marshall.d.ts +2 -2
- package/dist/generated/implementation/schemas/target/marshall.js +1 -1
- package/dist/generated/implementation/schemas/target/unmarshall.js +43 -29
- package/dist/generated/implementation/schemas/token/marshall.d.ts +10 -10
- package/dist/generated/implementation/schemas/token/marshall.js +8 -4
- package/dist/generated/implementation/schemas/token/unmarshall.js +93 -54
- package/dist/generated/interface/core/astn_source.d.ts +8 -8
- package/dist/generated/interface/core/astn_target.d.ts +15 -15
- package/dist/generated/interface/core/resolve.d.ts +6 -6
- package/dist/generated/interface/core/resolved.d.ts +46 -46
- package/dist/generated/interface/core/unconstrained.d.ts +10 -10
- package/dist/generated/interface/core/unresolved.d.ts +84 -87
- package/dist/generated/interface/schemas/ast/data_types/unconstrained.d.ts +952 -0
- package/dist/generated/interface/schemas/ast/data_types/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/ast/marshall.d.ts +44 -87
- package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/ast/unmarshall.d.ts +56 -7
- package/dist/generated/interface/schemas/ast/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/ast/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/ast/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/ast/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/ide/data_types/unconstrained.d.ts +190 -0
- package/dist/generated/interface/schemas/ide/data_types/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/ide/marshall.d.ts +23 -66
- package/dist/generated/interface/schemas/ide/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/ide/unmarshall.d.ts +29 -4
- package/dist/generated/interface/schemas/ide/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/ide/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/ide/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/ide/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/parse_result/data_types/unconstrained.d.ts +268 -0
- package/dist/generated/interface/schemas/parse_result/data_types/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/parse_result/marshall.d.ts +16 -59
- package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/parse_result/unmarshall.d.ts +20 -3
- package/dist/generated/interface/schemas/parse_result/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/parse_result/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/parse_result/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/parse_result/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/target/data_types/unconstrained.d.ts +186 -0
- package/dist/generated/interface/schemas/target/data_types/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/target/marshall.d.ts +16 -79
- package/dist/generated/interface/schemas/target/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/target/unmarshall.d.ts +20 -3
- package/dist/generated/interface/schemas/target/value_deserializers.d.ts +64 -0
- package/dist/generated/interface/schemas/target/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/target/value_serializers.d.ts +64 -0
- package/dist/generated/interface/schemas/target/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/token/data_types/unconstrained.d.ts +328 -0
- package/dist/generated/interface/schemas/token/data_types/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/token/marshall.d.ts +72 -115
- package/dist/generated/interface/schemas/token/migrate_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/token/unmarshall.d.ts +92 -11
- package/dist/generated/interface/schemas/token/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/token/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/token/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/token/value_serializers.js +3 -0
- package/dist/parse/ast.d.ts +3 -3
- package/dist/parse/ast.js +1 -5
- package/dist/parse/astn_parse_generic.d.ts +2 -2
- package/dist/parse/parse.d.ts +1 -1
- package/dist/parse/token.d.ts +1 -1
- package/dist/parse/token.js +5 -1
- package/dist/serializers/parse_result.d.ts +1 -1
- package/dist/transformations/ast/ide.d.ts +3 -3
- package/dist/transformations/ast/ide.js +2 -1
- package/dist/transformations/ast/json_target.d.ts +1 -1
- package/dist/transformations/ast/json_target.js +2 -1
- package/dist/transformations/ast/temp_value_range.d.ts +7 -0
- package/dist/transformations/ast/temp_value_range.js +77 -0
- package/dist/transformations/target/fountain_pen_block.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import * as _i_core from "../../../core/unconstrained";
|
|
2
|
+
import * as _i_imports_ast from "../../ast/data_types/unconstrained";
|
|
3
|
+
import * as _i_imports_token from "../../token/data_types/unconstrained";
|
|
4
|
+
export type _T_Parse_Error = {
|
|
5
|
+
readonly 'range': _i_imports_token._T_Range;
|
|
6
|
+
readonly 'type': _i_core._T_State_Group<null, readonly [
|
|
7
|
+
'lexer',
|
|
8
|
+
_i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>
|
|
9
|
+
] | readonly [
|
|
10
|
+
'parser',
|
|
11
|
+
{
|
|
12
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
13
|
+
'unexpected token',
|
|
14
|
+
{
|
|
15
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
16
|
+
}
|
|
17
|
+
]>;
|
|
18
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
19
|
+
}
|
|
20
|
+
]>;
|
|
21
|
+
};
|
|
22
|
+
export type _T_Parse_Result = _i_core._T_State_Group<null, readonly ['failure', _T_Parse_Error] | readonly ['success', _i_imports_ast._T_Document]>;
|
|
23
|
+
export type Parse_Error = _T_Parse_Error;
|
|
24
|
+
export type Parse_Result = _T_Parse_Result;
|
|
25
|
+
export declare namespace _T_Parse_Error {
|
|
26
|
+
namespace range {
|
|
27
|
+
}
|
|
28
|
+
type range = _i_imports_token._T_Range;
|
|
29
|
+
namespace _type {
|
|
30
|
+
namespace SG {
|
|
31
|
+
namespace lexer {
|
|
32
|
+
namespace SG {
|
|
33
|
+
type dangling_slash = null;
|
|
34
|
+
type invalid_unicode_escape_sequence = null;
|
|
35
|
+
type missing_character_after_escape = null;
|
|
36
|
+
type unexpected_character = number;
|
|
37
|
+
type unexpected_control_character = number;
|
|
38
|
+
type unexpected_end_of_input = null;
|
|
39
|
+
type unexpected_end_of_line_in_delimited_string = null;
|
|
40
|
+
type unknown_escape_character = null;
|
|
41
|
+
type unterminated_block_comment = null;
|
|
42
|
+
type unterminated_string = null;
|
|
43
|
+
type unterminated_unicode_escape_sequence = null;
|
|
44
|
+
}
|
|
45
|
+
type SG = readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null];
|
|
46
|
+
}
|
|
47
|
+
type lexer = _i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>;
|
|
48
|
+
namespace parser {
|
|
49
|
+
namespace cause {
|
|
50
|
+
namespace SG {
|
|
51
|
+
type missing_token = null;
|
|
52
|
+
namespace unexpected_token {
|
|
53
|
+
namespace found {
|
|
54
|
+
}
|
|
55
|
+
type found = _i_imports_token._T_Token_Type;
|
|
56
|
+
}
|
|
57
|
+
type unexpected_token = {
|
|
58
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
type SG = readonly ['missing token', null] | readonly [
|
|
62
|
+
'unexpected token',
|
|
63
|
+
{
|
|
64
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
type cause = _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
69
|
+
'unexpected token',
|
|
70
|
+
{
|
|
71
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
72
|
+
}
|
|
73
|
+
]>;
|
|
74
|
+
namespace expected {
|
|
75
|
+
namespace L {
|
|
76
|
+
namespace SG {
|
|
77
|
+
type $ex_ = null;
|
|
78
|
+
type $pc_ = null;
|
|
79
|
+
type $cm_ = null;
|
|
80
|
+
type $cl_ = null;
|
|
81
|
+
type $gt_ = null;
|
|
82
|
+
type $at_ = null;
|
|
83
|
+
type $bc_ = null;
|
|
84
|
+
type a_string = null;
|
|
85
|
+
type a_value = null;
|
|
86
|
+
type $cc_ = null;
|
|
87
|
+
}
|
|
88
|
+
type SG = readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null];
|
|
89
|
+
}
|
|
90
|
+
type L = _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>;
|
|
91
|
+
}
|
|
92
|
+
type expected = _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
93
|
+
}
|
|
94
|
+
type parser = {
|
|
95
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
96
|
+
'unexpected token',
|
|
97
|
+
{
|
|
98
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
99
|
+
}
|
|
100
|
+
]>;
|
|
101
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
type SG = readonly [
|
|
105
|
+
'lexer',
|
|
106
|
+
_i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>
|
|
107
|
+
] | readonly [
|
|
108
|
+
'parser',
|
|
109
|
+
{
|
|
110
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
111
|
+
'unexpected token',
|
|
112
|
+
{
|
|
113
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
114
|
+
}
|
|
115
|
+
]>;
|
|
116
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
117
|
+
}
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
type _type = _i_core._T_State_Group<null, readonly [
|
|
121
|
+
'lexer',
|
|
122
|
+
_i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>
|
|
123
|
+
] | readonly [
|
|
124
|
+
'parser',
|
|
125
|
+
{
|
|
126
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
127
|
+
'unexpected token',
|
|
128
|
+
{
|
|
129
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
130
|
+
}
|
|
131
|
+
]>;
|
|
132
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
133
|
+
}
|
|
134
|
+
]>;
|
|
135
|
+
}
|
|
136
|
+
export declare namespace _T_Parse_Result {
|
|
137
|
+
namespace SG {
|
|
138
|
+
namespace failure {
|
|
139
|
+
}
|
|
140
|
+
type failure = _T_Parse_Error;
|
|
141
|
+
namespace success {
|
|
142
|
+
}
|
|
143
|
+
type success = _i_imports_ast._T_Document;
|
|
144
|
+
}
|
|
145
|
+
type SG = readonly ['failure', _T_Parse_Error] | readonly ['success', _i_imports_ast._T_Document];
|
|
146
|
+
}
|
|
147
|
+
export declare namespace Parse_Error {
|
|
148
|
+
namespace range {
|
|
149
|
+
}
|
|
150
|
+
type range = _i_imports_token._T_Range;
|
|
151
|
+
namespace _type {
|
|
152
|
+
namespace SG {
|
|
153
|
+
namespace lexer {
|
|
154
|
+
namespace SG {
|
|
155
|
+
type dangling_slash = null;
|
|
156
|
+
type invalid_unicode_escape_sequence = null;
|
|
157
|
+
type missing_character_after_escape = null;
|
|
158
|
+
type unexpected_character = number;
|
|
159
|
+
type unexpected_control_character = number;
|
|
160
|
+
type unexpected_end_of_input = null;
|
|
161
|
+
type unexpected_end_of_line_in_delimited_string = null;
|
|
162
|
+
type unknown_escape_character = null;
|
|
163
|
+
type unterminated_block_comment = null;
|
|
164
|
+
type unterminated_string = null;
|
|
165
|
+
type unterminated_unicode_escape_sequence = null;
|
|
166
|
+
}
|
|
167
|
+
type SG = readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null];
|
|
168
|
+
}
|
|
169
|
+
type lexer = _i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>;
|
|
170
|
+
namespace parser {
|
|
171
|
+
namespace cause {
|
|
172
|
+
namespace SG {
|
|
173
|
+
type missing_token = null;
|
|
174
|
+
namespace unexpected_token {
|
|
175
|
+
namespace found {
|
|
176
|
+
}
|
|
177
|
+
type found = _i_imports_token._T_Token_Type;
|
|
178
|
+
}
|
|
179
|
+
type unexpected_token = {
|
|
180
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
type SG = readonly ['missing token', null] | readonly [
|
|
184
|
+
'unexpected token',
|
|
185
|
+
{
|
|
186
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
187
|
+
}
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
type cause = _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
191
|
+
'unexpected token',
|
|
192
|
+
{
|
|
193
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
194
|
+
}
|
|
195
|
+
]>;
|
|
196
|
+
namespace expected {
|
|
197
|
+
namespace L {
|
|
198
|
+
namespace SG {
|
|
199
|
+
type $ex_ = null;
|
|
200
|
+
type $pc_ = null;
|
|
201
|
+
type $cm_ = null;
|
|
202
|
+
type $cl_ = null;
|
|
203
|
+
type $gt_ = null;
|
|
204
|
+
type $at_ = null;
|
|
205
|
+
type $bc_ = null;
|
|
206
|
+
type a_string = null;
|
|
207
|
+
type a_value = null;
|
|
208
|
+
type $cc_ = null;
|
|
209
|
+
}
|
|
210
|
+
type SG = readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null];
|
|
211
|
+
}
|
|
212
|
+
type L = _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>;
|
|
213
|
+
}
|
|
214
|
+
type expected = _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
215
|
+
}
|
|
216
|
+
type parser = {
|
|
217
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
218
|
+
'unexpected token',
|
|
219
|
+
{
|
|
220
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
221
|
+
}
|
|
222
|
+
]>;
|
|
223
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
type SG = readonly [
|
|
227
|
+
'lexer',
|
|
228
|
+
_i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>
|
|
229
|
+
] | readonly [
|
|
230
|
+
'parser',
|
|
231
|
+
{
|
|
232
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
233
|
+
'unexpected token',
|
|
234
|
+
{
|
|
235
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
236
|
+
}
|
|
237
|
+
]>;
|
|
238
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
239
|
+
}
|
|
240
|
+
];
|
|
241
|
+
}
|
|
242
|
+
type _type = _i_core._T_State_Group<null, readonly [
|
|
243
|
+
'lexer',
|
|
244
|
+
_i_core._T_State_Group<null, readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null]>
|
|
245
|
+
] | readonly [
|
|
246
|
+
'parser',
|
|
247
|
+
{
|
|
248
|
+
readonly 'cause': _i_core._T_State_Group<null, readonly ['missing token', null] | readonly [
|
|
249
|
+
'unexpected token',
|
|
250
|
+
{
|
|
251
|
+
readonly 'found': _i_imports_token._T_Token_Type;
|
|
252
|
+
}
|
|
253
|
+
]>;
|
|
254
|
+
readonly 'expected': _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['!', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a string', null] | readonly ['a value', null] | readonly ['}', null]>>;
|
|
255
|
+
}
|
|
256
|
+
]>;
|
|
257
|
+
}
|
|
258
|
+
export declare namespace Parse_Result {
|
|
259
|
+
namespace SG {
|
|
260
|
+
namespace failure {
|
|
261
|
+
}
|
|
262
|
+
type failure = _T_Parse_Error;
|
|
263
|
+
namespace success {
|
|
264
|
+
}
|
|
265
|
+
type success = _i_imports_ast._T_Document;
|
|
266
|
+
}
|
|
267
|
+
type SG = readonly ['failure', _T_Parse_Error] | readonly ['success', _i_imports_ast._T_Document];
|
|
268
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvcGFyc2VfcmVzdWx0L2RhdGFfdHlwZXMvdW5jb25zdHJhaW5lZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,104 +1,61 @@
|
|
|
1
|
-
import * as _i_in from "./unconstrained";
|
|
1
|
+
import * as _i_in from "./data_types/unconstrained";
|
|
2
2
|
import * as _i_out from "../../core/astn_target";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
readonly '
|
|
6
|
-
readonly 'default number': ($$_: number, $$_p: null) => string;
|
|
7
|
-
};
|
|
8
|
-
export type _T_s_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: {
|
|
9
|
-
readonly 'value serializers': _T_Value_Serializers;
|
|
3
|
+
import * as _i_vs from "./value_serializers";
|
|
4
|
+
export type _T_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: {
|
|
5
|
+
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
10
6
|
}) => _i_out._T_Value;
|
|
11
|
-
export type
|
|
12
|
-
readonly 'value serializers': _T_Value_Serializers;
|
|
7
|
+
export type _T_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: {
|
|
8
|
+
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
13
9
|
}) => _i_out._T_Value;
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
16
|
-
export
|
|
17
|
-
export declare namespace _T_Value_Serializers {
|
|
18
|
-
namespace _boolean {
|
|
19
|
-
type CONTEXT = boolean;
|
|
20
|
-
namespace PARAMS {
|
|
21
|
-
}
|
|
22
|
-
type RESULT = string;
|
|
23
|
-
}
|
|
24
|
-
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
25
|
-
namespace custom_numbers {
|
|
26
|
-
}
|
|
27
|
-
type custom_numbers = null;
|
|
28
|
-
namespace default_number {
|
|
29
|
-
type CONTEXT = number;
|
|
30
|
-
namespace PARAMS {
|
|
31
|
-
}
|
|
32
|
-
type RESULT = string;
|
|
33
|
-
}
|
|
34
|
-
type default_number = ($$_: number, $$_p: null) => string;
|
|
35
|
-
}
|
|
36
|
-
export declare namespace _T_s_Parse_Error {
|
|
10
|
+
export type Parse_Error = _T_Parse_Error;
|
|
11
|
+
export type Parse_Result = _T_Parse_Result;
|
|
12
|
+
export declare namespace _T_Parse_Error {
|
|
37
13
|
namespace CONTEXT {
|
|
38
14
|
}
|
|
39
15
|
type CONTEXT = _i_in._T_Parse_Error;
|
|
40
16
|
namespace PARAMS {
|
|
41
17
|
namespace value_serializers {
|
|
42
18
|
}
|
|
43
|
-
type value_serializers = _T_Value_Serializers;
|
|
19
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
44
20
|
}
|
|
45
21
|
namespace RESULT {
|
|
46
22
|
}
|
|
47
23
|
type RESULT = _i_out._T_Value;
|
|
48
24
|
}
|
|
49
|
-
export declare namespace
|
|
25
|
+
export declare namespace _T_Parse_Result {
|
|
50
26
|
namespace CONTEXT {
|
|
51
27
|
}
|
|
52
28
|
type CONTEXT = _i_in._T_Parse_Result;
|
|
53
29
|
namespace PARAMS {
|
|
54
30
|
namespace value_serializers {
|
|
55
31
|
}
|
|
56
|
-
type value_serializers = _T_Value_Serializers;
|
|
32
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
57
33
|
}
|
|
58
34
|
namespace RESULT {
|
|
59
35
|
}
|
|
60
36
|
type RESULT = _i_out._T_Value;
|
|
61
37
|
}
|
|
62
|
-
export declare namespace
|
|
63
|
-
namespace _boolean {
|
|
64
|
-
type CONTEXT = boolean;
|
|
65
|
-
namespace PARAMS {
|
|
66
|
-
}
|
|
67
|
-
type RESULT = string;
|
|
68
|
-
}
|
|
69
|
-
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
70
|
-
namespace custom_numbers {
|
|
71
|
-
}
|
|
72
|
-
type custom_numbers = null;
|
|
73
|
-
namespace default_number {
|
|
74
|
-
type CONTEXT = number;
|
|
75
|
-
namespace PARAMS {
|
|
76
|
-
}
|
|
77
|
-
type RESULT = string;
|
|
78
|
-
}
|
|
79
|
-
type default_number = ($$_: number, $$_p: null) => string;
|
|
80
|
-
}
|
|
81
|
-
export declare namespace s_Parse_Error {
|
|
38
|
+
export declare namespace Parse_Error {
|
|
82
39
|
namespace CONTEXT {
|
|
83
40
|
}
|
|
84
41
|
type CONTEXT = _i_in._T_Parse_Error;
|
|
85
42
|
namespace PARAMS {
|
|
86
43
|
namespace value_serializers {
|
|
87
44
|
}
|
|
88
|
-
type value_serializers = _T_Value_Serializers;
|
|
45
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
89
46
|
}
|
|
90
47
|
namespace RESULT {
|
|
91
48
|
}
|
|
92
49
|
type RESULT = _i_out._T_Value;
|
|
93
50
|
}
|
|
94
|
-
export declare namespace
|
|
51
|
+
export declare namespace Parse_Result {
|
|
95
52
|
namespace CONTEXT {
|
|
96
53
|
}
|
|
97
54
|
type CONTEXT = _i_in._T_Parse_Result;
|
|
98
55
|
namespace PARAMS {
|
|
99
56
|
namespace value_serializers {
|
|
100
57
|
}
|
|
101
|
-
type value_serializers = _T_Value_Serializers;
|
|
58
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
102
59
|
}
|
|
103
60
|
namespace RESULT {
|
|
104
61
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _i_in from "./unconstrained";
|
|
2
|
-
import * as _i_out from "./unconstrained";
|
|
1
|
+
import * as _i_in from "./data_types/unconstrained";
|
|
2
|
+
import * as _i_out from "./data_types/unconstrained";
|
|
3
3
|
export type _T_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: null) => _i_out._T_Parse_Error;
|
|
4
4
|
export type _T_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: null) => _i_out._T_Parse_Result;
|
|
5
5
|
export type Parse_Error = _T_Parse_Error;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import * as _i_in from "../../core/astn_source";
|
|
2
|
-
import * as _i_out from "./unconstrained";
|
|
3
|
-
|
|
4
|
-
export type
|
|
2
|
+
import * as _i_out from "./data_types/unconstrained";
|
|
3
|
+
import * as _i_vd from "./value_deserializers";
|
|
4
|
+
export type _T_Parse_Error = ($$_: _i_in._T_Value, $$_p: {
|
|
5
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
6
|
+
}) => _i_out._T_Parse_Error;
|
|
7
|
+
export type _T_Parse_Result = ($$_: _i_in._T_Value, $$_p: {
|
|
8
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
9
|
+
}) => _i_out._T_Parse_Result;
|
|
5
10
|
export type Parse_Error = _T_Parse_Error;
|
|
6
11
|
export type Parse_Result = _T_Parse_Result;
|
|
7
12
|
export declare namespace _T_Parse_Error {
|
|
@@ -9,6 +14,9 @@ export declare namespace _T_Parse_Error {
|
|
|
9
14
|
}
|
|
10
15
|
type CONTEXT = _i_in._T_Value;
|
|
11
16
|
namespace PARAMS {
|
|
17
|
+
namespace value_deserializers {
|
|
18
|
+
}
|
|
19
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
12
20
|
}
|
|
13
21
|
namespace RESULT {
|
|
14
22
|
}
|
|
@@ -19,6 +27,9 @@ export declare namespace _T_Parse_Result {
|
|
|
19
27
|
}
|
|
20
28
|
type CONTEXT = _i_in._T_Value;
|
|
21
29
|
namespace PARAMS {
|
|
30
|
+
namespace value_deserializers {
|
|
31
|
+
}
|
|
32
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
22
33
|
}
|
|
23
34
|
namespace RESULT {
|
|
24
35
|
}
|
|
@@ -29,6 +40,9 @@ export declare namespace Parse_Error {
|
|
|
29
40
|
}
|
|
30
41
|
type CONTEXT = _i_in._T_Value;
|
|
31
42
|
namespace PARAMS {
|
|
43
|
+
namespace value_deserializers {
|
|
44
|
+
}
|
|
45
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
32
46
|
}
|
|
33
47
|
namespace RESULT {
|
|
34
48
|
}
|
|
@@ -39,6 +53,9 @@ export declare namespace Parse_Result {
|
|
|
39
53
|
}
|
|
40
54
|
type CONTEXT = _i_in._T_Value;
|
|
41
55
|
namespace PARAMS {
|
|
56
|
+
namespace value_deserializers {
|
|
57
|
+
}
|
|
58
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
42
59
|
}
|
|
43
60
|
namespace RESULT {
|
|
44
61
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type _T_Value_Deserializers = {
|
|
2
|
+
readonly 'boolean': ($$_: string, $$_p: null) => boolean;
|
|
3
|
+
readonly 'custom numbers': null;
|
|
4
|
+
readonly 'default number': ($$_: string, $$_p: null) => number;
|
|
5
|
+
};
|
|
6
|
+
export type Value_Deserializers = _T_Value_Deserializers;
|
|
7
|
+
export declare namespace _T_Value_Deserializers {
|
|
8
|
+
namespace _boolean {
|
|
9
|
+
type CONTEXT = string;
|
|
10
|
+
namespace PARAMS {
|
|
11
|
+
}
|
|
12
|
+
type RESULT = boolean;
|
|
13
|
+
}
|
|
14
|
+
type _boolean = ($$_: string, $$_p: null) => boolean;
|
|
15
|
+
namespace custom_numbers {
|
|
16
|
+
}
|
|
17
|
+
type custom_numbers = null;
|
|
18
|
+
namespace default_number {
|
|
19
|
+
type CONTEXT = string;
|
|
20
|
+
namespace PARAMS {
|
|
21
|
+
}
|
|
22
|
+
type RESULT = number;
|
|
23
|
+
}
|
|
24
|
+
type default_number = ($$_: string, $$_p: null) => number;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Value_Deserializers {
|
|
27
|
+
namespace _boolean {
|
|
28
|
+
type CONTEXT = string;
|
|
29
|
+
namespace PARAMS {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = boolean;
|
|
32
|
+
}
|
|
33
|
+
type _boolean = ($$_: string, $$_p: null) => boolean;
|
|
34
|
+
namespace custom_numbers {
|
|
35
|
+
}
|
|
36
|
+
type custom_numbers = null;
|
|
37
|
+
namespace default_number {
|
|
38
|
+
type CONTEXT = string;
|
|
39
|
+
namespace PARAMS {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = number;
|
|
42
|
+
}
|
|
43
|
+
type default_number = ($$_: string, $$_p: null) => number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfZGVzZXJpYWxpemVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvcGFyc2VfcmVzdWx0L3ZhbHVlX2Rlc2VyaWFsaXplcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type _T_Value_Serializers = {
|
|
2
|
+
readonly 'boolean': ($$_: boolean, $$_p: null) => string;
|
|
3
|
+
readonly 'custom numbers': null;
|
|
4
|
+
readonly 'default number': ($$_: number, $$_p: null) => string;
|
|
5
|
+
};
|
|
6
|
+
export type Value_Serializers = _T_Value_Serializers;
|
|
7
|
+
export declare namespace _T_Value_Serializers {
|
|
8
|
+
namespace _boolean {
|
|
9
|
+
type CONTEXT = boolean;
|
|
10
|
+
namespace PARAMS {
|
|
11
|
+
}
|
|
12
|
+
type RESULT = string;
|
|
13
|
+
}
|
|
14
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
15
|
+
namespace custom_numbers {
|
|
16
|
+
}
|
|
17
|
+
type custom_numbers = null;
|
|
18
|
+
namespace default_number {
|
|
19
|
+
type CONTEXT = number;
|
|
20
|
+
namespace PARAMS {
|
|
21
|
+
}
|
|
22
|
+
type RESULT = string;
|
|
23
|
+
}
|
|
24
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Value_Serializers {
|
|
27
|
+
namespace _boolean {
|
|
28
|
+
type CONTEXT = boolean;
|
|
29
|
+
namespace PARAMS {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = string;
|
|
32
|
+
}
|
|
33
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
34
|
+
namespace custom_numbers {
|
|
35
|
+
}
|
|
36
|
+
type custom_numbers = null;
|
|
37
|
+
namespace default_number {
|
|
38
|
+
type CONTEXT = number;
|
|
39
|
+
namespace PARAMS {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = string;
|
|
42
|
+
}
|
|
43
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfc2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3BhcnNlX3Jlc3VsdC92YWx1ZV9zZXJpYWxpemVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|