astn 0.110.19 → 0.110.21
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/convert_to_json.js +10 -20
- package/dist/bin/validate_astn.js +9 -19
- package/dist/generated/{generic → implementation/generic}/resolve.d.ts +17 -26
- package/dist/generated/implementation/generic/resolve.js +251 -0
- package/dist/generated/implementation/generic/unmarshall.d.ts +37 -0
- package/dist/generated/implementation/generic/unmarshall.js +168 -0
- package/dist/generated/implementation/schemas/ast/marshall.d.ts +7 -0
- package/dist/generated/implementation/schemas/ast/marshall.js +227 -0
- package/dist/generated/implementation/schemas/ast/unmarshall.d.ts +7 -0
- package/dist/generated/implementation/schemas/ast/unmarshall.js +239 -0
- package/dist/generated/implementation/schemas/ide/marshall.d.ts +4 -0
- package/dist/generated/implementation/schemas/ide/marshall.js +81 -0
- package/dist/generated/implementation/schemas/ide/{migration_boilerplate.d.ts → unmarshall.d.ts} +2 -1
- package/dist/generated/implementation/schemas/ide/unmarshall.js +79 -0
- package/dist/generated/implementation/schemas/parse_result/marshall.d.ts +3 -0
- package/dist/generated/implementation/schemas/parse_result/marshall.js +184 -0
- package/dist/generated/implementation/schemas/parse_result/unmarshall.d.ts +3 -0
- package/dist/generated/implementation/schemas/parse_result/unmarshall.js +103 -0
- package/dist/generated/implementation/schemas/target/marshall.d.ts +3 -0
- package/dist/generated/implementation/schemas/target/marshall.js +122 -0
- package/dist/generated/implementation/schemas/target/{migration_boilerplate.d.ts → unmarshall.d.ts} +1 -1
- package/dist/generated/implementation/schemas/target/unmarshall.js +81 -0
- package/dist/generated/implementation/schemas/token/marshall.d.ts +11 -0
- package/dist/generated/implementation/schemas/token/marshall.js +230 -0
- package/dist/generated/implementation/schemas/token/unmarshall.d.ts +11 -0
- package/dist/generated/implementation/schemas/token/unmarshall.js +180 -0
- package/dist/generated/interface/core/astn_source.d.ts +116 -0
- package/dist/generated/interface/core/astn_source.js +3 -0
- package/dist/generated/interface/core/astn_target.d.ts +186 -0
- package/dist/generated/interface/core/astn_target.js +3 -0
- package/dist/generated/interface/core/resolve.d.ts +11 -0
- package/dist/generated/interface/core/resolve.js +3 -0
- package/dist/generated/interface/core/unconstrained.d.ts +19 -0
- package/dist/generated/interface/core/unconstrained.js +3 -0
- package/dist/generated/interface/core/unresolved.d.ts +162 -13
- package/dist/generated/interface/schemas/ast/marshall.d.ts +226 -0
- package/dist/generated/interface/schemas/ast/marshall.js +3 -0
- package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +134 -0
- package/dist/generated/interface/schemas/ast/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/ast/unconstrained.d.ts +20 -210
- package/dist/generated/interface/schemas/ast/unmarshall.d.ts +134 -0
- package/dist/generated/interface/schemas/ast/unmarshall.js +3 -0
- package/dist/generated/interface/schemas/ide/marshall.d.ts +136 -0
- package/dist/generated/interface/schemas/ide/marshall.js +3 -0
- package/dist/generated/interface/schemas/ide/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +22 -0
- package/dist/generated/interface/schemas/ide/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/ide/unconstrained.d.ts +50 -29
- package/dist/generated/interface/schemas/ide/unmarshall.d.ts +68 -0
- package/dist/generated/interface/schemas/ide/unmarshall.js +3 -0
- package/dist/generated/interface/schemas/parse_result/marshall.d.ts +106 -0
- package/dist/generated/interface/schemas/parse_result/marshall.js +3 -0
- package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.d.ts +46 -0
- package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/parse_result/unconstrained.d.ts +20 -168
- package/dist/generated/interface/schemas/parse_result/unmarshall.d.ts +46 -0
- package/dist/generated/interface/schemas/parse_result/unmarshall.js +3 -0
- package/dist/generated/interface/schemas/target/marshall.d.ts +126 -0
- package/dist/generated/interface/schemas/target/marshall.js +3 -0
- package/dist/generated/interface/schemas/target/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/target/unconstrained.d.ts +1 -1
- package/dist/generated/interface/schemas/{target_json/migration_boilerplate.d.ts → target/unmarshall.d.ts} +4 -4
- package/dist/generated/interface/schemas/target/unmarshall.js +3 -0
- package/dist/generated/interface/schemas/token/marshall.d.ts +346 -0
- package/dist/generated/interface/schemas/token/marshall.js +3 -0
- package/dist/generated/interface/schemas/{ast/migration_boilerplate.d.ts → token/migrate_boilerplate.d.ts} +38 -104
- package/dist/generated/interface/schemas/token/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/token/unconstrained.d.ts +326 -0
- package/dist/generated/interface/schemas/{target_json → token}/unconstrained.js +1 -1
- package/dist/generated/interface/schemas/token/unmarshall.d.ts +222 -0
- package/dist/generated/interface/schemas/token/unmarshall.js +3 -0
- package/dist/parse/ast.d.ts +10 -0
- package/dist/parse/ast.js +227 -0
- package/dist/parse/astn_parse_generic.d.ts +8 -0
- package/dist/parse/astn_parse_generic.js +65 -0
- package/dist/parse/parse.d.ts +3 -10
- package/dist/parse/parse.js +19 -226
- package/dist/parse/string_iterator.d.ts +47 -0
- package/dist/parse/string_iterator.js +139 -0
- package/dist/parse/token.d.ts +9 -0
- package/dist/parse/token.js +506 -0
- package/dist/serializers/parse_result.js +8 -18
- package/dist/transformations/ast/ide.d.ts +3 -2
- package/dist/transformations/ast/ide.js +8 -18
- package/dist/transformations/ast/json_target.d.ts +1 -1
- package/dist/transformations/ast/json_target.js +8 -18
- package/dist/transformations/target/fountain_pen_block.js +10 -20
- package/package.json +5 -7
- package/dist/generated/generic/resolve.js +0 -259
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +0 -14
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -179
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +0 -58
- package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +0 -6
- package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +0 -136
- package/dist/generated/implementation/schemas/target/migration_boilerplate.js +0 -73
- package/dist/generated/implementation/schemas/target_json/migration_boilerplate.d.ts +0 -3
- package/dist/generated/implementation/schemas/target_json/migration_boilerplate.js +0 -67
- package/dist/generated/interface/core/poormans_parser.d.ts +0 -184
- package/dist/generated/interface/core/poormans_parser.js +0 -3
- package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/ide/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +0 -112
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/target/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/target_json/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +0 -169
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -43
- package/dist/parse/parse_generic.d.ts +0 -43
- package/dist/parse/parse_generic.js +0 -656
- package/dist/serializers/json.d.ts +0 -5
- package/dist/serializers/json.js +0 -46
- package/dist/transformations/target_json/fountain_pen_block.d.ts +0 -4
- package/dist/transformations/target_json/fountain_pen_block.js +0 -101
- /package/dist/generated/interface/schemas/target/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +0 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as _i_in from "./unconstrained";
|
|
2
|
+
import * as _i_out from "../../core/astn_target";
|
|
3
|
+
export type _T_Value_Serializers = {
|
|
4
|
+
readonly 'boolean': ($$_: boolean, $$_p: null) => string;
|
|
5
|
+
readonly 'custom numbers': null;
|
|
6
|
+
readonly 'default number': ($$_: number, $$_p: null) => string;
|
|
7
|
+
};
|
|
8
|
+
export type _T_s_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Key_Value_Pairs_To_Be_Sorted, $$_p: {
|
|
9
|
+
readonly 'value serializers': _T_Value_Serializers;
|
|
10
|
+
}) => _i_out._T_Value;
|
|
11
|
+
export type _T_s_Relative_Range = ($$_: _i_in._T_Relative_Range, $$_p: {
|
|
12
|
+
readonly 'value serializers': _T_Value_Serializers;
|
|
13
|
+
}) => _i_out._T_Value;
|
|
14
|
+
export type _T_s_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: {
|
|
15
|
+
readonly 'value serializers': _T_Value_Serializers;
|
|
16
|
+
}) => _i_out._T_Value;
|
|
17
|
+
export type Value_Serializers = _T_Value_Serializers;
|
|
18
|
+
export type s_Key_Value_Pairs_To_Be_Sorted = _T_s_Key_Value_Pairs_To_Be_Sorted;
|
|
19
|
+
export type s_Relative_Range = _T_s_Relative_Range;
|
|
20
|
+
export type s_Text_Edits = _T_s_Text_Edits;
|
|
21
|
+
export declare namespace _T_Value_Serializers {
|
|
22
|
+
namespace _boolean {
|
|
23
|
+
type CONTEXT = boolean;
|
|
24
|
+
namespace PARAMS {
|
|
25
|
+
}
|
|
26
|
+
type RESULT = string;
|
|
27
|
+
}
|
|
28
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
29
|
+
namespace custom_numbers {
|
|
30
|
+
}
|
|
31
|
+
type custom_numbers = null;
|
|
32
|
+
namespace default_number {
|
|
33
|
+
type CONTEXT = number;
|
|
34
|
+
namespace PARAMS {
|
|
35
|
+
}
|
|
36
|
+
type RESULT = string;
|
|
37
|
+
}
|
|
38
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace _T_s_Key_Value_Pairs_To_Be_Sorted {
|
|
41
|
+
namespace CONTEXT {
|
|
42
|
+
}
|
|
43
|
+
type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
|
|
44
|
+
namespace PARAMS {
|
|
45
|
+
namespace value_serializers {
|
|
46
|
+
}
|
|
47
|
+
type value_serializers = _T_Value_Serializers;
|
|
48
|
+
}
|
|
49
|
+
namespace RESULT {
|
|
50
|
+
}
|
|
51
|
+
type RESULT = _i_out._T_Value;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace _T_s_Relative_Range {
|
|
54
|
+
namespace CONTEXT {
|
|
55
|
+
}
|
|
56
|
+
type CONTEXT = _i_in._T_Relative_Range;
|
|
57
|
+
namespace PARAMS {
|
|
58
|
+
namespace value_serializers {
|
|
59
|
+
}
|
|
60
|
+
type value_serializers = _T_Value_Serializers;
|
|
61
|
+
}
|
|
62
|
+
namespace RESULT {
|
|
63
|
+
}
|
|
64
|
+
type RESULT = _i_out._T_Value;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace _T_s_Text_Edits {
|
|
67
|
+
namespace CONTEXT {
|
|
68
|
+
}
|
|
69
|
+
type CONTEXT = _i_in._T_Text_Edits;
|
|
70
|
+
namespace PARAMS {
|
|
71
|
+
namespace value_serializers {
|
|
72
|
+
}
|
|
73
|
+
type value_serializers = _T_Value_Serializers;
|
|
74
|
+
}
|
|
75
|
+
namespace RESULT {
|
|
76
|
+
}
|
|
77
|
+
type RESULT = _i_out._T_Value;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace Value_Serializers {
|
|
80
|
+
namespace _boolean {
|
|
81
|
+
type CONTEXT = boolean;
|
|
82
|
+
namespace PARAMS {
|
|
83
|
+
}
|
|
84
|
+
type RESULT = string;
|
|
85
|
+
}
|
|
86
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
87
|
+
namespace custom_numbers {
|
|
88
|
+
}
|
|
89
|
+
type custom_numbers = null;
|
|
90
|
+
namespace default_number {
|
|
91
|
+
type CONTEXT = number;
|
|
92
|
+
namespace PARAMS {
|
|
93
|
+
}
|
|
94
|
+
type RESULT = string;
|
|
95
|
+
}
|
|
96
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace s_Key_Value_Pairs_To_Be_Sorted {
|
|
99
|
+
namespace CONTEXT {
|
|
100
|
+
}
|
|
101
|
+
type CONTEXT = _i_in._T_Key_Value_Pairs_To_Be_Sorted;
|
|
102
|
+
namespace PARAMS {
|
|
103
|
+
namespace value_serializers {
|
|
104
|
+
}
|
|
105
|
+
type value_serializers = _T_Value_Serializers;
|
|
106
|
+
}
|
|
107
|
+
namespace RESULT {
|
|
108
|
+
}
|
|
109
|
+
type RESULT = _i_out._T_Value;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace s_Relative_Range {
|
|
112
|
+
namespace CONTEXT {
|
|
113
|
+
}
|
|
114
|
+
type CONTEXT = _i_in._T_Relative_Range;
|
|
115
|
+
namespace PARAMS {
|
|
116
|
+
namespace value_serializers {
|
|
117
|
+
}
|
|
118
|
+
type value_serializers = _T_Value_Serializers;
|
|
119
|
+
}
|
|
120
|
+
namespace RESULT {
|
|
121
|
+
}
|
|
122
|
+
type RESULT = _i_out._T_Value;
|
|
123
|
+
}
|
|
124
|
+
export declare namespace s_Text_Edits {
|
|
125
|
+
namespace CONTEXT {
|
|
126
|
+
}
|
|
127
|
+
type CONTEXT = _i_in._T_Text_Edits;
|
|
128
|
+
namespace PARAMS {
|
|
129
|
+
namespace value_serializers {
|
|
130
|
+
}
|
|
131
|
+
type value_serializers = _T_Value_Serializers;
|
|
132
|
+
}
|
|
133
|
+
namespace RESULT {
|
|
134
|
+
}
|
|
135
|
+
type RESULT = _i_out._T_Value;
|
|
136
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFyc2hhbGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL2lkZS9tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
package/dist/generated/interface/schemas/ide/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts}
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as _i_in from "./unconstrained";
|
|
2
2
|
import * as _i_out from "./unconstrained";
|
|
3
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;
|
|
4
|
+
export type _T_Relative_Range = ($$_: _i_in._T_Relative_Range, $$_p: null) => _i_out._T_Relative_Range;
|
|
4
5
|
export type _T_Text_Edits = ($$_: _i_in._T_Text_Edits, $$_p: null) => _i_out._T_Text_Edits;
|
|
5
6
|
export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
|
|
7
|
+
export type Relative_Range = _T_Relative_Range;
|
|
6
8
|
export type Text_Edits = _T_Text_Edits;
|
|
7
9
|
export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
|
|
8
10
|
namespace CONTEXT {
|
|
@@ -14,6 +16,16 @@ export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
|
|
|
14
16
|
}
|
|
15
17
|
type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
16
18
|
}
|
|
19
|
+
export declare namespace _T_Relative_Range {
|
|
20
|
+
namespace CONTEXT {
|
|
21
|
+
}
|
|
22
|
+
type CONTEXT = _i_in._T_Relative_Range;
|
|
23
|
+
namespace PARAMS {
|
|
24
|
+
}
|
|
25
|
+
namespace RESULT {
|
|
26
|
+
}
|
|
27
|
+
type RESULT = _i_out._T_Relative_Range;
|
|
28
|
+
}
|
|
17
29
|
export declare namespace _T_Text_Edits {
|
|
18
30
|
namespace CONTEXT {
|
|
19
31
|
}
|
|
@@ -34,6 +46,16 @@ export declare namespace Key_Value_Pairs_To_Be_Sorted {
|
|
|
34
46
|
}
|
|
35
47
|
type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
36
48
|
}
|
|
49
|
+
export declare namespace Relative_Range {
|
|
50
|
+
namespace CONTEXT {
|
|
51
|
+
}
|
|
52
|
+
type CONTEXT = _i_in._T_Relative_Range;
|
|
53
|
+
namespace PARAMS {
|
|
54
|
+
}
|
|
55
|
+
namespace RESULT {
|
|
56
|
+
}
|
|
57
|
+
type RESULT = _i_out._T_Relative_Range;
|
|
58
|
+
}
|
|
37
59
|
export declare namespace Text_Edits {
|
|
38
60
|
namespace CONTEXT {
|
|
39
61
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL21pZ3JhdGVfYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,76 +1,89 @@
|
|
|
1
|
-
import * as _i_core from "../../core/
|
|
2
|
-
import * as
|
|
1
|
+
import * as _i_core from "../../core/unconstrained";
|
|
2
|
+
import * as _i_imports_token from "../token/unconstrained";
|
|
3
3
|
export type _T_Key_Value_Pairs_To_Be_Sorted = _i_core._T_Dictionary<null, string>;
|
|
4
|
+
export type _T_Relative_Range = {
|
|
5
|
+
readonly 'end': _i_imports_token._T_Relative_Location;
|
|
6
|
+
readonly 'start': _i_imports_token._T_Relative_Location;
|
|
7
|
+
};
|
|
4
8
|
export type _T_Text_Edits = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
5
9
|
'delete',
|
|
6
10
|
{
|
|
7
|
-
readonly 'range':
|
|
11
|
+
readonly 'range': _T_Relative_Range;
|
|
8
12
|
}
|
|
9
13
|
] | readonly [
|
|
10
14
|
'insert',
|
|
11
15
|
{
|
|
12
|
-
readonly 'location':
|
|
16
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
13
17
|
readonly 'text': string;
|
|
14
18
|
}
|
|
15
19
|
] | readonly [
|
|
16
20
|
'replace',
|
|
17
21
|
{
|
|
18
|
-
readonly 'range':
|
|
22
|
+
readonly 'range': _T_Relative_Range;
|
|
19
23
|
readonly 'text': string;
|
|
20
24
|
}
|
|
21
25
|
]>>;
|
|
22
26
|
export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
|
|
27
|
+
export type Relative_Range = _T_Relative_Range;
|
|
23
28
|
export type Text_Edits = _T_Text_Edits;
|
|
24
29
|
export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
|
|
25
30
|
type D = string;
|
|
26
31
|
}
|
|
32
|
+
export declare namespace _T_Relative_Range {
|
|
33
|
+
namespace end {
|
|
34
|
+
}
|
|
35
|
+
type end = _i_imports_token._T_Relative_Location;
|
|
36
|
+
namespace start {
|
|
37
|
+
}
|
|
38
|
+
type start = _i_imports_token._T_Relative_Location;
|
|
39
|
+
}
|
|
27
40
|
export declare namespace _T_Text_Edits {
|
|
28
41
|
namespace L {
|
|
29
42
|
namespace SG {
|
|
30
43
|
namespace _delete {
|
|
31
44
|
namespace range {
|
|
32
45
|
}
|
|
33
|
-
type range =
|
|
46
|
+
type range = _T_Relative_Range;
|
|
34
47
|
}
|
|
35
48
|
type _delete = {
|
|
36
|
-
readonly 'range':
|
|
49
|
+
readonly 'range': _T_Relative_Range;
|
|
37
50
|
};
|
|
38
51
|
namespace insert {
|
|
39
52
|
namespace location {
|
|
40
53
|
}
|
|
41
|
-
type location =
|
|
54
|
+
type location = _i_imports_token._T_Relative_Location;
|
|
42
55
|
type text = string;
|
|
43
56
|
}
|
|
44
57
|
type insert = {
|
|
45
|
-
readonly 'location':
|
|
58
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
46
59
|
readonly 'text': string;
|
|
47
60
|
};
|
|
48
61
|
namespace replace {
|
|
49
62
|
namespace range {
|
|
50
63
|
}
|
|
51
|
-
type range =
|
|
64
|
+
type range = _T_Relative_Range;
|
|
52
65
|
type text = string;
|
|
53
66
|
}
|
|
54
67
|
type replace = {
|
|
55
|
-
readonly 'range':
|
|
68
|
+
readonly 'range': _T_Relative_Range;
|
|
56
69
|
readonly 'text': string;
|
|
57
70
|
};
|
|
58
71
|
}
|
|
59
72
|
type SG = readonly [
|
|
60
73
|
'delete',
|
|
61
74
|
{
|
|
62
|
-
readonly 'range':
|
|
75
|
+
readonly 'range': _T_Relative_Range;
|
|
63
76
|
}
|
|
64
77
|
] | readonly [
|
|
65
78
|
'insert',
|
|
66
79
|
{
|
|
67
|
-
readonly 'location':
|
|
80
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
68
81
|
readonly 'text': string;
|
|
69
82
|
}
|
|
70
83
|
] | readonly [
|
|
71
84
|
'replace',
|
|
72
85
|
{
|
|
73
|
-
readonly 'range':
|
|
86
|
+
readonly 'range': _T_Relative_Range;
|
|
74
87
|
readonly 'text': string;
|
|
75
88
|
}
|
|
76
89
|
];
|
|
@@ -78,18 +91,18 @@ export declare namespace _T_Text_Edits {
|
|
|
78
91
|
type L = _i_core._T_State_Group<null, readonly [
|
|
79
92
|
'delete',
|
|
80
93
|
{
|
|
81
|
-
readonly 'range':
|
|
94
|
+
readonly 'range': _T_Relative_Range;
|
|
82
95
|
}
|
|
83
96
|
] | readonly [
|
|
84
97
|
'insert',
|
|
85
98
|
{
|
|
86
|
-
readonly 'location':
|
|
99
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
87
100
|
readonly 'text': string;
|
|
88
101
|
}
|
|
89
102
|
] | readonly [
|
|
90
103
|
'replace',
|
|
91
104
|
{
|
|
92
|
-
readonly 'range':
|
|
105
|
+
readonly 'range': _T_Relative_Range;
|
|
93
106
|
readonly 'text': string;
|
|
94
107
|
}
|
|
95
108
|
]>;
|
|
@@ -97,53 +110,61 @@ export declare namespace _T_Text_Edits {
|
|
|
97
110
|
export declare namespace Key_Value_Pairs_To_Be_Sorted {
|
|
98
111
|
type D = string;
|
|
99
112
|
}
|
|
113
|
+
export declare namespace Relative_Range {
|
|
114
|
+
namespace end {
|
|
115
|
+
}
|
|
116
|
+
type end = _i_imports_token._T_Relative_Location;
|
|
117
|
+
namespace start {
|
|
118
|
+
}
|
|
119
|
+
type start = _i_imports_token._T_Relative_Location;
|
|
120
|
+
}
|
|
100
121
|
export declare namespace Text_Edits {
|
|
101
122
|
namespace L {
|
|
102
123
|
namespace SG {
|
|
103
124
|
namespace _delete {
|
|
104
125
|
namespace range {
|
|
105
126
|
}
|
|
106
|
-
type range =
|
|
127
|
+
type range = _T_Relative_Range;
|
|
107
128
|
}
|
|
108
129
|
type _delete = {
|
|
109
|
-
readonly 'range':
|
|
130
|
+
readonly 'range': _T_Relative_Range;
|
|
110
131
|
};
|
|
111
132
|
namespace insert {
|
|
112
133
|
namespace location {
|
|
113
134
|
}
|
|
114
|
-
type location =
|
|
135
|
+
type location = _i_imports_token._T_Relative_Location;
|
|
115
136
|
type text = string;
|
|
116
137
|
}
|
|
117
138
|
type insert = {
|
|
118
|
-
readonly 'location':
|
|
139
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
119
140
|
readonly 'text': string;
|
|
120
141
|
};
|
|
121
142
|
namespace replace {
|
|
122
143
|
namespace range {
|
|
123
144
|
}
|
|
124
|
-
type range =
|
|
145
|
+
type range = _T_Relative_Range;
|
|
125
146
|
type text = string;
|
|
126
147
|
}
|
|
127
148
|
type replace = {
|
|
128
|
-
readonly 'range':
|
|
149
|
+
readonly 'range': _T_Relative_Range;
|
|
129
150
|
readonly 'text': string;
|
|
130
151
|
};
|
|
131
152
|
}
|
|
132
153
|
type SG = readonly [
|
|
133
154
|
'delete',
|
|
134
155
|
{
|
|
135
|
-
readonly 'range':
|
|
156
|
+
readonly 'range': _T_Relative_Range;
|
|
136
157
|
}
|
|
137
158
|
] | readonly [
|
|
138
159
|
'insert',
|
|
139
160
|
{
|
|
140
|
-
readonly 'location':
|
|
161
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
141
162
|
readonly 'text': string;
|
|
142
163
|
}
|
|
143
164
|
] | readonly [
|
|
144
165
|
'replace',
|
|
145
166
|
{
|
|
146
|
-
readonly 'range':
|
|
167
|
+
readonly 'range': _T_Relative_Range;
|
|
147
168
|
readonly 'text': string;
|
|
148
169
|
}
|
|
149
170
|
];
|
|
@@ -151,18 +172,18 @@ export declare namespace Text_Edits {
|
|
|
151
172
|
type L = _i_core._T_State_Group<null, readonly [
|
|
152
173
|
'delete',
|
|
153
174
|
{
|
|
154
|
-
readonly 'range':
|
|
175
|
+
readonly 'range': _T_Relative_Range;
|
|
155
176
|
}
|
|
156
177
|
] | readonly [
|
|
157
178
|
'insert',
|
|
158
179
|
{
|
|
159
|
-
readonly 'location':
|
|
180
|
+
readonly 'location': _i_imports_token._T_Relative_Location;
|
|
160
181
|
readonly 'text': string;
|
|
161
182
|
}
|
|
162
183
|
] | readonly [
|
|
163
184
|
'replace',
|
|
164
185
|
{
|
|
165
|
-
readonly 'range':
|
|
186
|
+
readonly 'range': _T_Relative_Range;
|
|
166
187
|
readonly 'text': string;
|
|
167
188
|
}
|
|
168
189
|
]>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as _i_in from "../../core/astn_source";
|
|
2
|
+
import * as _i_out from "./unconstrained";
|
|
3
|
+
export type _T_Key_Value_Pairs_To_Be_Sorted = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
4
|
+
export type _T_Relative_Range = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Relative_Range;
|
|
5
|
+
export type _T_Text_Edits = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Text_Edits;
|
|
6
|
+
export type Key_Value_Pairs_To_Be_Sorted = _T_Key_Value_Pairs_To_Be_Sorted;
|
|
7
|
+
export type Relative_Range = _T_Relative_Range;
|
|
8
|
+
export type Text_Edits = _T_Text_Edits;
|
|
9
|
+
export declare namespace _T_Key_Value_Pairs_To_Be_Sorted {
|
|
10
|
+
namespace CONTEXT {
|
|
11
|
+
}
|
|
12
|
+
type CONTEXT = _i_in._T_Value;
|
|
13
|
+
namespace PARAMS {
|
|
14
|
+
}
|
|
15
|
+
namespace RESULT {
|
|
16
|
+
}
|
|
17
|
+
type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace _T_Relative_Range {
|
|
20
|
+
namespace CONTEXT {
|
|
21
|
+
}
|
|
22
|
+
type CONTEXT = _i_in._T_Value;
|
|
23
|
+
namespace PARAMS {
|
|
24
|
+
}
|
|
25
|
+
namespace RESULT {
|
|
26
|
+
}
|
|
27
|
+
type RESULT = _i_out._T_Relative_Range;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace _T_Text_Edits {
|
|
30
|
+
namespace CONTEXT {
|
|
31
|
+
}
|
|
32
|
+
type CONTEXT = _i_in._T_Value;
|
|
33
|
+
namespace PARAMS {
|
|
34
|
+
}
|
|
35
|
+
namespace RESULT {
|
|
36
|
+
}
|
|
37
|
+
type RESULT = _i_out._T_Text_Edits;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace Key_Value_Pairs_To_Be_Sorted {
|
|
40
|
+
namespace CONTEXT {
|
|
41
|
+
}
|
|
42
|
+
type CONTEXT = _i_in._T_Value;
|
|
43
|
+
namespace PARAMS {
|
|
44
|
+
}
|
|
45
|
+
namespace RESULT {
|
|
46
|
+
}
|
|
47
|
+
type RESULT = _i_out._T_Key_Value_Pairs_To_Be_Sorted;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace Relative_Range {
|
|
50
|
+
namespace CONTEXT {
|
|
51
|
+
}
|
|
52
|
+
type CONTEXT = _i_in._T_Value;
|
|
53
|
+
namespace PARAMS {
|
|
54
|
+
}
|
|
55
|
+
namespace RESULT {
|
|
56
|
+
}
|
|
57
|
+
type RESULT = _i_out._T_Relative_Range;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace Text_Edits {
|
|
60
|
+
namespace CONTEXT {
|
|
61
|
+
}
|
|
62
|
+
type CONTEXT = _i_in._T_Value;
|
|
63
|
+
namespace PARAMS {
|
|
64
|
+
}
|
|
65
|
+
namespace RESULT {
|
|
66
|
+
}
|
|
67
|
+
type RESULT = _i_out._T_Text_Edits;
|
|
68
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5tYXJzaGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvaWRlL3VubWFyc2hhbGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as _i_in from "./unconstrained";
|
|
2
|
+
import * as _i_out from "../../core/astn_target";
|
|
3
|
+
export type _T_Value_Serializers = {
|
|
4
|
+
readonly 'boolean': ($$_: boolean, $$_p: null) => string;
|
|
5
|
+
readonly 'custom numbers': null;
|
|
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;
|
|
10
|
+
}) => _i_out._T_Value;
|
|
11
|
+
export type _T_s_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: {
|
|
12
|
+
readonly 'value serializers': _T_Value_Serializers;
|
|
13
|
+
}) => _i_out._T_Value;
|
|
14
|
+
export type Value_Serializers = _T_Value_Serializers;
|
|
15
|
+
export type s_Parse_Error = _T_s_Parse_Error;
|
|
16
|
+
export type s_Parse_Result = _T_s_Parse_Result;
|
|
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 {
|
|
37
|
+
namespace CONTEXT {
|
|
38
|
+
}
|
|
39
|
+
type CONTEXT = _i_in._T_Parse_Error;
|
|
40
|
+
namespace PARAMS {
|
|
41
|
+
namespace value_serializers {
|
|
42
|
+
}
|
|
43
|
+
type value_serializers = _T_Value_Serializers;
|
|
44
|
+
}
|
|
45
|
+
namespace RESULT {
|
|
46
|
+
}
|
|
47
|
+
type RESULT = _i_out._T_Value;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace _T_s_Parse_Result {
|
|
50
|
+
namespace CONTEXT {
|
|
51
|
+
}
|
|
52
|
+
type CONTEXT = _i_in._T_Parse_Result;
|
|
53
|
+
namespace PARAMS {
|
|
54
|
+
namespace value_serializers {
|
|
55
|
+
}
|
|
56
|
+
type value_serializers = _T_Value_Serializers;
|
|
57
|
+
}
|
|
58
|
+
namespace RESULT {
|
|
59
|
+
}
|
|
60
|
+
type RESULT = _i_out._T_Value;
|
|
61
|
+
}
|
|
62
|
+
export declare namespace Value_Serializers {
|
|
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 {
|
|
82
|
+
namespace CONTEXT {
|
|
83
|
+
}
|
|
84
|
+
type CONTEXT = _i_in._T_Parse_Error;
|
|
85
|
+
namespace PARAMS {
|
|
86
|
+
namespace value_serializers {
|
|
87
|
+
}
|
|
88
|
+
type value_serializers = _T_Value_Serializers;
|
|
89
|
+
}
|
|
90
|
+
namespace RESULT {
|
|
91
|
+
}
|
|
92
|
+
type RESULT = _i_out._T_Value;
|
|
93
|
+
}
|
|
94
|
+
export declare namespace s_Parse_Result {
|
|
95
|
+
namespace CONTEXT {
|
|
96
|
+
}
|
|
97
|
+
type CONTEXT = _i_in._T_Parse_Result;
|
|
98
|
+
namespace PARAMS {
|
|
99
|
+
namespace value_serializers {
|
|
100
|
+
}
|
|
101
|
+
type value_serializers = _T_Value_Serializers;
|
|
102
|
+
}
|
|
103
|
+
namespace RESULT {
|
|
104
|
+
}
|
|
105
|
+
type RESULT = _i_out._T_Value;
|
|
106
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFyc2hhbGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3BhcnNlX3Jlc3VsdC9tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as _i_in from "./unconstrained";
|
|
2
|
+
import * as _i_out from "./unconstrained";
|
|
3
|
+
export type _T_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: null) => _i_out._T_Parse_Error;
|
|
4
|
+
export type _T_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: null) => _i_out._T_Parse_Result;
|
|
5
|
+
export type Parse_Error = _T_Parse_Error;
|
|
6
|
+
export type Parse_Result = _T_Parse_Result;
|
|
7
|
+
export declare namespace _T_Parse_Error {
|
|
8
|
+
namespace CONTEXT {
|
|
9
|
+
}
|
|
10
|
+
type CONTEXT = _i_in._T_Parse_Error;
|
|
11
|
+
namespace PARAMS {
|
|
12
|
+
}
|
|
13
|
+
namespace RESULT {
|
|
14
|
+
}
|
|
15
|
+
type RESULT = _i_out._T_Parse_Error;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace _T_Parse_Result {
|
|
18
|
+
namespace CONTEXT {
|
|
19
|
+
}
|
|
20
|
+
type CONTEXT = _i_in._T_Parse_Result;
|
|
21
|
+
namespace PARAMS {
|
|
22
|
+
}
|
|
23
|
+
namespace RESULT {
|
|
24
|
+
}
|
|
25
|
+
type RESULT = _i_out._T_Parse_Result;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace Parse_Error {
|
|
28
|
+
namespace CONTEXT {
|
|
29
|
+
}
|
|
30
|
+
type CONTEXT = _i_in._T_Parse_Error;
|
|
31
|
+
namespace PARAMS {
|
|
32
|
+
}
|
|
33
|
+
namespace RESULT {
|
|
34
|
+
}
|
|
35
|
+
type RESULT = _i_out._T_Parse_Error;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace Parse_Result {
|
|
38
|
+
namespace CONTEXT {
|
|
39
|
+
}
|
|
40
|
+
type CONTEXT = _i_in._T_Parse_Result;
|
|
41
|
+
namespace PARAMS {
|
|
42
|
+
}
|
|
43
|
+
namespace RESULT {
|
|
44
|
+
}
|
|
45
|
+
type RESULT = _i_out._T_Parse_Result;
|
|
46
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvcGFyc2VfcmVzdWx0L21pZ3JhdGVfYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|