astn 0.110.23 → 0.110.25
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/unmarshall.js +50 -49
- package/dist/generated/implementation/schemas/ast/marshall.d.ts +1 -0
- package/dist/generated/implementation/schemas/ast/marshall.js +133 -124
- package/dist/generated/implementation/schemas/ast/unmarshall.d.ts +1 -0
- package/dist/generated/implementation/schemas/ast/unmarshall.js +148 -147
- package/dist/generated/implementation/schemas/token/marshall.js +1 -5
- package/dist/generated/implementation/schemas/token/unmarshall.js +1 -2
- package/dist/generated/interface/core/astn_source.d.ts +36 -30
- package/dist/generated/interface/schemas/ast/data_types/unconstrained.d.ts +412 -523
- package/dist/generated/interface/schemas/ast/marshall.d.ts +30 -0
- package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +22 -0
- package/dist/generated/interface/schemas/ast/unmarshall.d.ts +30 -0
- package/dist/generated/interface/schemas/token/data_types/unconstrained.d.ts +3 -5
- package/dist/parse/ast.js +51 -66
- package/dist/parse/string_iterator.d.ts +0 -6
- package/dist/parse/string_iterator.js +8 -8
- package/dist/parse/token.js +25 -25
- package/dist/transformations/ast/ide.js +42 -43
- package/dist/transformations/ast/json_target.d.ts +1 -1
- package/dist/transformations/ast/json_target.js +30 -25
- package/dist/transformations/ast/temp_value_range.js +35 -30
- package/dist/transformations/target/fountain_pen_block.d.ts +1 -1
- package/package.json +5 -5
- package/dist/generated/interface/schemas/ast/unconstrained.d.ts +0 -918
- package/dist/generated/interface/schemas/ast/unconstrained.js +0 -3
- package/dist/generated/interface/schemas/ide/unconstrained.d.ts +0 -190
- package/dist/generated/interface/schemas/ide/unconstrained.js +0 -3
- package/dist/generated/interface/schemas/parse_result/unconstrained.d.ts +0 -268
- package/dist/generated/interface/schemas/parse_result/unconstrained.js +0 -3
- package/dist/generated/interface/schemas/target/unconstrained.d.ts +0 -186
- package/dist/generated/interface/schemas/target/unconstrained.js +0 -3
- package/dist/generated/interface/schemas/token/unconstrained.d.ts +0 -326
- package/dist/generated/interface/schemas/token/unconstrained.js +0 -3
|
@@ -6,8 +6,29 @@ export type _T_Document = {
|
|
|
6
6
|
readonly 'value': _T_Value;
|
|
7
7
|
}>;
|
|
8
8
|
};
|
|
9
|
-
export type
|
|
9
|
+
export type _T_Elements = _et.Array<{
|
|
10
|
+
readonly ',': _et.Optional_Value<_T_Structural_Token>;
|
|
11
|
+
readonly 'value': _T_Value;
|
|
12
|
+
}>;
|
|
13
|
+
export type _T_Key_Value_Pairs = _et.Array<{
|
|
14
|
+
readonly ',': _et.Optional_Value<_T_Structural_Token>;
|
|
15
|
+
readonly 'key': _T_String;
|
|
16
|
+
readonly 'value': _et.Optional_Value<{
|
|
17
|
+
readonly ':': _T_Structural_Token;
|
|
18
|
+
readonly 'value': _T_Value;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
21
|
+
export type _T_String = {
|
|
10
22
|
readonly 'range': _T_Range;
|
|
23
|
+
readonly 'trailing trivia': _T_Trivia;
|
|
24
|
+
readonly 'type': _T_String_Type;
|
|
25
|
+
readonly 'value': string;
|
|
26
|
+
};
|
|
27
|
+
export type _T_Structural_Token = {
|
|
28
|
+
readonly 'range': _T_Range;
|
|
29
|
+
readonly 'trailing trivia': _T_Trivia;
|
|
30
|
+
};
|
|
31
|
+
export type _T_Value = {
|
|
11
32
|
readonly 'type': readonly [
|
|
12
33
|
'include',
|
|
13
34
|
{
|
|
@@ -31,6 +52,11 @@ export type _T_Value = {
|
|
|
31
52
|
readonly 'entries': _T_Key_Value_Pairs;
|
|
32
53
|
}
|
|
33
54
|
]
|
|
55
|
+
] | readonly [
|
|
56
|
+
'missing data',
|
|
57
|
+
{
|
|
58
|
+
readonly '#': _T_Structural_Token;
|
|
59
|
+
}
|
|
34
60
|
] | readonly [
|
|
35
61
|
'not set',
|
|
36
62
|
{
|
|
@@ -59,35 +85,14 @@ export type _T_Value = {
|
|
|
59
85
|
readonly '*': _T_Structural_Token;
|
|
60
86
|
readonly 'value': _T_Value;
|
|
61
87
|
}
|
|
62
|
-
] | readonly ['string', _T_String] | readonly [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
readonly ',': _et.Optional_Value<_T_Structural_Token>;
|
|
71
|
-
readonly 'value': _T_Value;
|
|
72
|
-
}>;
|
|
73
|
-
export type _T_Key_Value_Pairs = _et.Array<{
|
|
74
|
-
readonly ',': _et.Optional_Value<_T_Structural_Token>;
|
|
75
|
-
readonly 'key': _T_String;
|
|
76
|
-
readonly 'value': _et.Optional_Value<{
|
|
77
|
-
readonly ':': _T_Structural_Token;
|
|
78
|
-
readonly 'value': _T_Value;
|
|
79
|
-
}>;
|
|
80
|
-
}>;
|
|
81
|
-
export type _T_String = {
|
|
82
|
-
readonly 'range': _T_Range;
|
|
83
|
-
readonly 'trailing trivia': _T_Trivia;
|
|
84
|
-
readonly 'type': _T_String_Type;
|
|
85
|
-
readonly 'value': string;
|
|
86
|
-
};
|
|
87
|
-
export type _T_String_Type = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
88
|
-
export type _T_Structural_Token = {
|
|
89
|
-
readonly 'range': _T_Range;
|
|
90
|
-
readonly 'trailing trivia': _T_Trivia;
|
|
88
|
+
] | readonly ['string', _T_String] | readonly [
|
|
89
|
+
'tagged value',
|
|
90
|
+
{
|
|
91
|
+
readonly 'state': _T_String;
|
|
92
|
+
readonly 'value': _T_Value;
|
|
93
|
+
readonly '|': _T_Structural_Token;
|
|
94
|
+
}
|
|
95
|
+
];
|
|
91
96
|
};
|
|
92
97
|
export type _T_Range = {
|
|
93
98
|
readonly 'end': _T_Location;
|
|
@@ -114,3 +119,4 @@ export type _T_Whitespace = {
|
|
|
114
119
|
readonly 'range': _T_Range;
|
|
115
120
|
readonly 'value': string;
|
|
116
121
|
};
|
|
122
|
+
export type _T_String_Type = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|