astn 0.110.15 → 0.110.17
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/README.md +4 -0
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +1 -0
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +7 -2
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.d.ts +1 -0
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +7 -5
- package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +24 -2
- package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +21 -0
- package/dist/generated/interface/schemas/ast/resolved.d.ts +21 -0
- package/dist/generated/interface/schemas/ast/unconstrained.d.ts +1108 -0
- package/dist/generated/interface/schemas/ast/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/ast/unresolved.d.ts +21 -0
- package/dist/generated/interface/schemas/ide/migration_boilerplate.d.ts +24 -2
- package/dist/generated/interface/schemas/ide/poormans_parser.d.ts +27 -27
- package/dist/generated/interface/schemas/ide/resolved.d.ts +27 -27
- package/dist/generated/interface/schemas/ide/unconstrained.d.ts +169 -0
- package/dist/generated/interface/schemas/ide/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/ide/unresolved.d.ts +27 -27
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/parse_result/unconstrained.d.ts +416 -0
- package/dist/generated/interface/schemas/parse_result/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/target/migration_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/target/unconstrained.d.ts +186 -0
- package/dist/generated/interface/schemas/target/unconstrained.js +3 -0
- package/dist/generated/interface/schemas/target_json/migration_boilerplate.d.ts +2 -2
- package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +169 -0
- package/dist/generated/interface/schemas/target_json/unconstrained.js +3 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/parse/parse.d.ts +2 -2
- package/dist/parse/parse_generic.d.ts +2 -2
- package/dist/serializers/json.d.ts +1 -1
- package/dist/serializers/parse_result.d.ts +1 -1
- package/dist/transformations/ast/ide.d.ts +2 -2
- package/dist/transformations/ast/ide.js +3 -3
- package/dist/transformations/ast/json_target.d.ts +2 -2
- package/dist/transformations/target/fountain_pen_block.d.ts +2 -2
- package/dist/transformations/target_json/fountain_pen_block.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvYXN0L3VuY29uc3RyYWluZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -31,6 +31,10 @@ export type _T_Relative_Location = {
|
|
|
31
31
|
readonly 'column': number;
|
|
32
32
|
readonly 'line': number;
|
|
33
33
|
};
|
|
34
|
+
export type _T_Relative_Range = {
|
|
35
|
+
readonly 'end': _T_Relative_Location;
|
|
36
|
+
readonly 'start': _T_Relative_Location;
|
|
37
|
+
};
|
|
34
38
|
export type _T_String = {
|
|
35
39
|
readonly 'range': _T_Range;
|
|
36
40
|
readonly 'trailing trivia': _T_Trivia;
|
|
@@ -123,6 +127,7 @@ export type Key_Value_Pairs = _T_Key_Value_Pairs;
|
|
|
123
127
|
export type Location = _T_Location;
|
|
124
128
|
export type Range = _T_Range;
|
|
125
129
|
export type Relative_Location = _T_Relative_Location;
|
|
130
|
+
export type Relative_Range = _T_Relative_Range;
|
|
126
131
|
export type String = _T_String;
|
|
127
132
|
export type String_Type = _T_String_Type;
|
|
128
133
|
export type Structural_Token = _T_Structural_Token;
|
|
@@ -226,6 +231,14 @@ export declare namespace _T_Relative_Location {
|
|
|
226
231
|
type column = number;
|
|
227
232
|
type line = number;
|
|
228
233
|
}
|
|
234
|
+
export declare namespace _T_Relative_Range {
|
|
235
|
+
namespace end {
|
|
236
|
+
}
|
|
237
|
+
type end = _T_Relative_Location;
|
|
238
|
+
namespace start {
|
|
239
|
+
}
|
|
240
|
+
type start = _T_Relative_Location;
|
|
241
|
+
}
|
|
229
242
|
export declare namespace _T_String {
|
|
230
243
|
namespace range {
|
|
231
244
|
}
|
|
@@ -704,6 +717,14 @@ export declare namespace Relative_Location {
|
|
|
704
717
|
type column = number;
|
|
705
718
|
type line = number;
|
|
706
719
|
}
|
|
720
|
+
export declare namespace Relative_Range {
|
|
721
|
+
namespace end {
|
|
722
|
+
}
|
|
723
|
+
type end = _T_Relative_Location;
|
|
724
|
+
namespace start {
|
|
725
|
+
}
|
|
726
|
+
type start = _T_Relative_Location;
|
|
727
|
+
}
|
|
707
728
|
export declare namespace String {
|
|
708
729
|
namespace range {
|
|
709
730
|
}
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import * as _i_in from "./
|
|
2
|
-
import * as _i_out from "./
|
|
1
|
+
import * as _i_in from "./unconstrained";
|
|
2
|
+
import * as _i_out from "./unconstrained";
|
|
3
|
+
export type _T_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Key_Value_Pairs_To_Be_Sorted, $$_p: null) => _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
3
4
|
export type _T_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: null) => _i_out._T_Text_Edits;
|
|
5
|
+
export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
|
|
4
6
|
export type Text_Edits = _T_Text_Edits;
|
|
7
|
+
export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
|
|
8
|
+
namespace CONTEXT {
|
|
9
|
+
}
|
|
10
|
+
type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
|
|
11
|
+
namespace PARAMS {
|
|
12
|
+
}
|
|
13
|
+
namespace RESULT {
|
|
14
|
+
}
|
|
15
|
+
type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
16
|
+
}
|
|
5
17
|
export declare namespace _T_Text_Edits {
|
|
6
18
|
namespace CONTEXT {
|
|
7
19
|
}
|
|
@@ -12,6 +24,16 @@ export declare namespace _T_Text_Edits {
|
|
|
12
24
|
}
|
|
13
25
|
type RESULT = _i_out._T_Text_Edits;
|
|
14
26
|
}
|
|
27
|
+
export declare namespace Key_Value_Pairs_To_Be_Sorted {
|
|
28
|
+
namespace CONTEXT {
|
|
29
|
+
}
|
|
30
|
+
type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
|
|
31
|
+
namespace PARAMS {
|
|
32
|
+
}
|
|
33
|
+
namespace RESULT {
|
|
34
|
+
}
|
|
35
|
+
type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
36
|
+
}
|
|
15
37
|
export declare namespace Text_Edits {
|
|
16
38
|
namespace CONTEXT {
|
|
17
39
|
}
|
|
@@ -3,18 +3,18 @@ import * as _i_imports_ast from "../ast/poormans_parser";
|
|
|
3
3
|
export type _T_Text_Edits<G_Source> = _i_core._T_List<G_Source, _i_core._T_State_Group<G_Source, readonly [
|
|
4
4
|
'delete',
|
|
5
5
|
{
|
|
6
|
-
readonly 'range': _i_imports_ast.
|
|
6
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
7
7
|
}
|
|
8
8
|
] | readonly [
|
|
9
9
|
'insert',
|
|
10
10
|
{
|
|
11
|
-
readonly 'location': _i_imports_ast.
|
|
11
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
12
12
|
readonly 'text': string;
|
|
13
13
|
}
|
|
14
14
|
] | readonly [
|
|
15
15
|
'replace',
|
|
16
16
|
{
|
|
17
|
-
readonly 'range': _i_imports_ast.
|
|
17
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
18
18
|
readonly 'text': string;
|
|
19
19
|
}
|
|
20
20
|
]>>;
|
|
@@ -25,47 +25,47 @@ export declare namespace _T_Text_Edits {
|
|
|
25
25
|
namespace _delete {
|
|
26
26
|
namespace range {
|
|
27
27
|
}
|
|
28
|
-
type range<G_Source> = _i_imports_ast.
|
|
28
|
+
type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
|
|
29
29
|
}
|
|
30
30
|
type _delete<G_Source> = {
|
|
31
|
-
readonly 'range': _i_imports_ast.
|
|
31
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
32
32
|
};
|
|
33
33
|
namespace insert {
|
|
34
34
|
namespace location {
|
|
35
35
|
}
|
|
36
|
-
type location<G_Source> = _i_imports_ast.
|
|
36
|
+
type location<G_Source> = _i_imports_ast._T_Relative_Location<G_Source>;
|
|
37
37
|
type text<G_Source> = string;
|
|
38
38
|
}
|
|
39
39
|
type insert<G_Source> = {
|
|
40
|
-
readonly 'location': _i_imports_ast.
|
|
40
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
41
41
|
readonly 'text': string;
|
|
42
42
|
};
|
|
43
43
|
namespace replace {
|
|
44
44
|
namespace range {
|
|
45
45
|
}
|
|
46
|
-
type range<G_Source> = _i_imports_ast.
|
|
46
|
+
type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
|
|
47
47
|
type text<G_Source> = string;
|
|
48
48
|
}
|
|
49
49
|
type replace<G_Source> = {
|
|
50
|
-
readonly 'range': _i_imports_ast.
|
|
50
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
51
51
|
readonly 'text': string;
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
type SG<G_Source> = readonly [
|
|
55
55
|
'delete',
|
|
56
56
|
{
|
|
57
|
-
readonly 'range': _i_imports_ast.
|
|
57
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
58
58
|
}
|
|
59
59
|
] | readonly [
|
|
60
60
|
'insert',
|
|
61
61
|
{
|
|
62
|
-
readonly 'location': _i_imports_ast.
|
|
62
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
63
63
|
readonly 'text': string;
|
|
64
64
|
}
|
|
65
65
|
] | readonly [
|
|
66
66
|
'replace',
|
|
67
67
|
{
|
|
68
|
-
readonly 'range': _i_imports_ast.
|
|
68
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
69
69
|
readonly 'text': string;
|
|
70
70
|
}
|
|
71
71
|
];
|
|
@@ -73,18 +73,18 @@ export declare namespace _T_Text_Edits {
|
|
|
73
73
|
type L<G_Source> = _i_core._T_State_Group<G_Source, readonly [
|
|
74
74
|
'delete',
|
|
75
75
|
{
|
|
76
|
-
readonly 'range': _i_imports_ast.
|
|
76
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
77
77
|
}
|
|
78
78
|
] | readonly [
|
|
79
79
|
'insert',
|
|
80
80
|
{
|
|
81
|
-
readonly 'location': _i_imports_ast.
|
|
81
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
82
82
|
readonly 'text': string;
|
|
83
83
|
}
|
|
84
84
|
] | readonly [
|
|
85
85
|
'replace',
|
|
86
86
|
{
|
|
87
|
-
readonly 'range': _i_imports_ast.
|
|
87
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
88
88
|
readonly 'text': string;
|
|
89
89
|
}
|
|
90
90
|
]>;
|
|
@@ -95,47 +95,47 @@ export declare namespace Text_Edits {
|
|
|
95
95
|
namespace _delete {
|
|
96
96
|
namespace range {
|
|
97
97
|
}
|
|
98
|
-
type range<G_Source> = _i_imports_ast.
|
|
98
|
+
type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
|
|
99
99
|
}
|
|
100
100
|
type _delete<G_Source> = {
|
|
101
|
-
readonly 'range': _i_imports_ast.
|
|
101
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
102
102
|
};
|
|
103
103
|
namespace insert {
|
|
104
104
|
namespace location {
|
|
105
105
|
}
|
|
106
|
-
type location<G_Source> = _i_imports_ast.
|
|
106
|
+
type location<G_Source> = _i_imports_ast._T_Relative_Location<G_Source>;
|
|
107
107
|
type text<G_Source> = string;
|
|
108
108
|
}
|
|
109
109
|
type insert<G_Source> = {
|
|
110
|
-
readonly 'location': _i_imports_ast.
|
|
110
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
111
111
|
readonly 'text': string;
|
|
112
112
|
};
|
|
113
113
|
namespace replace {
|
|
114
114
|
namespace range {
|
|
115
115
|
}
|
|
116
|
-
type range<G_Source> = _i_imports_ast.
|
|
116
|
+
type range<G_Source> = _i_imports_ast._T_Relative_Range<G_Source>;
|
|
117
117
|
type text<G_Source> = string;
|
|
118
118
|
}
|
|
119
119
|
type replace<G_Source> = {
|
|
120
|
-
readonly 'range': _i_imports_ast.
|
|
120
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
121
121
|
readonly 'text': string;
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
type SG<G_Source> = readonly [
|
|
125
125
|
'delete',
|
|
126
126
|
{
|
|
127
|
-
readonly 'range': _i_imports_ast.
|
|
127
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
128
128
|
}
|
|
129
129
|
] | readonly [
|
|
130
130
|
'insert',
|
|
131
131
|
{
|
|
132
|
-
readonly 'location': _i_imports_ast.
|
|
132
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
133
133
|
readonly 'text': string;
|
|
134
134
|
}
|
|
135
135
|
] | readonly [
|
|
136
136
|
'replace',
|
|
137
137
|
{
|
|
138
|
-
readonly 'range': _i_imports_ast.
|
|
138
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
139
139
|
readonly 'text': string;
|
|
140
140
|
}
|
|
141
141
|
];
|
|
@@ -143,18 +143,18 @@ export declare namespace Text_Edits {
|
|
|
143
143
|
type L<G_Source> = _i_core._T_State_Group<G_Source, readonly [
|
|
144
144
|
'delete',
|
|
145
145
|
{
|
|
146
|
-
readonly 'range': _i_imports_ast.
|
|
146
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
147
147
|
}
|
|
148
148
|
] | readonly [
|
|
149
149
|
'insert',
|
|
150
150
|
{
|
|
151
|
-
readonly 'location': _i_imports_ast.
|
|
151
|
+
readonly 'location': _i_imports_ast._T_Relative_Location<G_Source>;
|
|
152
152
|
readonly 'text': string;
|
|
153
153
|
}
|
|
154
154
|
] | readonly [
|
|
155
155
|
'replace',
|
|
156
156
|
{
|
|
157
|
-
readonly 'range': _i_imports_ast.
|
|
157
|
+
readonly 'range': _i_imports_ast._T_Relative_Range<G_Source>;
|
|
158
158
|
readonly 'text': string;
|
|
159
159
|
}
|
|
160
160
|
]>;
|
|
@@ -3,18 +3,18 @@ import * as _i_imports_ast from "../ast/resolved";
|
|
|
3
3
|
export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
4
4
|
'delete',
|
|
5
5
|
{
|
|
6
|
-
readonly 'range': _i_imports_ast.
|
|
6
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
7
7
|
}
|
|
8
8
|
] | readonly [
|
|
9
9
|
'insert',
|
|
10
10
|
{
|
|
11
|
-
readonly 'location': _i_imports_ast.
|
|
11
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
12
12
|
readonly 'text': string;
|
|
13
13
|
}
|
|
14
14
|
] | readonly [
|
|
15
15
|
'replace',
|
|
16
16
|
{
|
|
17
|
-
readonly 'range': _i_imports_ast.
|
|
17
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
18
18
|
readonly 'text': string;
|
|
19
19
|
}
|
|
20
20
|
]>>;
|
|
@@ -25,47 +25,47 @@ export declare namespace _T_Text_Edits {
|
|
|
25
25
|
namespace _delete {
|
|
26
26
|
namespace range {
|
|
27
27
|
}
|
|
28
|
-
type range = _i_imports_ast.
|
|
28
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
29
29
|
}
|
|
30
30
|
type _delete = {
|
|
31
|
-
readonly 'range': _i_imports_ast.
|
|
31
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
32
32
|
};
|
|
33
33
|
namespace insert {
|
|
34
34
|
namespace location {
|
|
35
35
|
}
|
|
36
|
-
type location = _i_imports_ast.
|
|
36
|
+
type location = _i_imports_ast._T_Relative_Location;
|
|
37
37
|
type text = string;
|
|
38
38
|
}
|
|
39
39
|
type insert = {
|
|
40
|
-
readonly 'location': _i_imports_ast.
|
|
40
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
41
41
|
readonly 'text': string;
|
|
42
42
|
};
|
|
43
43
|
namespace replace {
|
|
44
44
|
namespace range {
|
|
45
45
|
}
|
|
46
|
-
type range = _i_imports_ast.
|
|
46
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
47
47
|
type text = string;
|
|
48
48
|
}
|
|
49
49
|
type replace = {
|
|
50
|
-
readonly 'range': _i_imports_ast.
|
|
50
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
51
51
|
readonly 'text': string;
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
type SG = readonly [
|
|
55
55
|
'delete',
|
|
56
56
|
{
|
|
57
|
-
readonly 'range': _i_imports_ast.
|
|
57
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
58
58
|
}
|
|
59
59
|
] | readonly [
|
|
60
60
|
'insert',
|
|
61
61
|
{
|
|
62
|
-
readonly 'location': _i_imports_ast.
|
|
62
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
63
63
|
readonly 'text': string;
|
|
64
64
|
}
|
|
65
65
|
] | readonly [
|
|
66
66
|
'replace',
|
|
67
67
|
{
|
|
68
|
-
readonly 'range': _i_imports_ast.
|
|
68
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
69
69
|
readonly 'text': string;
|
|
70
70
|
}
|
|
71
71
|
];
|
|
@@ -73,18 +73,18 @@ export declare namespace _T_Text_Edits {
|
|
|
73
73
|
type L = _i_core._T_State_Group<null, readonly [
|
|
74
74
|
'delete',
|
|
75
75
|
{
|
|
76
|
-
readonly 'range': _i_imports_ast.
|
|
76
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
77
77
|
}
|
|
78
78
|
] | readonly [
|
|
79
79
|
'insert',
|
|
80
80
|
{
|
|
81
|
-
readonly 'location': _i_imports_ast.
|
|
81
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
82
82
|
readonly 'text': string;
|
|
83
83
|
}
|
|
84
84
|
] | readonly [
|
|
85
85
|
'replace',
|
|
86
86
|
{
|
|
87
|
-
readonly 'range': _i_imports_ast.
|
|
87
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
88
88
|
readonly 'text': string;
|
|
89
89
|
}
|
|
90
90
|
]>;
|
|
@@ -95,47 +95,47 @@ export declare namespace Text_Edits {
|
|
|
95
95
|
namespace _delete {
|
|
96
96
|
namespace range {
|
|
97
97
|
}
|
|
98
|
-
type range = _i_imports_ast.
|
|
98
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
99
99
|
}
|
|
100
100
|
type _delete = {
|
|
101
|
-
readonly 'range': _i_imports_ast.
|
|
101
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
102
102
|
};
|
|
103
103
|
namespace insert {
|
|
104
104
|
namespace location {
|
|
105
105
|
}
|
|
106
|
-
type location = _i_imports_ast.
|
|
106
|
+
type location = _i_imports_ast._T_Relative_Location;
|
|
107
107
|
type text = string;
|
|
108
108
|
}
|
|
109
109
|
type insert = {
|
|
110
|
-
readonly 'location': _i_imports_ast.
|
|
110
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
111
111
|
readonly 'text': string;
|
|
112
112
|
};
|
|
113
113
|
namespace replace {
|
|
114
114
|
namespace range {
|
|
115
115
|
}
|
|
116
|
-
type range = _i_imports_ast.
|
|
116
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
117
117
|
type text = string;
|
|
118
118
|
}
|
|
119
119
|
type replace = {
|
|
120
|
-
readonly 'range': _i_imports_ast.
|
|
120
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
121
121
|
readonly 'text': string;
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
type SG = readonly [
|
|
125
125
|
'delete',
|
|
126
126
|
{
|
|
127
|
-
readonly 'range': _i_imports_ast.
|
|
127
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
128
128
|
}
|
|
129
129
|
] | readonly [
|
|
130
130
|
'insert',
|
|
131
131
|
{
|
|
132
|
-
readonly 'location': _i_imports_ast.
|
|
132
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
133
133
|
readonly 'text': string;
|
|
134
134
|
}
|
|
135
135
|
] | readonly [
|
|
136
136
|
'replace',
|
|
137
137
|
{
|
|
138
|
-
readonly 'range': _i_imports_ast.
|
|
138
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
139
139
|
readonly 'text': string;
|
|
140
140
|
}
|
|
141
141
|
];
|
|
@@ -143,18 +143,18 @@ export declare namespace Text_Edits {
|
|
|
143
143
|
type L = _i_core._T_State_Group<null, readonly [
|
|
144
144
|
'delete',
|
|
145
145
|
{
|
|
146
|
-
readonly 'range': _i_imports_ast.
|
|
146
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
147
147
|
}
|
|
148
148
|
] | readonly [
|
|
149
149
|
'insert',
|
|
150
150
|
{
|
|
151
|
-
readonly 'location': _i_imports_ast.
|
|
151
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
152
152
|
readonly 'text': string;
|
|
153
153
|
}
|
|
154
154
|
] | readonly [
|
|
155
155
|
'replace',
|
|
156
156
|
{
|
|
157
|
-
readonly 'range': _i_imports_ast.
|
|
157
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
158
158
|
readonly 'text': string;
|
|
159
159
|
}
|
|
160
160
|
]>;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as _i_core from "../../core/resolved";
|
|
2
|
+
import * as _i_imports_ast from "../ast/unconstrained";
|
|
3
|
+
export type _T_Key_Value_Pairs_To_Be_Sorted = _i_core._T_Dictionary<null, string>;
|
|
4
|
+
export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
5
|
+
'delete',
|
|
6
|
+
{
|
|
7
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
8
|
+
}
|
|
9
|
+
] | readonly [
|
|
10
|
+
'insert',
|
|
11
|
+
{
|
|
12
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
13
|
+
readonly 'text': string;
|
|
14
|
+
}
|
|
15
|
+
] | readonly [
|
|
16
|
+
'replace',
|
|
17
|
+
{
|
|
18
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
19
|
+
readonly 'text': string;
|
|
20
|
+
}
|
|
21
|
+
]>>;
|
|
22
|
+
export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
|
|
23
|
+
export type Text_Edits = _T_Text_Edits;
|
|
24
|
+
export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
|
|
25
|
+
type D = string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace _T_Text_Edits {
|
|
28
|
+
namespace L {
|
|
29
|
+
namespace SG {
|
|
30
|
+
namespace _delete {
|
|
31
|
+
namespace range {
|
|
32
|
+
}
|
|
33
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
34
|
+
}
|
|
35
|
+
type _delete = {
|
|
36
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
37
|
+
};
|
|
38
|
+
namespace insert {
|
|
39
|
+
namespace location {
|
|
40
|
+
}
|
|
41
|
+
type location = _i_imports_ast._T_Relative_Location;
|
|
42
|
+
type text = string;
|
|
43
|
+
}
|
|
44
|
+
type insert = {
|
|
45
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
46
|
+
readonly 'text': string;
|
|
47
|
+
};
|
|
48
|
+
namespace replace {
|
|
49
|
+
namespace range {
|
|
50
|
+
}
|
|
51
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
52
|
+
type text = string;
|
|
53
|
+
}
|
|
54
|
+
type replace = {
|
|
55
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
56
|
+
readonly 'text': string;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
type SG = readonly [
|
|
60
|
+
'delete',
|
|
61
|
+
{
|
|
62
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
63
|
+
}
|
|
64
|
+
] | readonly [
|
|
65
|
+
'insert',
|
|
66
|
+
{
|
|
67
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
68
|
+
readonly 'text': string;
|
|
69
|
+
}
|
|
70
|
+
] | readonly [
|
|
71
|
+
'replace',
|
|
72
|
+
{
|
|
73
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
74
|
+
readonly 'text': string;
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
}
|
|
78
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
79
|
+
'delete',
|
|
80
|
+
{
|
|
81
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
82
|
+
}
|
|
83
|
+
] | readonly [
|
|
84
|
+
'insert',
|
|
85
|
+
{
|
|
86
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
87
|
+
readonly 'text': string;
|
|
88
|
+
}
|
|
89
|
+
] | readonly [
|
|
90
|
+
'replace',
|
|
91
|
+
{
|
|
92
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
93
|
+
readonly 'text': string;
|
|
94
|
+
}
|
|
95
|
+
]>;
|
|
96
|
+
}
|
|
97
|
+
export declare namespace Key_Value_Pairs_To_Be_Sorted {
|
|
98
|
+
type D = string;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace Text_Edits {
|
|
101
|
+
namespace L {
|
|
102
|
+
namespace SG {
|
|
103
|
+
namespace _delete {
|
|
104
|
+
namespace range {
|
|
105
|
+
}
|
|
106
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
107
|
+
}
|
|
108
|
+
type _delete = {
|
|
109
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
110
|
+
};
|
|
111
|
+
namespace insert {
|
|
112
|
+
namespace location {
|
|
113
|
+
}
|
|
114
|
+
type location = _i_imports_ast._T_Relative_Location;
|
|
115
|
+
type text = string;
|
|
116
|
+
}
|
|
117
|
+
type insert = {
|
|
118
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
119
|
+
readonly 'text': string;
|
|
120
|
+
};
|
|
121
|
+
namespace replace {
|
|
122
|
+
namespace range {
|
|
123
|
+
}
|
|
124
|
+
type range = _i_imports_ast._T_Relative_Range;
|
|
125
|
+
type text = string;
|
|
126
|
+
}
|
|
127
|
+
type replace = {
|
|
128
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
129
|
+
readonly 'text': string;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
type SG = readonly [
|
|
133
|
+
'delete',
|
|
134
|
+
{
|
|
135
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
136
|
+
}
|
|
137
|
+
] | readonly [
|
|
138
|
+
'insert',
|
|
139
|
+
{
|
|
140
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
141
|
+
readonly 'text': string;
|
|
142
|
+
}
|
|
143
|
+
] | readonly [
|
|
144
|
+
'replace',
|
|
145
|
+
{
|
|
146
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
147
|
+
readonly 'text': string;
|
|
148
|
+
}
|
|
149
|
+
];
|
|
150
|
+
}
|
|
151
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
152
|
+
'delete',
|
|
153
|
+
{
|
|
154
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
155
|
+
}
|
|
156
|
+
] | readonly [
|
|
157
|
+
'insert',
|
|
158
|
+
{
|
|
159
|
+
readonly 'location': _i_imports_ast._T_Relative_Location;
|
|
160
|
+
readonly 'text': string;
|
|
161
|
+
}
|
|
162
|
+
] | readonly [
|
|
163
|
+
'replace',
|
|
164
|
+
{
|
|
165
|
+
readonly 'range': _i_imports_ast._T_Relative_Range;
|
|
166
|
+
readonly 'text': string;
|
|
167
|
+
}
|
|
168
|
+
]>;
|
|
169
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3VuY29uc3RyYWluZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|