astn 0.110.16 → 0.110.18
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/ide/migration_boilerplate.d.ts +1 -0
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +4 -2
- package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +2 -2
- 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/ide/migration_boilerplate.d.ts +24 -2
- 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/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/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,186 @@
|
|
|
1
|
+
import * as _i_core from "../../core/resolved";
|
|
2
|
+
export type _T_Document = _T_Value;
|
|
3
|
+
export type _T_Value = _i_core._T_State_Group<null, readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
4
|
+
'optional',
|
|
5
|
+
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
6
|
+
] | readonly [
|
|
7
|
+
'state',
|
|
8
|
+
{
|
|
9
|
+
readonly 'state': string;
|
|
10
|
+
readonly 'value': _T_Value;
|
|
11
|
+
}
|
|
12
|
+
] | readonly [
|
|
13
|
+
'text',
|
|
14
|
+
{
|
|
15
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
16
|
+
readonly 'value': string;
|
|
17
|
+
}
|
|
18
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>]>;
|
|
19
|
+
export type Document = _T_Document;
|
|
20
|
+
export type Value = _T_Value;
|
|
21
|
+
export declare namespace _T_Document {
|
|
22
|
+
}
|
|
23
|
+
export declare namespace _T_Value {
|
|
24
|
+
namespace SG {
|
|
25
|
+
namespace concise_group {
|
|
26
|
+
namespace L {
|
|
27
|
+
}
|
|
28
|
+
type L = _T_Value;
|
|
29
|
+
}
|
|
30
|
+
type concise_group = _i_core._T_List<null, _T_Value>;
|
|
31
|
+
namespace dictionary {
|
|
32
|
+
namespace D {
|
|
33
|
+
}
|
|
34
|
+
type D = _T_Value;
|
|
35
|
+
}
|
|
36
|
+
type dictionary = _i_core._T_Dictionary<null, _T_Value>;
|
|
37
|
+
namespace list {
|
|
38
|
+
namespace L {
|
|
39
|
+
}
|
|
40
|
+
type L = _T_Value;
|
|
41
|
+
}
|
|
42
|
+
type list = _i_core._T_List<null, _T_Value>;
|
|
43
|
+
type nothing = null;
|
|
44
|
+
namespace optional {
|
|
45
|
+
namespace SG {
|
|
46
|
+
type not_set = null;
|
|
47
|
+
namespace _set {
|
|
48
|
+
}
|
|
49
|
+
type _set = _T_Value;
|
|
50
|
+
}
|
|
51
|
+
type SG = readonly ['not set', null] | readonly ['set', _T_Value];
|
|
52
|
+
}
|
|
53
|
+
type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
|
|
54
|
+
namespace state {
|
|
55
|
+
type state = string;
|
|
56
|
+
namespace value {
|
|
57
|
+
}
|
|
58
|
+
type value = _T_Value;
|
|
59
|
+
}
|
|
60
|
+
type state = {
|
|
61
|
+
readonly 'state': string;
|
|
62
|
+
readonly 'value': _T_Value;
|
|
63
|
+
};
|
|
64
|
+
namespace text {
|
|
65
|
+
namespace delimiter {
|
|
66
|
+
namespace SG {
|
|
67
|
+
type backtick = null;
|
|
68
|
+
type none = null;
|
|
69
|
+
type quote = null;
|
|
70
|
+
}
|
|
71
|
+
type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
72
|
+
}
|
|
73
|
+
type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
74
|
+
type value = string;
|
|
75
|
+
}
|
|
76
|
+
type text = {
|
|
77
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
78
|
+
readonly 'value': string;
|
|
79
|
+
};
|
|
80
|
+
namespace verbose_group {
|
|
81
|
+
namespace D {
|
|
82
|
+
}
|
|
83
|
+
type D = _T_Value;
|
|
84
|
+
}
|
|
85
|
+
type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
|
|
86
|
+
}
|
|
87
|
+
type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
88
|
+
'optional',
|
|
89
|
+
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
90
|
+
] | readonly [
|
|
91
|
+
'state',
|
|
92
|
+
{
|
|
93
|
+
readonly 'state': string;
|
|
94
|
+
readonly 'value': _T_Value;
|
|
95
|
+
}
|
|
96
|
+
] | readonly [
|
|
97
|
+
'text',
|
|
98
|
+
{
|
|
99
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
100
|
+
readonly 'value': string;
|
|
101
|
+
}
|
|
102
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
|
|
103
|
+
}
|
|
104
|
+
export declare namespace Document {
|
|
105
|
+
}
|
|
106
|
+
export declare namespace Value {
|
|
107
|
+
namespace SG {
|
|
108
|
+
namespace concise_group {
|
|
109
|
+
namespace L {
|
|
110
|
+
}
|
|
111
|
+
type L = _T_Value;
|
|
112
|
+
}
|
|
113
|
+
type concise_group = _i_core._T_List<null, _T_Value>;
|
|
114
|
+
namespace dictionary {
|
|
115
|
+
namespace D {
|
|
116
|
+
}
|
|
117
|
+
type D = _T_Value;
|
|
118
|
+
}
|
|
119
|
+
type dictionary = _i_core._T_Dictionary<null, _T_Value>;
|
|
120
|
+
namespace list {
|
|
121
|
+
namespace L {
|
|
122
|
+
}
|
|
123
|
+
type L = _T_Value;
|
|
124
|
+
}
|
|
125
|
+
type list = _i_core._T_List<null, _T_Value>;
|
|
126
|
+
type nothing = null;
|
|
127
|
+
namespace optional {
|
|
128
|
+
namespace SG {
|
|
129
|
+
type not_set = null;
|
|
130
|
+
namespace _set {
|
|
131
|
+
}
|
|
132
|
+
type _set = _T_Value;
|
|
133
|
+
}
|
|
134
|
+
type SG = readonly ['not set', null] | readonly ['set', _T_Value];
|
|
135
|
+
}
|
|
136
|
+
type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
|
|
137
|
+
namespace state {
|
|
138
|
+
type state = string;
|
|
139
|
+
namespace value {
|
|
140
|
+
}
|
|
141
|
+
type value = _T_Value;
|
|
142
|
+
}
|
|
143
|
+
type state = {
|
|
144
|
+
readonly 'state': string;
|
|
145
|
+
readonly 'value': _T_Value;
|
|
146
|
+
};
|
|
147
|
+
namespace text {
|
|
148
|
+
namespace delimiter {
|
|
149
|
+
namespace SG {
|
|
150
|
+
type backtick = null;
|
|
151
|
+
type none = null;
|
|
152
|
+
type quote = null;
|
|
153
|
+
}
|
|
154
|
+
type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
155
|
+
}
|
|
156
|
+
type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
157
|
+
type value = string;
|
|
158
|
+
}
|
|
159
|
+
type text = {
|
|
160
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
161
|
+
readonly 'value': string;
|
|
162
|
+
};
|
|
163
|
+
namespace verbose_group {
|
|
164
|
+
namespace D {
|
|
165
|
+
}
|
|
166
|
+
type D = _T_Value;
|
|
167
|
+
}
|
|
168
|
+
type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
|
|
169
|
+
}
|
|
170
|
+
type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
|
|
171
|
+
'optional',
|
|
172
|
+
_i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
|
|
173
|
+
] | readonly [
|
|
174
|
+
'state',
|
|
175
|
+
{
|
|
176
|
+
readonly 'state': string;
|
|
177
|
+
readonly 'value': _T_Value;
|
|
178
|
+
}
|
|
179
|
+
] | readonly [
|
|
180
|
+
'text',
|
|
181
|
+
{
|
|
182
|
+
readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
|
|
183
|
+
readonly 'value': string;
|
|
184
|
+
}
|
|
185
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
|
|
186
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0L3VuY29uc3RyYWluZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,5 +1,5 @@
|
|
|
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
3
|
export type _T_Document = ($$_: _i_in._T_Document, $$_p: null) => _i_out._T_Document;
|
|
4
4
|
export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
|
|
5
5
|
export type Document = _T_Document;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as _i_core from "../../core/resolved";
|
|
2
|
+
export type _T_Document = _T_Value;
|
|
3
|
+
export type _T_Value = _i_core._T_State_Group<null, readonly ['array', _i_core._T_List<null, _T_Value>] | readonly ['boolean', boolean] | readonly ['null', null] | readonly [
|
|
4
|
+
'number',
|
|
5
|
+
_i_core._T_State_Group<null, readonly ['float', number] | readonly ['integer', number]>
|
|
6
|
+
] | readonly [
|
|
7
|
+
'object',
|
|
8
|
+
_i_core._T_State_Group<null, readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
9
|
+
'key value array',
|
|
10
|
+
_i_core._T_List<null, {
|
|
11
|
+
readonly 'key': string;
|
|
12
|
+
readonly 'value': _T_Value;
|
|
13
|
+
}>
|
|
14
|
+
]>
|
|
15
|
+
] | readonly ['string', string]>;
|
|
16
|
+
export type Document = _T_Document;
|
|
17
|
+
export type Value = _T_Value;
|
|
18
|
+
export declare namespace _T_Document {
|
|
19
|
+
}
|
|
20
|
+
export declare namespace _T_Value {
|
|
21
|
+
namespace SG {
|
|
22
|
+
namespace array {
|
|
23
|
+
namespace L {
|
|
24
|
+
}
|
|
25
|
+
type L = _T_Value;
|
|
26
|
+
}
|
|
27
|
+
type array = _i_core._T_List<null, _T_Value>;
|
|
28
|
+
type _boolean = boolean;
|
|
29
|
+
type _null = null;
|
|
30
|
+
namespace _number {
|
|
31
|
+
namespace SG {
|
|
32
|
+
type float = number;
|
|
33
|
+
type integer = number;
|
|
34
|
+
}
|
|
35
|
+
type SG = readonly ['float', number] | readonly ['integer', number];
|
|
36
|
+
}
|
|
37
|
+
type _number = _i_core._T_State_Group<null, readonly ['float', number] | readonly ['integer', number]>;
|
|
38
|
+
namespace _object {
|
|
39
|
+
namespace SG {
|
|
40
|
+
namespace dictionary {
|
|
41
|
+
namespace D {
|
|
42
|
+
}
|
|
43
|
+
type D = _T_Value;
|
|
44
|
+
}
|
|
45
|
+
type dictionary = _i_core._T_Dictionary<null, _T_Value>;
|
|
46
|
+
namespace key_value_array {
|
|
47
|
+
namespace L {
|
|
48
|
+
type key = string;
|
|
49
|
+
namespace value {
|
|
50
|
+
}
|
|
51
|
+
type value = _T_Value;
|
|
52
|
+
}
|
|
53
|
+
type L = {
|
|
54
|
+
readonly 'key': string;
|
|
55
|
+
readonly 'value': _T_Value;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
type key_value_array = _i_core._T_List<null, {
|
|
59
|
+
readonly 'key': string;
|
|
60
|
+
readonly 'value': _T_Value;
|
|
61
|
+
}>;
|
|
62
|
+
}
|
|
63
|
+
type SG = readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
64
|
+
'key value array',
|
|
65
|
+
_i_core._T_List<null, {
|
|
66
|
+
readonly 'key': string;
|
|
67
|
+
readonly 'value': _T_Value;
|
|
68
|
+
}>
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
type _object = _i_core._T_State_Group<null, readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
72
|
+
'key value array',
|
|
73
|
+
_i_core._T_List<null, {
|
|
74
|
+
readonly 'key': string;
|
|
75
|
+
readonly 'value': _T_Value;
|
|
76
|
+
}>
|
|
77
|
+
]>;
|
|
78
|
+
type _string = string;
|
|
79
|
+
}
|
|
80
|
+
type SG = readonly ['array', _i_core._T_List<null, _T_Value>] | readonly ['boolean', boolean] | readonly ['null', null] | readonly [
|
|
81
|
+
'number',
|
|
82
|
+
_i_core._T_State_Group<null, readonly ['float', number] | readonly ['integer', number]>
|
|
83
|
+
] | readonly [
|
|
84
|
+
'object',
|
|
85
|
+
_i_core._T_State_Group<null, readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
86
|
+
'key value array',
|
|
87
|
+
_i_core._T_List<null, {
|
|
88
|
+
readonly 'key': string;
|
|
89
|
+
readonly 'value': _T_Value;
|
|
90
|
+
}>
|
|
91
|
+
]>
|
|
92
|
+
] | readonly ['string', string];
|
|
93
|
+
}
|
|
94
|
+
export declare namespace Document {
|
|
95
|
+
}
|
|
96
|
+
export declare namespace Value {
|
|
97
|
+
namespace SG {
|
|
98
|
+
namespace array {
|
|
99
|
+
namespace L {
|
|
100
|
+
}
|
|
101
|
+
type L = _T_Value;
|
|
102
|
+
}
|
|
103
|
+
type array = _i_core._T_List<null, _T_Value>;
|
|
104
|
+
type _boolean = boolean;
|
|
105
|
+
type _null = null;
|
|
106
|
+
namespace _number {
|
|
107
|
+
namespace SG {
|
|
108
|
+
type float = number;
|
|
109
|
+
type integer = number;
|
|
110
|
+
}
|
|
111
|
+
type SG = readonly ['float', number] | readonly ['integer', number];
|
|
112
|
+
}
|
|
113
|
+
type _number = _i_core._T_State_Group<null, readonly ['float', number] | readonly ['integer', number]>;
|
|
114
|
+
namespace _object {
|
|
115
|
+
namespace SG {
|
|
116
|
+
namespace dictionary {
|
|
117
|
+
namespace D {
|
|
118
|
+
}
|
|
119
|
+
type D = _T_Value;
|
|
120
|
+
}
|
|
121
|
+
type dictionary = _i_core._T_Dictionary<null, _T_Value>;
|
|
122
|
+
namespace key_value_array {
|
|
123
|
+
namespace L {
|
|
124
|
+
type key = string;
|
|
125
|
+
namespace value {
|
|
126
|
+
}
|
|
127
|
+
type value = _T_Value;
|
|
128
|
+
}
|
|
129
|
+
type L = {
|
|
130
|
+
readonly 'key': string;
|
|
131
|
+
readonly 'value': _T_Value;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
type key_value_array = _i_core._T_List<null, {
|
|
135
|
+
readonly 'key': string;
|
|
136
|
+
readonly 'value': _T_Value;
|
|
137
|
+
}>;
|
|
138
|
+
}
|
|
139
|
+
type SG = readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
140
|
+
'key value array',
|
|
141
|
+
_i_core._T_List<null, {
|
|
142
|
+
readonly 'key': string;
|
|
143
|
+
readonly 'value': _T_Value;
|
|
144
|
+
}>
|
|
145
|
+
];
|
|
146
|
+
}
|
|
147
|
+
type _object = _i_core._T_State_Group<null, readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
148
|
+
'key value array',
|
|
149
|
+
_i_core._T_List<null, {
|
|
150
|
+
readonly 'key': string;
|
|
151
|
+
readonly 'value': _T_Value;
|
|
152
|
+
}>
|
|
153
|
+
]>;
|
|
154
|
+
type _string = string;
|
|
155
|
+
}
|
|
156
|
+
type SG = readonly ['array', _i_core._T_List<null, _T_Value>] | readonly ['boolean', boolean] | readonly ['null', null] | readonly [
|
|
157
|
+
'number',
|
|
158
|
+
_i_core._T_State_Group<null, readonly ['float', number] | readonly ['integer', number]>
|
|
159
|
+
] | readonly [
|
|
160
|
+
'object',
|
|
161
|
+
_i_core._T_State_Group<null, readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
162
|
+
'key value array',
|
|
163
|
+
_i_core._T_List<null, {
|
|
164
|
+
readonly 'key': string;
|
|
165
|
+
readonly 'value': _T_Value;
|
|
166
|
+
}>
|
|
167
|
+
]>
|
|
168
|
+
] | readonly ['string', string];
|
|
169
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0X2pzb24vdW5jb25zdHJhaW5lZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as d_ast from "./generated/interface/schemas/ast/
|
|
2
|
-
export * as d_ide from "./generated/interface/schemas/ide/
|
|
3
|
-
export * as d_parse_result from "./generated/interface/schemas/parse_result/
|
|
1
|
+
export * as d_ast from "./generated/interface/schemas/ast/unconstrained";
|
|
2
|
+
export * as d_ide from "./generated/interface/schemas/ide/unconstrained";
|
|
3
|
+
export * as d_parse_result from "./generated/interface/schemas/parse_result/unconstrained";
|
|
4
4
|
export * as t_parse from "./parse/parse";
|
|
5
5
|
export * as t_format from "./transformations/ast/ide";
|
|
6
6
|
export * as t_create_error_message from "./serializers/parse_result";
|
package/dist/index.js
CHANGED
|
@@ -34,10 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.t_create_error_message = exports.t_format = exports.t_parse = exports.d_parse_result = exports.d_ide = exports.d_ast = void 0;
|
|
37
|
-
exports.d_ast = __importStar(require("./generated/interface/schemas/ast/
|
|
38
|
-
exports.d_ide = __importStar(require("./generated/interface/schemas/ide/
|
|
39
|
-
exports.d_parse_result = __importStar(require("./generated/interface/schemas/parse_result/
|
|
37
|
+
exports.d_ast = __importStar(require("./generated/interface/schemas/ast/unconstrained"));
|
|
38
|
+
exports.d_ide = __importStar(require("./generated/interface/schemas/ide/unconstrained"));
|
|
39
|
+
exports.d_parse_result = __importStar(require("./generated/interface/schemas/parse_result/unconstrained"));
|
|
40
40
|
exports.t_parse = __importStar(require("./parse/parse"));
|
|
41
41
|
exports.t_format = __importStar(require("./transformations/ast/ide"));
|
|
42
42
|
exports.t_create_error_message = __importStar(require("./serializers/parse_result"));
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseUZBQXdFO0FBQ3hFLHlGQUF3RTtBQUN4RSwyR0FBMEY7QUFFMUYseURBQXdDO0FBQ3hDLHNFQUFxRDtBQUNyRCxxRkFBb0UifQ==
|
package/dist/parse/parse.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as ast from "../generated/interface/schemas/ast/
|
|
2
|
-
import * as parse_result from "../generated/interface/schemas/parse_result/
|
|
1
|
+
import * as ast from "../generated/interface/schemas/ast/unconstrained";
|
|
2
|
+
import * as parse_result from "../generated/interface/schemas/parse_result/unconstrained";
|
|
3
3
|
import * as pg from "./parse_generic";
|
|
4
4
|
export declare const String: (token_iterator: pg.Token_Iterator) => ast.String;
|
|
5
5
|
export declare const Document: (token_iterator: pg.Token_Iterator) => ast.Document;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
|
-
import * as ast from "../generated/interface/schemas/ast/
|
|
3
|
-
import * as parse_result from "../generated/interface/schemas/parse_result/
|
|
2
|
+
import * as ast from "../generated/interface/schemas/ast/unconstrained";
|
|
3
|
+
import * as parse_result from "../generated/interface/schemas/parse_result/unconstrained";
|
|
4
4
|
export declare const throw_parse_error: (type: parse_result.Parse_Error._type, range: ast.Range) => never;
|
|
5
5
|
export declare const throw_unexpected_token: (found: parse_result.Annotated_Token, expected: _et.Array<parse_result.Parse_Error._type.SG.parser.expected.L>) => never;
|
|
6
6
|
type String_Iterator = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as parse_result from "../generated/interface/schemas/parse_result/
|
|
1
|
+
import * as parse_result from "../generated/interface/schemas/parse_result/unconstrained";
|
|
2
2
|
export declare const Parse_Error_Type: ($: parse_result.Parse_Error._type) => string;
|
|
3
3
|
export declare const Parse_Error: ($: parse_result.Parse_Error, $p: {
|
|
4
4
|
"position info": ["zero based", null] | ["one based", null];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _in from "../../generated/interface/schemas/ast/
|
|
2
|
-
import * as _out from "../../generated/interface/schemas/ide/
|
|
1
|
+
import * as _in from "../../generated/interface/schemas/ast/unconstrained";
|
|
2
|
+
import * as _out from "../../generated/interface/schemas/ide/unconstrained";
|
|
3
3
|
export declare const Whitespace: ($: _in.Whitespace, $p: {
|
|
4
4
|
"remove commas": boolean;
|
|
5
5
|
"indentation string": string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _in from "../../generated/interface/schemas/ast/
|
|
2
|
-
import * as _out from "../../generated/interface/schemas/target_json/
|
|
1
|
+
import * as _in from "../../generated/interface/schemas/ast/unconstrained";
|
|
2
|
+
import * as _out from "../../generated/interface/schemas/target_json/unconstrained";
|
|
3
3
|
export declare const Document: ($: _in.Document) => _out.Document;
|
|
4
4
|
export declare const Key_Value_Pairs: ($: _in.Key_Value_Pairs) => _out.Value.SG._object.SG.key_value_array;
|
|
5
5
|
export declare const Elements: ($: _in.Elements) => _out.Value.SG.array;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as s_in from "../../generated/interface/schemas/target/
|
|
2
|
-
import * as s_out from "pareto-fountain-pen/dist/generated/interface/schemas/block/
|
|
1
|
+
import * as s_in from "../../generated/interface/schemas/target/unconstrained";
|
|
2
|
+
import * as s_out from "pareto-fountain-pen/dist/generated/interface/schemas/block/unconstrained";
|
|
3
3
|
type Style = ['concise', null] | ['verbose', null];
|
|
4
4
|
export declare const Value: ($: s_in.Value, $p: {
|
|
5
5
|
"style": Style;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as s_in from "../../generated/interface/schemas/target_json/
|
|
2
|
-
import * as s_out from "pareto-fountain-pen/dist/generated/interface/schemas/block/
|
|
1
|
+
import * as s_in from "../../generated/interface/schemas/target_json/unconstrained";
|
|
2
|
+
import * as s_out from "pareto-fountain-pen/dist/generated/interface/schemas/block/unconstrained";
|
|
3
3
|
export declare const Value: ($: s_in.Value) => s_out.Line_Part;
|
|
4
4
|
export declare const Document: ($: s_in.Document) => s_out.Block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astn",
|
|
3
|
-
"version": "0.110.
|
|
3
|
+
"version": "0.110.18",
|
|
4
4
|
"description": "A TypeScript library for parsing and formatting ASTN (Abstract Syntax Tree Notation) - a human-editable data format for structured content",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|