astn 0.110.10 → 0.110.12
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/bin/validate_astn.js +18 -8
- package/dist/generated/generic/resolve.d.ts +90 -0
- package/dist/generated/generic/resolve.js +259 -0
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +13 -0
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +174 -0
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.d.ts +2 -0
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +56 -0
- package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +6 -0
- package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +136 -0
- package/dist/generated/implementation/schemas/target/migration_boilerplate.d.ts +3 -0
- package/dist/generated/implementation/schemas/target/migration_boilerplate.js +73 -0
- package/dist/generated/interface/core/poormans_parser.d.ts +184 -0
- package/dist/generated/interface/core/poormans_parser.js +3 -0
- package/dist/generated/interface/core/resolved.d.ts +100 -0
- package/dist/generated/interface/core/resolved.js +3 -0
- package/dist/generated/interface/core/unresolved.d.ts +35 -0
- package/dist/generated/interface/core/unresolved.js +3 -0
- package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +266 -0
- package/dist/generated/interface/schemas/ast/migration_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +1087 -0
- package/dist/generated/interface/schemas/ast/poormans_parser.js +3 -0
- package/dist/generated/interface/schemas/ast/resolved.d.ts +1087 -0
- package/dist/generated/interface/schemas/ast/resolved.js +3 -0
- package/dist/generated/interface/schemas/ast/unresolved.d.ts +1087 -0
- package/dist/generated/interface/schemas/ast/unresolved.js +3 -0
- package/dist/generated/interface/schemas/ide/migration_boilerplate.d.ts +24 -0
- package/dist/generated/interface/schemas/ide/migration_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/ide/poormans_parser.d.ts +161 -0
- package/dist/generated/interface/schemas/ide/poormans_parser.js +3 -0
- package/dist/generated/interface/schemas/ide/resolved.d.ts +161 -0
- package/dist/generated/interface/schemas/ide/resolved.js +3 -0
- package/dist/generated/interface/schemas/ide/unresolved.d.ts +161 -0
- package/dist/generated/interface/schemas/ide/unresolved.js +3 -0
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +112 -0
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/parse_result/poormans_parser.d.ts +416 -0
- package/dist/generated/interface/schemas/parse_result/poormans_parser.js +3 -0
- package/dist/generated/interface/schemas/parse_result/resolved.d.ts +416 -0
- package/dist/generated/interface/schemas/parse_result/resolved.js +3 -0
- package/dist/generated/interface/schemas/parse_result/unresolved.d.ts +416 -0
- package/dist/generated/interface/schemas/parse_result/unresolved.js +3 -0
- package/dist/generated/interface/schemas/target/migration_boilerplate.d.ts +46 -0
- package/dist/generated/interface/schemas/target/migration_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/target/poormans_parser.d.ts +186 -0
- package/dist/generated/interface/schemas/target/poormans_parser.js +3 -0
- package/dist/generated/interface/schemas/target/resolved.d.ts +186 -0
- package/dist/generated/interface/schemas/target/resolved.js +3 -0
- package/dist/generated/interface/schemas/target/unresolved.d.ts +186 -0
- package/dist/generated/interface/schemas/target/unresolved.js +3 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +22 -13
- package/dist/lib/transformations/create_error_message.d.ts +2 -2
- package/dist/lib/transformations/create_error_message.js +33 -9
- package/dist/lib/transformations/format.d.ts +2 -2
- package/dist/lib/transformations/format.js +18 -14
- package/dist/lib/transformations/parse.d.ts +4 -4
- package/dist/lib/transformations/parse.js +36 -26
- package/dist/lib/transformations/parse_generic.d.ts +8 -9
- package/dist/lib/transformations/parse_generic.js +18 -8
- package/package.json +4 -2
- package/dist/create_error_message.d.ts +0 -3
- package/dist/create_error_message.js +0 -66
- package/dist/format.d.ts +0 -65
- package/dist/format.js +0 -179
- package/dist/lib/create_error_message.d.ts +0 -5
- package/dist/lib/create_error_message.js +0 -75
- package/dist/lib/format.d.ts +0 -42
- package/dist/lib/format.js +0 -172
- package/dist/lib/index.d.ts +0 -4
- package/dist/lib/index.js +0 -34
- package/dist/lib/parse.d.ts +0 -64
- package/dist/lib/parse.js +0 -865
- package/dist/lib/types/ast.d.ts +0 -121
- package/dist/lib/types/ast.js +0 -3
- package/dist/lib/types/ide.d.ts +0 -21
- package/dist/lib/types/ide.js +0 -3
- package/dist/lib/types/parse_result.d.ts +0 -30
- package/dist/lib/types/parse_result.js +0 -3
- package/dist/lib/types/tokenize_result.d.ts +0 -14
- package/dist/lib/types/tokenize_result.js +0 -3
- package/dist/lib/types.d.ts +0 -123
- package/dist/lib/types.js +0 -3
- package/dist/parse.d.ts +0 -88
- package/dist/parse.js +0 -851
- package/dist/types.d.ts +0 -127
- package/dist/types.js +0 -3
- package/dist/validate_astn.d.ts +0 -1
- package/dist/validate_astn.js +0 -45
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvYXN0L3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as _i_in from "./resolved";
|
|
2
|
+
import * as _i_out from "./unresolved";
|
|
3
|
+
export type _T_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: null) => _i_out._T_Text_Edits;
|
|
4
|
+
export type Text_Edits = _T_Text_Edits;
|
|
5
|
+
export declare namespace _T_Text_Edits {
|
|
6
|
+
namespace CONTEXT {
|
|
7
|
+
}
|
|
8
|
+
type CONTEXT = _i_in._T_Text_Edits;
|
|
9
|
+
namespace PARAMS {
|
|
10
|
+
}
|
|
11
|
+
namespace RESULT {
|
|
12
|
+
}
|
|
13
|
+
type RESULT = _i_out._T_Text_Edits;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace Text_Edits {
|
|
16
|
+
namespace CONTEXT {
|
|
17
|
+
}
|
|
18
|
+
type CONTEXT = _i_in._T_Text_Edits;
|
|
19
|
+
namespace PARAMS {
|
|
20
|
+
}
|
|
21
|
+
namespace RESULT {
|
|
22
|
+
}
|
|
23
|
+
type RESULT = _i_out._T_Text_Edits;
|
|
24
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9pZGUvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as _i_core from "../../core/poormans_parser";
|
|
2
|
+
import * as _i_imports_ast from "../ast/poormans_parser";
|
|
3
|
+
export type _T_Text_Edits<G_Source> = _i_core._T_List<G_Source, _i_core._T_State_Group<G_Source, readonly [
|
|
4
|
+
'delete',
|
|
5
|
+
{
|
|
6
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
7
|
+
}
|
|
8
|
+
] | readonly [
|
|
9
|
+
'insert',
|
|
10
|
+
{
|
|
11
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
12
|
+
readonly 'text': string;
|
|
13
|
+
}
|
|
14
|
+
] | readonly [
|
|
15
|
+
'replace',
|
|
16
|
+
{
|
|
17
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
18
|
+
readonly 'text': string;
|
|
19
|
+
}
|
|
20
|
+
]>>;
|
|
21
|
+
export type Text_Edits<G_Source> = _T_Text_Edits<G_Source>;
|
|
22
|
+
export declare namespace _T_Text_Edits {
|
|
23
|
+
namespace L {
|
|
24
|
+
namespace SG {
|
|
25
|
+
namespace _delete {
|
|
26
|
+
namespace range {
|
|
27
|
+
}
|
|
28
|
+
type range<G_Source> = _i_imports_ast._T_Range<G_Source>;
|
|
29
|
+
}
|
|
30
|
+
type _delete<G_Source> = {
|
|
31
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
32
|
+
};
|
|
33
|
+
namespace insert {
|
|
34
|
+
namespace location {
|
|
35
|
+
}
|
|
36
|
+
type location<G_Source> = _i_imports_ast._T_Location<G_Source>;
|
|
37
|
+
type text<G_Source> = string;
|
|
38
|
+
}
|
|
39
|
+
type insert<G_Source> = {
|
|
40
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
41
|
+
readonly 'text': string;
|
|
42
|
+
};
|
|
43
|
+
namespace replace {
|
|
44
|
+
namespace range {
|
|
45
|
+
}
|
|
46
|
+
type range<G_Source> = _i_imports_ast._T_Range<G_Source>;
|
|
47
|
+
type text<G_Source> = string;
|
|
48
|
+
}
|
|
49
|
+
type replace<G_Source> = {
|
|
50
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
51
|
+
readonly 'text': string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
type SG<G_Source> = readonly [
|
|
55
|
+
'delete',
|
|
56
|
+
{
|
|
57
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
58
|
+
}
|
|
59
|
+
] | readonly [
|
|
60
|
+
'insert',
|
|
61
|
+
{
|
|
62
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
63
|
+
readonly 'text': string;
|
|
64
|
+
}
|
|
65
|
+
] | readonly [
|
|
66
|
+
'replace',
|
|
67
|
+
{
|
|
68
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
69
|
+
readonly 'text': string;
|
|
70
|
+
}
|
|
71
|
+
];
|
|
72
|
+
}
|
|
73
|
+
type L<G_Source> = _i_core._T_State_Group<G_Source, readonly [
|
|
74
|
+
'delete',
|
|
75
|
+
{
|
|
76
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
77
|
+
}
|
|
78
|
+
] | readonly [
|
|
79
|
+
'insert',
|
|
80
|
+
{
|
|
81
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
82
|
+
readonly 'text': string;
|
|
83
|
+
}
|
|
84
|
+
] | readonly [
|
|
85
|
+
'replace',
|
|
86
|
+
{
|
|
87
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
88
|
+
readonly 'text': string;
|
|
89
|
+
}
|
|
90
|
+
]>;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace Text_Edits {
|
|
93
|
+
namespace L {
|
|
94
|
+
namespace SG {
|
|
95
|
+
namespace _delete {
|
|
96
|
+
namespace range {
|
|
97
|
+
}
|
|
98
|
+
type range<G_Source> = _i_imports_ast._T_Range<G_Source>;
|
|
99
|
+
}
|
|
100
|
+
type _delete<G_Source> = {
|
|
101
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
102
|
+
};
|
|
103
|
+
namespace insert {
|
|
104
|
+
namespace location {
|
|
105
|
+
}
|
|
106
|
+
type location<G_Source> = _i_imports_ast._T_Location<G_Source>;
|
|
107
|
+
type text<G_Source> = string;
|
|
108
|
+
}
|
|
109
|
+
type insert<G_Source> = {
|
|
110
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
111
|
+
readonly 'text': string;
|
|
112
|
+
};
|
|
113
|
+
namespace replace {
|
|
114
|
+
namespace range {
|
|
115
|
+
}
|
|
116
|
+
type range<G_Source> = _i_imports_ast._T_Range<G_Source>;
|
|
117
|
+
type text<G_Source> = string;
|
|
118
|
+
}
|
|
119
|
+
type replace<G_Source> = {
|
|
120
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
121
|
+
readonly 'text': string;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
type SG<G_Source> = readonly [
|
|
125
|
+
'delete',
|
|
126
|
+
{
|
|
127
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
128
|
+
}
|
|
129
|
+
] | readonly [
|
|
130
|
+
'insert',
|
|
131
|
+
{
|
|
132
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
133
|
+
readonly 'text': string;
|
|
134
|
+
}
|
|
135
|
+
] | readonly [
|
|
136
|
+
'replace',
|
|
137
|
+
{
|
|
138
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
139
|
+
readonly 'text': string;
|
|
140
|
+
}
|
|
141
|
+
];
|
|
142
|
+
}
|
|
143
|
+
type L<G_Source> = _i_core._T_State_Group<G_Source, readonly [
|
|
144
|
+
'delete',
|
|
145
|
+
{
|
|
146
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
147
|
+
}
|
|
148
|
+
] | readonly [
|
|
149
|
+
'insert',
|
|
150
|
+
{
|
|
151
|
+
readonly 'location': _i_imports_ast._T_Location<G_Source>;
|
|
152
|
+
readonly 'text': string;
|
|
153
|
+
}
|
|
154
|
+
] | readonly [
|
|
155
|
+
'replace',
|
|
156
|
+
{
|
|
157
|
+
readonly 'range': _i_imports_ast._T_Range<G_Source>;
|
|
158
|
+
readonly 'text': string;
|
|
159
|
+
}
|
|
160
|
+
]>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vcm1hbnNfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9pZGUvcG9vcm1hbnNfcGFyc2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as _i_core from "../../core/resolved";
|
|
2
|
+
import * as _i_imports_ast from "../ast/resolved";
|
|
3
|
+
export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
4
|
+
'delete',
|
|
5
|
+
{
|
|
6
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
7
|
+
}
|
|
8
|
+
] | readonly [
|
|
9
|
+
'insert',
|
|
10
|
+
{
|
|
11
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
12
|
+
readonly 'text': string;
|
|
13
|
+
}
|
|
14
|
+
] | readonly [
|
|
15
|
+
'replace',
|
|
16
|
+
{
|
|
17
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
18
|
+
readonly 'text': string;
|
|
19
|
+
}
|
|
20
|
+
]>>;
|
|
21
|
+
export type Text_Edits = _T_Text_Edits;
|
|
22
|
+
export declare namespace _T_Text_Edits {
|
|
23
|
+
namespace L {
|
|
24
|
+
namespace SG {
|
|
25
|
+
namespace _delete {
|
|
26
|
+
namespace range {
|
|
27
|
+
}
|
|
28
|
+
type range = _i_imports_ast._T_Range;
|
|
29
|
+
}
|
|
30
|
+
type _delete = {
|
|
31
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
32
|
+
};
|
|
33
|
+
namespace insert {
|
|
34
|
+
namespace location {
|
|
35
|
+
}
|
|
36
|
+
type location = _i_imports_ast._T_Location;
|
|
37
|
+
type text = string;
|
|
38
|
+
}
|
|
39
|
+
type insert = {
|
|
40
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
41
|
+
readonly 'text': string;
|
|
42
|
+
};
|
|
43
|
+
namespace replace {
|
|
44
|
+
namespace range {
|
|
45
|
+
}
|
|
46
|
+
type range = _i_imports_ast._T_Range;
|
|
47
|
+
type text = string;
|
|
48
|
+
}
|
|
49
|
+
type replace = {
|
|
50
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
51
|
+
readonly 'text': string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
type SG = readonly [
|
|
55
|
+
'delete',
|
|
56
|
+
{
|
|
57
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
58
|
+
}
|
|
59
|
+
] | readonly [
|
|
60
|
+
'insert',
|
|
61
|
+
{
|
|
62
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
63
|
+
readonly 'text': string;
|
|
64
|
+
}
|
|
65
|
+
] | readonly [
|
|
66
|
+
'replace',
|
|
67
|
+
{
|
|
68
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
69
|
+
readonly 'text': string;
|
|
70
|
+
}
|
|
71
|
+
];
|
|
72
|
+
}
|
|
73
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
74
|
+
'delete',
|
|
75
|
+
{
|
|
76
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
77
|
+
}
|
|
78
|
+
] | readonly [
|
|
79
|
+
'insert',
|
|
80
|
+
{
|
|
81
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
82
|
+
readonly 'text': string;
|
|
83
|
+
}
|
|
84
|
+
] | readonly [
|
|
85
|
+
'replace',
|
|
86
|
+
{
|
|
87
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
88
|
+
readonly 'text': string;
|
|
89
|
+
}
|
|
90
|
+
]>;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace Text_Edits {
|
|
93
|
+
namespace L {
|
|
94
|
+
namespace SG {
|
|
95
|
+
namespace _delete {
|
|
96
|
+
namespace range {
|
|
97
|
+
}
|
|
98
|
+
type range = _i_imports_ast._T_Range;
|
|
99
|
+
}
|
|
100
|
+
type _delete = {
|
|
101
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
102
|
+
};
|
|
103
|
+
namespace insert {
|
|
104
|
+
namespace location {
|
|
105
|
+
}
|
|
106
|
+
type location = _i_imports_ast._T_Location;
|
|
107
|
+
type text = string;
|
|
108
|
+
}
|
|
109
|
+
type insert = {
|
|
110
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
111
|
+
readonly 'text': string;
|
|
112
|
+
};
|
|
113
|
+
namespace replace {
|
|
114
|
+
namespace range {
|
|
115
|
+
}
|
|
116
|
+
type range = _i_imports_ast._T_Range;
|
|
117
|
+
type text = string;
|
|
118
|
+
}
|
|
119
|
+
type replace = {
|
|
120
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
121
|
+
readonly 'text': string;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
type SG = readonly [
|
|
125
|
+
'delete',
|
|
126
|
+
{
|
|
127
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
128
|
+
}
|
|
129
|
+
] | readonly [
|
|
130
|
+
'insert',
|
|
131
|
+
{
|
|
132
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
133
|
+
readonly 'text': string;
|
|
134
|
+
}
|
|
135
|
+
] | readonly [
|
|
136
|
+
'replace',
|
|
137
|
+
{
|
|
138
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
139
|
+
readonly 'text': string;
|
|
140
|
+
}
|
|
141
|
+
];
|
|
142
|
+
}
|
|
143
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
144
|
+
'delete',
|
|
145
|
+
{
|
|
146
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
147
|
+
}
|
|
148
|
+
] | readonly [
|
|
149
|
+
'insert',
|
|
150
|
+
{
|
|
151
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
152
|
+
readonly 'text': string;
|
|
153
|
+
}
|
|
154
|
+
] | readonly [
|
|
155
|
+
'replace',
|
|
156
|
+
{
|
|
157
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
158
|
+
readonly 'text': string;
|
|
159
|
+
}
|
|
160
|
+
]>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL2lkZS9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as _i_core from "../../core/unresolved";
|
|
2
|
+
import * as _i_imports_ast from "../ast/unresolved";
|
|
3
|
+
export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
4
|
+
'delete',
|
|
5
|
+
{
|
|
6
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
7
|
+
}
|
|
8
|
+
] | readonly [
|
|
9
|
+
'insert',
|
|
10
|
+
{
|
|
11
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
12
|
+
readonly 'text': string;
|
|
13
|
+
}
|
|
14
|
+
] | readonly [
|
|
15
|
+
'replace',
|
|
16
|
+
{
|
|
17
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
18
|
+
readonly 'text': string;
|
|
19
|
+
}
|
|
20
|
+
]>>;
|
|
21
|
+
export type Text_Edits = _T_Text_Edits;
|
|
22
|
+
export declare namespace _T_Text_Edits {
|
|
23
|
+
namespace L {
|
|
24
|
+
namespace SG {
|
|
25
|
+
namespace _delete {
|
|
26
|
+
namespace range {
|
|
27
|
+
}
|
|
28
|
+
type range = _i_imports_ast._T_Range;
|
|
29
|
+
}
|
|
30
|
+
type _delete = {
|
|
31
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
32
|
+
};
|
|
33
|
+
namespace insert {
|
|
34
|
+
namespace location {
|
|
35
|
+
}
|
|
36
|
+
type location = _i_imports_ast._T_Location;
|
|
37
|
+
type text = string;
|
|
38
|
+
}
|
|
39
|
+
type insert = {
|
|
40
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
41
|
+
readonly 'text': string;
|
|
42
|
+
};
|
|
43
|
+
namespace replace {
|
|
44
|
+
namespace range {
|
|
45
|
+
}
|
|
46
|
+
type range = _i_imports_ast._T_Range;
|
|
47
|
+
type text = string;
|
|
48
|
+
}
|
|
49
|
+
type replace = {
|
|
50
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
51
|
+
readonly 'text': string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
type SG = readonly [
|
|
55
|
+
'delete',
|
|
56
|
+
{
|
|
57
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
58
|
+
}
|
|
59
|
+
] | readonly [
|
|
60
|
+
'insert',
|
|
61
|
+
{
|
|
62
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
63
|
+
readonly 'text': string;
|
|
64
|
+
}
|
|
65
|
+
] | readonly [
|
|
66
|
+
'replace',
|
|
67
|
+
{
|
|
68
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
69
|
+
readonly 'text': string;
|
|
70
|
+
}
|
|
71
|
+
];
|
|
72
|
+
}
|
|
73
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
74
|
+
'delete',
|
|
75
|
+
{
|
|
76
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
77
|
+
}
|
|
78
|
+
] | readonly [
|
|
79
|
+
'insert',
|
|
80
|
+
{
|
|
81
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
82
|
+
readonly 'text': string;
|
|
83
|
+
}
|
|
84
|
+
] | readonly [
|
|
85
|
+
'replace',
|
|
86
|
+
{
|
|
87
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
88
|
+
readonly 'text': string;
|
|
89
|
+
}
|
|
90
|
+
]>;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace Text_Edits {
|
|
93
|
+
namespace L {
|
|
94
|
+
namespace SG {
|
|
95
|
+
namespace _delete {
|
|
96
|
+
namespace range {
|
|
97
|
+
}
|
|
98
|
+
type range = _i_imports_ast._T_Range;
|
|
99
|
+
}
|
|
100
|
+
type _delete = {
|
|
101
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
102
|
+
};
|
|
103
|
+
namespace insert {
|
|
104
|
+
namespace location {
|
|
105
|
+
}
|
|
106
|
+
type location = _i_imports_ast._T_Location;
|
|
107
|
+
type text = string;
|
|
108
|
+
}
|
|
109
|
+
type insert = {
|
|
110
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
111
|
+
readonly 'text': string;
|
|
112
|
+
};
|
|
113
|
+
namespace replace {
|
|
114
|
+
namespace range {
|
|
115
|
+
}
|
|
116
|
+
type range = _i_imports_ast._T_Range;
|
|
117
|
+
type text = string;
|
|
118
|
+
}
|
|
119
|
+
type replace = {
|
|
120
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
121
|
+
readonly 'text': string;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
type SG = readonly [
|
|
125
|
+
'delete',
|
|
126
|
+
{
|
|
127
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
128
|
+
}
|
|
129
|
+
] | readonly [
|
|
130
|
+
'insert',
|
|
131
|
+
{
|
|
132
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
133
|
+
readonly 'text': string;
|
|
134
|
+
}
|
|
135
|
+
] | readonly [
|
|
136
|
+
'replace',
|
|
137
|
+
{
|
|
138
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
139
|
+
readonly 'text': string;
|
|
140
|
+
}
|
|
141
|
+
];
|
|
142
|
+
}
|
|
143
|
+
type L = _i_core._T_State_Group<null, readonly [
|
|
144
|
+
'delete',
|
|
145
|
+
{
|
|
146
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
147
|
+
}
|
|
148
|
+
] | readonly [
|
|
149
|
+
'insert',
|
|
150
|
+
{
|
|
151
|
+
readonly 'location': _i_imports_ast._T_Location;
|
|
152
|
+
readonly 'text': string;
|
|
153
|
+
}
|
|
154
|
+
] | readonly [
|
|
155
|
+
'replace',
|
|
156
|
+
{
|
|
157
|
+
readonly 'range': _i_imports_ast._T_Range;
|
|
158
|
+
readonly 'text': string;
|
|
159
|
+
}
|
|
160
|
+
]>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as _i_in from "./resolved";
|
|
2
|
+
import * as _i_out from "./unresolved";
|
|
3
|
+
export type _T_Annotated_Token = ($$_: _i_in._T_Annotated_Token, $$_p: null) => _i_out._T_Annotated_Token;
|
|
4
|
+
export type _T_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: null) => _i_out._T_Parse_Error;
|
|
5
|
+
export type _T_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: null) => _i_out._T_Parse_Result;
|
|
6
|
+
export type _T_Token_Type = ($$_: _i_in._T_Token_Type, $$_p: null) => _i_out._T_Token_Type;
|
|
7
|
+
export type _T_Tokenizer_Result = ($$_: _i_in._T_Tokenizer_Result, $$_p: null) => _i_out._T_Tokenizer_Result;
|
|
8
|
+
export type Annotated_Token = _T_Annotated_Token;
|
|
9
|
+
export type Parse_Error = _T_Parse_Error;
|
|
10
|
+
export type Parse_Result = _T_Parse_Result;
|
|
11
|
+
export type Token_Type = _T_Token_Type;
|
|
12
|
+
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
13
|
+
export declare namespace _T_Annotated_Token {
|
|
14
|
+
namespace CONTEXT {
|
|
15
|
+
}
|
|
16
|
+
type CONTEXT = _i_in._T_Annotated_Token;
|
|
17
|
+
namespace PARAMS {
|
|
18
|
+
}
|
|
19
|
+
namespace RESULT {
|
|
20
|
+
}
|
|
21
|
+
type RESULT = _i_out._T_Annotated_Token;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace _T_Parse_Error {
|
|
24
|
+
namespace CONTEXT {
|
|
25
|
+
}
|
|
26
|
+
type CONTEXT = _i_in._T_Parse_Error;
|
|
27
|
+
namespace PARAMS {
|
|
28
|
+
}
|
|
29
|
+
namespace RESULT {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = _i_out._T_Parse_Error;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace _T_Parse_Result {
|
|
34
|
+
namespace CONTEXT {
|
|
35
|
+
}
|
|
36
|
+
type CONTEXT = _i_in._T_Parse_Result;
|
|
37
|
+
namespace PARAMS {
|
|
38
|
+
}
|
|
39
|
+
namespace RESULT {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = _i_out._T_Parse_Result;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace _T_Token_Type {
|
|
44
|
+
namespace CONTEXT {
|
|
45
|
+
}
|
|
46
|
+
type CONTEXT = _i_in._T_Token_Type;
|
|
47
|
+
namespace PARAMS {
|
|
48
|
+
}
|
|
49
|
+
namespace RESULT {
|
|
50
|
+
}
|
|
51
|
+
type RESULT = _i_out._T_Token_Type;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace _T_Tokenizer_Result {
|
|
54
|
+
namespace CONTEXT {
|
|
55
|
+
}
|
|
56
|
+
type CONTEXT = _i_in._T_Tokenizer_Result;
|
|
57
|
+
namespace PARAMS {
|
|
58
|
+
}
|
|
59
|
+
namespace RESULT {
|
|
60
|
+
}
|
|
61
|
+
type RESULT = _i_out._T_Tokenizer_Result;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace Annotated_Token {
|
|
64
|
+
namespace CONTEXT {
|
|
65
|
+
}
|
|
66
|
+
type CONTEXT = _i_in._T_Annotated_Token;
|
|
67
|
+
namespace PARAMS {
|
|
68
|
+
}
|
|
69
|
+
namespace RESULT {
|
|
70
|
+
}
|
|
71
|
+
type RESULT = _i_out._T_Annotated_Token;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace Parse_Error {
|
|
74
|
+
namespace CONTEXT {
|
|
75
|
+
}
|
|
76
|
+
type CONTEXT = _i_in._T_Parse_Error;
|
|
77
|
+
namespace PARAMS {
|
|
78
|
+
}
|
|
79
|
+
namespace RESULT {
|
|
80
|
+
}
|
|
81
|
+
type RESULT = _i_out._T_Parse_Error;
|
|
82
|
+
}
|
|
83
|
+
export declare namespace Parse_Result {
|
|
84
|
+
namespace CONTEXT {
|
|
85
|
+
}
|
|
86
|
+
type CONTEXT = _i_in._T_Parse_Result;
|
|
87
|
+
namespace PARAMS {
|
|
88
|
+
}
|
|
89
|
+
namespace RESULT {
|
|
90
|
+
}
|
|
91
|
+
type RESULT = _i_out._T_Parse_Result;
|
|
92
|
+
}
|
|
93
|
+
export declare namespace Token_Type {
|
|
94
|
+
namespace CONTEXT {
|
|
95
|
+
}
|
|
96
|
+
type CONTEXT = _i_in._T_Token_Type;
|
|
97
|
+
namespace PARAMS {
|
|
98
|
+
}
|
|
99
|
+
namespace RESULT {
|
|
100
|
+
}
|
|
101
|
+
type RESULT = _i_out._T_Token_Type;
|
|
102
|
+
}
|
|
103
|
+
export declare namespace Tokenizer_Result {
|
|
104
|
+
namespace CONTEXT {
|
|
105
|
+
}
|
|
106
|
+
type CONTEXT = _i_in._T_Tokenizer_Result;
|
|
107
|
+
namespace PARAMS {
|
|
108
|
+
}
|
|
109
|
+
namespace RESULT {
|
|
110
|
+
}
|
|
111
|
+
type RESULT = _i_out._T_Tokenizer_Result;
|
|
112
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9wYXJzZV9yZXN1bHQvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|