astn 0.113.20 → 0.113.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 +7 -9
- package/dist/bin/validate_astn.js +7 -9
- package/dist/implementation/generated/pareto/generic/parse/ast.js +35 -35
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.js +2 -2
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.js +30 -7
- package/dist/implementation/generated/pareto/generic/parse/token.js +10 -10
- package/dist/implementation/generated/pareto/generic/serialize.js +5 -5
- package/dist/implementation/generated/pareto/generic/unmarshall.d.ts +26 -26
- package/dist/implementation/generated/pareto/generic/unmarshall.js +31 -40
- package/dist/implementation/generated/pareto/schemas/astn_schema/marshall.js +28 -28
- package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.js +78 -78
- package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.js +21 -21
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/marshall.js +11 -11
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/unmarshall.js +11 -11
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.js +61 -61
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.js +46 -46
- package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.js +17 -17
- package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.js +14 -14
- package/dist/implementation/generated/pareto/schemas/ide/marshall.js +13 -13
- package/dist/implementation/generated/pareto/schemas/ide/unmarshall.js +9 -9
- package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.js +15 -15
- package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.js +12 -12
- package/dist/implementation/generated/pareto/schemas/token/marshall.js +34 -34
- package/dist/implementation/generated/pareto/schemas/token/unmarshall.js +27 -27
- package/dist/implementation/manual/commands/convert_to_json.d.ts +2 -2
- package/dist/implementation/manual/commands/convert_to_json.js +5 -54
- package/dist/implementation/manual/commands/validate_astn.d.ts +2 -2
- package/dist/implementation/manual/commands/validate_astn.js +5 -54
- package/dist/implementation/manual/create_stream_to_stream_command.d.ts +3 -0
- package/dist/implementation/manual/create_stream_to_stream_command.js +53 -0
- package/dist/implementation/manual/primitives/text/serializers/apostrophed.d.ts +6 -4
- package/dist/implementation/manual/primitives/text/serializers/apostrophed.js +4 -4
- package/dist/implementation/manual/primitives/text/serializers/backticked.d.ts +6 -4
- package/dist/implementation/manual/primitives/text/serializers/backticked.js +4 -4
- package/dist/implementation/manual/primitives/text/serializers/quoted.d.ts +6 -4
- package/dist/implementation/manual/primitives/text/serializers/quoted.js +4 -4
- package/dist/implementation/manual/schemas/annotated_characters/deserializers.d.ts +1 -0
- package/dist/implementation/manual/schemas/annotated_characters/deserializers.js +130 -67
- package/dist/implementation/manual/schemas/authoring_parse_result/serializers.d.ts +5 -0
- package/dist/implementation/manual/schemas/authoring_parse_result/serializers.js +35 -0
- package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.d.ts +10 -0
- package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.js +85 -0
- package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.js +10 -8
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +18 -8
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +174 -250
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.js +118 -132
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.js +45 -53
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.js +57 -59
- package/dist/implementation/manual/schemas/authoring_target/transformers/fountain_pen_block.js +112 -119
- package/dist/implementation/manual/schemas/parse_result/serializers.d.ts +9 -4
- package/dist/implementation/manual/schemas/parse_result/serializers.js +22 -29
- package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +76 -77
- package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +5 -6
- package/dist/implementation/manual/schemas/token/productions/annotated_character.js +174 -181
- package/dist/implementation/manual/text_to_text/convert_to_json.d.ts +2 -0
- package/dist/implementation/manual/text_to_text/convert_to_json.js +45 -0
- package/dist/implementation/manual/text_to_text/validate_astn.d.ts +2 -0
- package/dist/implementation/manual/text_to_text/validate_astn.js +37 -0
- 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_tree/data_types/resolve.js +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/token/data_types/resolve.js +1 -1
- package/dist/interface/signatures/transformers/authoring_parse_tree/json_target.d.ts +1 -1
- package/dist/interface/signatures.d.ts +0 -14
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.d.ts +6 -0
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.js +59 -0
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.d.ts +3 -0
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.js +53 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +4 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.js +33 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +4 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.js +37 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.d.ts +4 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.js +59 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/transform_file/serializers.d.ts +2 -0
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/transform_file/serializers.js +39 -0
- package/dist/modules/common_tool_signatures/interface/signatures.d.ts +18 -0
- package/dist/modules/common_tool_signatures/interface/signatures.js +3 -0
- package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +11 -0
- package/dist/modules/common_tool_signatures/interface/to_be_generated/file_in_file_out.js +3 -0
- package/dist/modules/common_tool_signatures/interface/to_be_generated/transform_file.d.ts +2 -0
- package/dist/modules/common_tool_signatures/interface/to_be_generated/transform_file.js +3 -0
- package/dist/modules/default_tool_signatures/command_creators/create_file_to_file_command.d.ts +3 -0
- package/dist/modules/default_tool_signatures/command_creators/create_file_to_file_command.js +59 -0
- package/dist/modules/default_tool_signatures/command_creators/create_stream_to_stream_command.d.ts +3 -0
- package/dist/modules/default_tool_signatures/command_creators/create_stream_to_stream_command.js +53 -0
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.d.ts +6 -0
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.js +59 -0
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.d.ts +3 -0
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.js +53 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +4 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.js +33 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +4 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.js +37 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.d.ts +4 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.js +59 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/transform_file/serializers.d.ts +2 -0
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/transform_file/serializers.js +39 -0
- package/dist/modules/default_tool_signatures/interface/signatures.d.ts +18 -0
- package/dist/modules/default_tool_signatures/interface/signatures.js +3 -0
- package/dist/modules/default_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +11 -0
- package/dist/modules/default_tool_signatures/interface/to_be_generated/file_in_file_out.js +3 -0
- package/dist/modules/default_tool_signatures/interface/to_be_generated/transform_file.d.ts +2 -0
- package/dist/modules/default_tool_signatures/interface/to_be_generated/transform_file.js +3 -0
- package/dist/modules/file_transformer/implementation/manual/command_creators/transform_file.d.ts +5 -0
- package/dist/modules/file_transformer/implementation/manual/command_creators/transform_file.js +59 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +4 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/productions/text.js +33 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +4 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/refiners/main.js +37 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/serializers.d.ts +4 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/serializers.js +60 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/transform_file/serializers.d.ts +2 -0
- package/dist/modules/file_transformer/implementation/manual/schemas/transform_file/serializers.js +40 -0
- package/dist/modules/file_transformer/interface/signatures.d.ts +12 -0
- package/dist/modules/file_transformer/interface/signatures.js +3 -0
- package/dist/modules/file_transformer/interface/to_be_generated/file_in_file_out.d.ts +12 -0
- package/dist/modules/file_transformer/interface/to_be_generated/file_in_file_out.js +3 -0
- package/dist/modules/file_transformer/interface/to_be_generated/transform_file.d.ts +3 -0
- package/dist/modules/file_transformer/interface/to_be_generated/transform_file.js +3 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/generic/serialize.d.ts +4 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/generic/serialize.js +93 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/generic/unmarshall.d.ts +42 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/generic/unmarshall.js +247 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/deserialize.d.ts +3 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/deserialize.js +32 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/marshall.d.ts +3 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/marshall.js +110 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/serialize.d.ts +3 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/serialize.js +37 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/unmarshall.d.ts +3 -0
- package/dist/modules/pareto-json/implementation/generated/pareto/schemas/json/unmarshall.js +81 -0
- package/dist/modules/pareto-json/implementation/manual/primitives/text/serializers/quoted.d.ts +1 -0
- package/dist/modules/pareto-json/implementation/manual/primitives/text/serializers/quoted.js +76 -0
- package/dist/modules/pareto-json/implementation/manual/schemas/json/serializers.d.ts +5 -0
- package/dist/modules/pareto-json/implementation/manual/schemas/json/serializers.js +34 -0
- package/dist/modules/pareto-json/implementation/manual/schemas/json/transformers/fountain_pen_block.d.ts +4 -0
- package/dist/modules/pareto-json/implementation/manual/schemas/json/transformers/fountain_pen_block.js +85 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/astn_source.d.ts +123 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/astn_source.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/astn_target.d.ts +186 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/astn_target.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/parse_result.d.ts +25 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/parse_result.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/resolved.d.ts +117 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/resolved.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/token.d.ts +49 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/token.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/unconstrained.d.ts +19 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/unconstrained.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/unresolved.d.ts +181 -0
- package/dist/modules/pareto-json/interface/generated/pareto/core/unresolved.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/data_types/resolve.d.ts +1 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/data_types/resolve.js +7 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/data_types/source.d.ts +169 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/data_types/source.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/data_types/target.d.ts +169 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/data_types/target.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/deserialize.d.ts +54 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/deserialize.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/marshall.d.ts +63 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/marshall.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/migrate_boilerplate.d.ts +46 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/migrate_boilerplate.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/serialize.d.ts +54 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/serialize.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/unmarshall.d.ts +63 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/unmarshall.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/value_deserializers.d.ts +64 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/value_deserializers.js +3 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/value_serializers.d.ts +64 -0
- package/dist/modules/pareto-json/interface/generated/pareto/schemas/json/value_serializers.js +3 -0
- package/dist/modules/pareto-json/shorthands/json.d.ts +8 -0
- package/dist/modules/pareto-json/shorthands/json.js +35 -0
- package/dist/shorthands/parse_result.js +24 -30
- package/package.json +7 -7
- package/dist/implementation/generated/pareto/generic/resolve.d.ts +0 -109
- package/dist/implementation/generated/pareto/generic/resolve.js +0 -277
- package/dist/interface/generated/pareto/core/resolve.d.ts +0 -14
- package/dist/interface/generated/pareto/core/resolve.js +0 -3
|
@@ -2,10 +2,9 @@ import * as _pi from 'pareto-core-interface';
|
|
|
2
2
|
import * as d_out from "../../../../../interface/generated/pareto/schemas/token/data_types/target";
|
|
3
3
|
import * as _parse_result from "../../../../../interface/generated/pareto/schemas/authoring_parse_result/data_types/target";
|
|
4
4
|
import * as d_annotated_characters from "../../../../../interface/to_be_generated/annotated_characters";
|
|
5
|
-
export type Characters_Iterator = _pi.Iterator<d_annotated_characters.Annotated_Character>;
|
|
6
5
|
export declare const is_control_character: ($: d_annotated_characters.Annotated_Character) => boolean;
|
|
7
|
-
export declare const Whitespace: (iterator:
|
|
8
|
-
export declare const Trivia: (iterator:
|
|
9
|
-
export declare const Annotated_Token: (iterator:
|
|
10
|
-
export declare const Delimited_String: (is_end_character: (character: number) => boolean, allow_newlines: boolean, iterator:
|
|
11
|
-
export declare const Tokenizer_Result: (iterator:
|
|
6
|
+
export declare const Whitespace: (iterator: _pi.Iterator<d_annotated_characters.Annotated_Character>, abort: _pi.Abort<_parse_result.Parse_Error>) => d_out.Whitespace;
|
|
7
|
+
export declare const Trivia: (iterator: _pi.Iterator<d_annotated_characters.Annotated_Character>, abort: _pi.Abort<_parse_result.Parse_Error>) => d_out.Trivia;
|
|
8
|
+
export declare const Annotated_Token: (iterator: _pi.Iterator<d_annotated_characters.Annotated_Character>, abort: _pi.Abort<_parse_result.Parse_Error>) => d_out.Annotated_Token;
|
|
9
|
+
export declare const Delimited_String: (is_end_character: (character: number) => boolean, allow_newlines: boolean, iterator: _pi.Iterator<d_annotated_characters.Annotated_Character>, abort: _pi.Abort<_parse_result.Parse_Error>) => d_out.Delimited_String;
|
|
10
|
+
export declare const Tokenizer_Result: (iterator: _pi.Iterator<d_annotated_characters.Annotated_Character>, abort: _pi.Abort<_parse_result.Parse_Error>) => d_out.Tokenizer_Result;
|