astn 0.113.30 → 0.113.31
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/manual/schemas/authoring_parse_result/serializers.d.ts +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 +20 -8
- package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.d.ts +2 -2
- package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.js +2 -7
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +15 -15
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +39 -39
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.d.ts +2 -2
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.js +24 -24
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.d.ts +1 -1
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.js +21 -21
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.d.ts +1 -1
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.js +21 -21
- package/dist/implementation/manual/schemas/authoring_target/transformers/fountain_pen_block.js +139 -106
- package/dist/implementation/manual/schemas/sealed_target/serializers.d.ts +1 -1
- package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.d.ts +2 -2
- package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +30 -25
- package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +3 -3
- package/dist/implementation/manual/schemas/token/productions/annotated_character.js +7 -7
- package/dist/implementation/manual/text_to_text/convert_to_json.js +2 -2
- package/dist/interface/generated/pareto/schemas/astn_schema/data/resolved.d.ts +150 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/data/resolved.js +3 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/data/unresolved.d.ts +270 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/data/unresolved.js +3 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +2 -2
- package/dist/interface/generated/pareto/schemas/astn_schema/resolve.d.ts +192 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/resolve.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/data.d.ts +102 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/data.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +2 -2
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.d.ts +71 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.js +3 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/resolve.d.ts +1 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/resolve.js +3 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/source.d.ts +63 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/source.js +3 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/target.d.ts +63 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data_types/target.js +3 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/deserialize.d.ts +9 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.d.ts +31 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.js +3 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/serialize.d.ts +9 -0
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/ide/data.d.ts +43 -0
- package/dist/interface/generated/pareto/schemas/ide/data.js +3 -0
- package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +2 -2
- package/dist/interface/generated/pareto/schemas/parse_tree/data.d.ts +182 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data.js +3 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data_types/resolve.d.ts +1 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data_types/resolve.js +3 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data_types/source.d.ts +183 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data_types/source.js +3 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data_types/target.d.ts +183 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/data_types/target.js +3 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/deserialize.d.ts +58 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.d.ts +52 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.js +3 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/serialize.d.ts +58 -0
- package/dist/interface/generated/pareto/schemas/parse_tree/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/data.d.ts +48 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/data.js +3 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +2 -2
- package/dist/interface/generated/pareto/schemas/token/data.d.ts +119 -0
- package/dist/interface/generated/pareto/schemas/token/data.js +3 -0
- package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +11 -11
- package/dist/interface/signatures/transformers/authoring_parse_tree/ide.d.ts +3 -3
- package/dist/interface/signatures/transformers/authoring_parse_tree/json_target.d.ts +2 -2
- package/dist/interface/signatures/transformers/authoring_parse_tree/token.d.ts +2 -2
- package/dist/interface/signatures/transformers/authoring_target/fountain_pen_block.d.ts +2 -2
- package/dist/interface/signatures/transformers/parse_tree/ide.d.ts +17 -0
- package/dist/interface/signatures/transformers/parse_tree/ide.js +3 -0
- package/dist/interface/signatures/transformers/parse_tree/json_target.d.ts +7 -0
- package/dist/interface/signatures/transformers/parse_tree/json_target.js +3 -0
- package/dist/interface/signatures/transformers/parse_tree/token.d.ts +4 -0
- package/dist/interface/signatures/transformers/parse_tree/token.js +3 -0
- package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +3 -3
- package/dist/modules/pareto-json/implementation/manual/schemas/json/serializers.d.ts +1 -1
- package/dist/modules/pareto-json/implementation/manual/schemas/json/transformers/fountain_pen_block.d.ts +2 -2
- package/dist/modules/pareto-json/shorthands/json.d.ts +1 -1
- package/dist/shorthands/parse_result.d.ts +3 -4
- package/dist/shorthands/parse_result.js +9 -15
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
import * as d_in from "../../../generated/pareto/schemas/parse_tree/data";
|
|
3
|
+
import * as d_out from "pareto-json/dist/interface/generated/pareto/schemas/json/data";
|
|
4
|
+
export type Value = _pi.Transformer<d_in.Value, d_out.Value>;
|
|
5
|
+
export type Key_Value_Pairs = _pi.Transformer<d_in.Key_Value_Pairs, d_out.Value._object.key_value_array>;
|
|
6
|
+
export type Elements = _pi.Transformer<d_in.Elements, d_out.Value.array>;
|
|
7
|
+
export type Document = _pi.Transformer<d_in.Document, d_out.Document>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbl90YXJnZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3NpZ25hdHVyZXMvdHJhbnNmb3JtZXJzL3BhcnNlX3RyZWUvanNvbl90YXJnZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3NpZ25hdHVyZXMvdHJhbnNmb3JtZXJzL3BhcnNlX3RyZWUvdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as d_path from "pareto-resources/dist/interface/generated/pareto/schemas/path/
|
|
2
|
-
import * as d_read_file from "pareto-resources/dist/interface/generated/pareto/schemas/read_file/
|
|
3
|
-
import * as d_write_file from "pareto-resources/dist/interface/generated/pareto/schemas/write_file/
|
|
1
|
+
import * as d_path from "pareto-resources/dist/interface/generated/pareto/schemas/path/data";
|
|
2
|
+
import * as d_read_file from "pareto-resources/dist/interface/generated/pareto/schemas/read_file/data";
|
|
3
|
+
import * as d_write_file from "pareto-resources/dist/interface/generated/pareto/schemas/write_file/data";
|
|
4
4
|
export type Path_Error = ['missing', null] | ['not valid', null];
|
|
5
5
|
export type Error = ['in path', Path_Error] | ['out path', Path_Error] | ['too many arguments', null];
|
|
6
6
|
export type Command_Error = ['command line arguments', Error] | ['reading file', d_read_file.Error] | ['deserializing', string] | ['writing file', d_write_file.Error];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as d_in from "../../../../interface/generated/pareto/schemas/json/
|
|
1
|
+
import * as d_in from "../../../../interface/generated/pareto/schemas/json/data";
|
|
2
2
|
export declare const Document: ($: d_in.Document, $p: {
|
|
3
3
|
"indentation": string;
|
|
4
4
|
"newline": string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as d_in from "../../../../../interface/generated/pareto/schemas/json/
|
|
2
|
-
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/
|
|
1
|
+
import * as d_in from "../../../../../interface/generated/pareto/schemas/json/data";
|
|
2
|
+
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data";
|
|
3
3
|
export declare const Value: ($: d_in.Value) => d_out.Block_Part;
|
|
4
4
|
export declare const Document: ($: d_in.Document) => d_out.Group;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _p from 'pareto-core-shorthands/dist/unconstrained';
|
|
2
|
-
import * as d_out from "../interface/generated/pareto/schemas/json/
|
|
2
|
+
import * as d_out from "../interface/generated/pareto/schemas/json/data";
|
|
3
3
|
export declare namespace v {
|
|
4
4
|
const string: (value: string) => d_out.Value;
|
|
5
5
|
const null_: () => d_out.Value;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as d_target from "../interface/generated/pareto/schemas/
|
|
2
|
-
import * as d_target_token from "../interface/generated/pareto/schemas/token/
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const lexer_error: (type: d_target.Error._type.lexer, range: d_target_token.Range) => d_target.Error;
|
|
1
|
+
import * as d_target from "../interface/generated/pareto/schemas/deserialize_parse_tree/data";
|
|
2
|
+
import * as d_target_token from "../interface/generated/pareto/schemas/token/data";
|
|
3
|
+
export declare const lexer_error: (type: d_target.Lexer_Error._type, range: d_target_token.Range) => d_target.Error;
|
|
@@ -23,16 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.lexer_error =
|
|
26
|
+
exports.lexer_error = void 0;
|
|
27
27
|
const _p = __importStar(require("pareto-core-transformer"));
|
|
28
|
-
const parse_error = (type, range) => ({
|
|
29
|
-
'type': type,
|
|
30
|
-
'range': _p.optional.set({
|
|
31
|
-
'start': range.start,
|
|
32
|
-
'end': range.end,
|
|
33
|
-
})
|
|
34
|
-
});
|
|
35
|
-
exports.parse_error = parse_error;
|
|
36
28
|
// export const unexpected_token = (
|
|
37
29
|
// found: d_target_token.Annotated_Token,
|
|
38
30
|
// expected: _pi.List<d_target.Error._type.SG.parser.expected.L>,
|
|
@@ -49,11 +41,13 @@ exports.parse_error = parse_error;
|
|
|
49
41
|
// }
|
|
50
42
|
// )
|
|
51
43
|
const lexer_error = (type, range) => ({
|
|
52
|
-
'type': ['lexer',
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
44
|
+
'type': ['lexer', {
|
|
45
|
+
'type': type,
|
|
46
|
+
'range': _p.optional.set({
|
|
47
|
+
'start': range.start,
|
|
48
|
+
'end': range.end,
|
|
49
|
+
}),
|
|
50
|
+
}],
|
|
57
51
|
});
|
|
58
52
|
exports.lexer_error = lexer_error;
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfcmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Nob3J0aGFuZHMvcGFyc2VfcmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNERBQTZDO0FBTzdDLG9DQUFvQztBQUNwQyw2Q0FBNkM7QUFDN0MscUVBQXFFO0FBQ3JFLG9DQUFvQztBQUNwQyxtQkFBbUI7QUFDbkIsZ0NBQWdDO0FBQ2hDLDBDQUEwQztBQUMxQyxtQ0FBbUM7QUFDbkMsYUFBYTtBQUNiLFVBQVU7QUFDVixRQUFRO0FBQ1IsZ0NBQWdDO0FBQ2hDLDJCQUEyQjtBQUMzQixRQUFRO0FBQ1IsSUFBSTtBQUVHLE1BQU0sV0FBVyxHQUFHLENBQ3ZCLElBQWdDLEVBQ2hDLEtBQTJCLEVBQ2IsRUFBRSxDQUFDLENBQUM7SUFDbEIsTUFBTSxFQUFFLENBQUMsT0FBTyxFQUFFO1lBQ2QsTUFBTSxFQUFFLElBQUk7WUFDWixPQUFPLEVBQUUsRUFBRSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUM7Z0JBQ3JCLE9BQU8sRUFBRSxLQUFLLENBQUMsS0FBSztnQkFDcEIsS0FBSyxFQUFFLEtBQUssQ0FBQyxHQUFHO2FBQ25CLENBQUM7U0FDTCxDQUFDO0NBQ0wsQ0FBQyxDQUFBO0FBWFcsUUFBQSxXQUFXLGVBV3RCIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astn",
|
|
3
|
-
"version": "0.113.
|
|
3
|
+
"version": "0.113.31",
|
|
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",
|