astn 0.113.25 → 0.113.27
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/implementation/generated/pareto/schemas/astn_schema/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.js +3 -3
- package/dist/implementation/generated/pareto/schemas/astn_schema/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/marshall.d.ts +1 -2
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/marshall.js +4 -23
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +1 -2
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.js +4 -8
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/unmarshall.d.ts +1 -2
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/unmarshall.js +4 -16
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/token/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/token/serialize.js +1 -1
- package/dist/implementation/generated/pareto/schemas/token/unmarshall.js +1 -1
- package/dist/implementation/manual/schemas/authoring_parse_result/serializers.d.ts +2 -2
- package/dist/implementation/manual/schemas/authoring_parse_result/serializers.js +1 -1
- package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.d.ts +2 -2
- package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.js +1 -1
- package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.d.ts +1 -1
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +10 -10
- package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +2 -2
- package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +5 -5
- package/dist/implementation/manual/schemas/token/productions/annotated_character.js +1 -1
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/resolve.d.ts +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/source.d.ts +5 -30
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target.d.ts +5 -30
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/marshall.d.ts +6 -36
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/migrate_boilerplate.d.ts +8 -30
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +6 -32
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/unmarshall.d.ts +7 -37
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/source.d.ts +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target.d.ts +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/ide/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/source.d.ts +9 -47
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.d.ts +9 -47
- package/dist/interface/generated/pareto/schemas/token/data_types/resolve.js +1 -1
- package/dist/shorthands/parse_result.d.ts +2 -2
- package/dist/shorthands/parse_result.js +3 -3
- package/package.json +3 -3
|
@@ -5,13 +5,7 @@ export type _T_Value = _i_core._T_State_Group<null, readonly ['list', _i_core._T
|
|
|
5
5
|
readonly 'key': string;
|
|
6
6
|
readonly 'value': _T_Value;
|
|
7
7
|
}>
|
|
8
|
-
] | readonly [
|
|
9
|
-
'verbose group',
|
|
10
|
-
_i_core._T_List<null, {
|
|
11
|
-
readonly 'key': string;
|
|
12
|
-
readonly 'value': _T_Value;
|
|
13
|
-
}>
|
|
14
|
-
] | readonly [
|
|
8
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
15
9
|
'text',
|
|
16
10
|
{
|
|
17
11
|
readonly 'value': string;
|
|
@@ -55,21 +49,11 @@ export declare namespace _T_Value {
|
|
|
55
49
|
readonly 'value': _T_Value;
|
|
56
50
|
}>;
|
|
57
51
|
namespace verbose_group {
|
|
58
|
-
namespace
|
|
59
|
-
type key = string;
|
|
60
|
-
namespace value {
|
|
61
|
-
}
|
|
62
|
-
type value = _T_Value;
|
|
52
|
+
namespace D {
|
|
63
53
|
}
|
|
64
|
-
type
|
|
65
|
-
readonly 'key': string;
|
|
66
|
-
readonly 'value': _T_Value;
|
|
67
|
-
};
|
|
54
|
+
type D = _T_Value;
|
|
68
55
|
}
|
|
69
|
-
type verbose_group = _i_core.
|
|
70
|
-
readonly 'key': string;
|
|
71
|
-
readonly 'value': _T_Value;
|
|
72
|
-
}>;
|
|
56
|
+
type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
|
|
73
57
|
namespace text {
|
|
74
58
|
type value = string;
|
|
75
59
|
namespace delimiter {
|
|
@@ -114,13 +98,7 @@ export declare namespace _T_Value {
|
|
|
114
98
|
readonly 'key': string;
|
|
115
99
|
readonly 'value': _T_Value;
|
|
116
100
|
}>
|
|
117
|
-
] | readonly [
|
|
118
|
-
'verbose group',
|
|
119
|
-
_i_core._T_List<null, {
|
|
120
|
-
readonly 'key': string;
|
|
121
|
-
readonly 'value': _T_Value;
|
|
122
|
-
}>
|
|
123
|
-
] | readonly [
|
|
101
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
124
102
|
'text',
|
|
125
103
|
{
|
|
126
104
|
readonly 'value': string;
|
|
@@ -164,21 +142,11 @@ export declare namespace Value {
|
|
|
164
142
|
readonly 'value': _T_Value;
|
|
165
143
|
}>;
|
|
166
144
|
namespace verbose_group {
|
|
167
|
-
namespace
|
|
168
|
-
type key = string;
|
|
169
|
-
namespace value {
|
|
170
|
-
}
|
|
171
|
-
type value = _T_Value;
|
|
145
|
+
namespace D {
|
|
172
146
|
}
|
|
173
|
-
type
|
|
174
|
-
readonly 'key': string;
|
|
175
|
-
readonly 'value': _T_Value;
|
|
176
|
-
};
|
|
147
|
+
type D = _T_Value;
|
|
177
148
|
}
|
|
178
|
-
type verbose_group = _i_core.
|
|
179
|
-
readonly 'key': string;
|
|
180
|
-
readonly 'value': _T_Value;
|
|
181
|
-
}>;
|
|
149
|
+
type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
|
|
182
150
|
namespace text {
|
|
183
151
|
type value = string;
|
|
184
152
|
namespace delimiter {
|
|
@@ -223,13 +191,7 @@ export declare namespace Value {
|
|
|
223
191
|
readonly 'key': string;
|
|
224
192
|
readonly 'value': _T_Value;
|
|
225
193
|
}>
|
|
226
|
-
] | readonly [
|
|
227
|
-
'verbose group',
|
|
228
|
-
_i_core._T_List<null, {
|
|
229
|
-
readonly 'key': string;
|
|
230
|
-
readonly 'value': _T_Value;
|
|
231
|
-
}>
|
|
232
|
-
] | readonly [
|
|
194
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
233
195
|
'text',
|
|
234
196
|
{
|
|
235
197
|
readonly 'value': string;
|
|
@@ -5,13 +5,7 @@ export type _T_Value = _i_core._T_State_Group<null, readonly ['list', _i_core._T
|
|
|
5
5
|
readonly 'key': string;
|
|
6
6
|
readonly 'value': _T_Value;
|
|
7
7
|
}>
|
|
8
|
-
] | readonly [
|
|
9
|
-
'verbose group',
|
|
10
|
-
_i_core._T_List<null, {
|
|
11
|
-
readonly 'key': string;
|
|
12
|
-
readonly 'value': _T_Value;
|
|
13
|
-
}>
|
|
14
|
-
] | readonly [
|
|
8
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
15
9
|
'text',
|
|
16
10
|
{
|
|
17
11
|
readonly 'value': string;
|
|
@@ -55,21 +49,11 @@ export declare namespace _T_Value {
|
|
|
55
49
|
readonly 'value': _T_Value;
|
|
56
50
|
}>;
|
|
57
51
|
namespace verbose_group {
|
|
58
|
-
namespace
|
|
59
|
-
type key = string;
|
|
60
|
-
namespace value {
|
|
61
|
-
}
|
|
62
|
-
type value = _T_Value;
|
|
52
|
+
namespace D {
|
|
63
53
|
}
|
|
64
|
-
type
|
|
65
|
-
readonly 'key': string;
|
|
66
|
-
readonly 'value': _T_Value;
|
|
67
|
-
};
|
|
54
|
+
type D = _T_Value;
|
|
68
55
|
}
|
|
69
|
-
type verbose_group = _i_core.
|
|
70
|
-
readonly 'key': string;
|
|
71
|
-
readonly 'value': _T_Value;
|
|
72
|
-
}>;
|
|
56
|
+
type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
|
|
73
57
|
namespace text {
|
|
74
58
|
type value = string;
|
|
75
59
|
namespace delimiter {
|
|
@@ -114,13 +98,7 @@ export declare namespace _T_Value {
|
|
|
114
98
|
readonly 'key': string;
|
|
115
99
|
readonly 'value': _T_Value;
|
|
116
100
|
}>
|
|
117
|
-
] | readonly [
|
|
118
|
-
'verbose group',
|
|
119
|
-
_i_core._T_List<null, {
|
|
120
|
-
readonly 'key': string;
|
|
121
|
-
readonly 'value': _T_Value;
|
|
122
|
-
}>
|
|
123
|
-
] | readonly [
|
|
101
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
124
102
|
'text',
|
|
125
103
|
{
|
|
126
104
|
readonly 'value': string;
|
|
@@ -164,21 +142,11 @@ export declare namespace Value {
|
|
|
164
142
|
readonly 'value': _T_Value;
|
|
165
143
|
}>;
|
|
166
144
|
namespace verbose_group {
|
|
167
|
-
namespace
|
|
168
|
-
type key = string;
|
|
169
|
-
namespace value {
|
|
170
|
-
}
|
|
171
|
-
type value = _T_Value;
|
|
145
|
+
namespace D {
|
|
172
146
|
}
|
|
173
|
-
type
|
|
174
|
-
readonly 'key': string;
|
|
175
|
-
readonly 'value': _T_Value;
|
|
176
|
-
};
|
|
147
|
+
type D = _T_Value;
|
|
177
148
|
}
|
|
178
|
-
type verbose_group = _i_core.
|
|
179
|
-
readonly 'key': string;
|
|
180
|
-
readonly 'value': _T_Value;
|
|
181
|
-
}>;
|
|
149
|
+
type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
|
|
182
150
|
namespace text {
|
|
183
151
|
type value = string;
|
|
184
152
|
namespace delimiter {
|
|
@@ -223,13 +191,7 @@ export declare namespace Value {
|
|
|
223
191
|
readonly 'key': string;
|
|
224
192
|
readonly 'value': _T_Value;
|
|
225
193
|
}>
|
|
226
|
-
] | readonly [
|
|
227
|
-
'verbose group',
|
|
228
|
-
_i_core._T_List<null, {
|
|
229
|
-
readonly 'key': string;
|
|
230
|
-
readonly 'value': _T_Value;
|
|
231
|
-
}>
|
|
232
|
-
] | readonly [
|
|
194
|
+
] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>] | readonly [
|
|
233
195
|
'text',
|
|
234
196
|
{
|
|
235
197
|
readonly 'value': string;
|
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
// **** FRIENDLY NAMES FOR THE GLOBAL TYPES
|
|
5
5
|
// **** ALIASES FOR NESTED TYPE WITH PREFIXED ROOT NAMES
|
|
6
6
|
// *** ALIASES FOR NESTED TYPES
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3Rva2VuL2RhdGFfdHlwZXMvcmVzb2x2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQU1JLGFBQWE7QUFFYiwyQ0FBMkM7QUFFM0Msd0RBQXdEO0FBRXhELCtCQUErQiJ9
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as d_target from "../interface/generated/pareto/schemas/authoring_parse_result/data_types/target";
|
|
2
2
|
import * as d_target_token from "../interface/generated/pareto/schemas/token/data_types/source";
|
|
3
|
-
export declare const parse_error: (type: d_target.
|
|
4
|
-
export declare const lexer_error: (type: d_target.
|
|
3
|
+
export declare const parse_error: (type: d_target.Error._type, range: d_target_token.Range) => d_target.Error;
|
|
4
|
+
export declare const lexer_error: (type: d_target.Error._type.SG.lexer, range: d_target_token.Range) => d_target.Error;
|
|
@@ -35,8 +35,8 @@ const parse_error = (type, range) => ({
|
|
|
35
35
|
exports.parse_error = parse_error;
|
|
36
36
|
// export const unexpected_token = (
|
|
37
37
|
// found: d_target_token.Annotated_Token,
|
|
38
|
-
// expected: _pi.List<d_target.
|
|
39
|
-
// ): d_target.
|
|
38
|
+
// expected: _pi.List<d_target.Error._type.SG.parser.expected.L>,
|
|
39
|
+
// ): d_target.Error => parse_error(
|
|
40
40
|
// ['parser', {
|
|
41
41
|
// 'expected': expected,
|
|
42
42
|
// 'cause': ['unexpected token', {
|
|
@@ -56,4 +56,4 @@ const lexer_error = (type, range) => ({
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
exports.lexer_error = lexer_error;
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfcmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Nob3J0aGFuZHMvcGFyc2VfcmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNERBQTZDO0FBT3RDLE1BQU0sV0FBVyxHQUFHLENBQ3ZCLElBQTBCLEVBQzFCLEtBQTJCLEVBQ2IsRUFBRSxDQUFDLENBQUM7SUFDbEIsTUFBTSxFQUFFLElBQUk7SUFDWixPQUFPLEVBQUUsRUFBRSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUM7UUFDckIsT0FBTyxFQUFFLEtBQUssQ0FBQyxLQUFLO1FBQ3BCLEtBQUssRUFBRSxLQUFLLENBQUMsR0FBRztLQUNuQixDQUFDO0NBQ0wsQ0FBQyxDQUFBO0FBVFcsUUFBQSxXQUFXLGVBU3RCO0FBRUYsb0NBQW9DO0FBQ3BDLDZDQUE2QztBQUM3QyxxRUFBcUU7QUFDckUsb0NBQW9DO0FBQ3BDLG1CQUFtQjtBQUNuQixnQ0FBZ0M7QUFDaEMsMENBQTBDO0FBQzFDLG1DQUFtQztBQUNuQyxhQUFhO0FBQ2IsVUFBVTtBQUNWLFFBQVE7QUFDUixnQ0FBZ0M7QUFDaEMsMkJBQTJCO0FBQzNCLFFBQVE7QUFDUixJQUFJO0FBRUcsTUFBTSxXQUFXLEdBQUcsQ0FDdkIsSUFBbUMsRUFDbkMsS0FBMkIsRUFDYixFQUFFLENBQUMsQ0FBQztJQUNsQixNQUFNLEVBQUUsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDO0lBQ3ZCLE9BQU8sRUFBRSxFQUFFLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQztRQUNyQixPQUFPLEVBQUUsS0FBSyxDQUFDLEtBQUs7UUFDcEIsS0FBSyxFQUFFLEtBQUssQ0FBQyxHQUFHO0tBQ25CLENBQUM7Q0FDTCxDQUFDLENBQUE7QUFUVyxRQUFBLFdBQVcsZUFTdEIifQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astn",
|
|
3
|
-
"version": "0.113.
|
|
3
|
+
"version": "0.113.27",
|
|
4
4
|
"description": "The 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
|
"module": "./dist/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"pareto-core-refiner": "^0.1.17",
|
|
43
|
-
"pareto-fountain-pen": "^0.3.
|
|
44
|
-
"pareto-host-nodejs": "^0.1.
|
|
43
|
+
"pareto-fountain-pen": "^0.3.32",
|
|
44
|
+
"pareto-host-nodejs": "^0.1.8",
|
|
45
45
|
"pareto-json": "^0.3.10",
|
|
46
46
|
"pareto-resources": "^0.1.13",
|
|
47
47
|
"pareto-standard-operations": "^0.3.40"
|