astn 0.113.21 → 0.113.23
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/generic/unmarshall.d.ts +28 -28
- package/dist/implementation/generated/pareto/generic/unmarshall.js +38 -29
- package/dist/implementation/generated/pareto/schemas/astn_schema/marshall.d.ts +7 -7
- package/dist/implementation/generated/pareto/schemas/astn_schema/marshall.js +86 -104
- package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.d.ts +8 -8
- package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.js +226 -244
- package/dist/implementation/generated/pareto/schemas/astn_schema/serialize.d.ts +12 -0
- package/dist/implementation/generated/pareto/schemas/astn_schema/serialize.js +73 -0
- package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.d.ts +7 -7
- package/dist/implementation/generated/pareto/schemas/astn_schema/unmarshall.js +72 -84
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/marshall.js +84 -84
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/serialize.js +37 -0
- package/dist/implementation/generated/pareto/schemas/authoring_parse_result/unmarshall.js +42 -42
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.d.ts +6 -5
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/marshall.js +135 -134
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/serialize.d.ts +9 -0
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/serialize.js +61 -0
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.d.ts +6 -5
- package/dist/implementation/generated/pareto/schemas/authoring_parse_tree/unmarshall.js +172 -175
- package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.d.ts +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/marshall.js +72 -72
- package/dist/implementation/generated/pareto/schemas/authoring_target/serialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/authoring_target/serialize.js +37 -0
- package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.d.ts +1 -1
- package/dist/implementation/generated/pareto/schemas/authoring_target/unmarshall.js +48 -48
- package/dist/implementation/generated/pareto/schemas/ide/marshall.d.ts +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/marshall.js +29 -29
- package/dist/implementation/generated/pareto/schemas/ide/serialize.d.ts +4 -0
- package/dist/implementation/generated/pareto/schemas/ide/serialize.js +41 -0
- package/dist/implementation/generated/pareto/schemas/ide/unmarshall.d.ts +1 -1
- package/dist/implementation/generated/pareto/schemas/ide/unmarshall.js +25 -25
- package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.d.ts +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/marshall.js +66 -66
- package/dist/implementation/generated/pareto/schemas/sealed_target/serialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/sealed_target/serialize.js +37 -0
- package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.d.ts +1 -1
- package/dist/implementation/generated/pareto/schemas/sealed_target/unmarshall.js +46 -46
- package/dist/implementation/generated/pareto/schemas/token/marshall.d.ts +5 -5
- package/dist/implementation/generated/pareto/schemas/token/marshall.js +132 -132
- package/dist/implementation/generated/pareto/schemas/token/serialize.d.ts +11 -0
- package/dist/implementation/generated/pareto/schemas/token/serialize.js +69 -0
- package/dist/implementation/generated/pareto/schemas/token/unmarshall.d.ts +5 -5
- package/dist/implementation/generated/pareto/schemas/token/unmarshall.js +122 -120
- package/dist/implementation/manual/schemas/annotated_characters/deserializers.js +37 -21
- package/dist/implementation/manual/schemas/authoring_parse_result/transformers/fountain_pen.js +5 -2
- package/dist/implementation/manual/schemas/authoring_parse_tree/deserializers.js +37 -5
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/new_interface_signatures.d.ts +8 -0
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/new_interface_signatures.js +3 -0
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/temp.d.ts +3 -0
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/temp.js +55 -0
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.d.ts +17 -10
- package/dist/implementation/manual/schemas/authoring_parse_tree/productions/token.js +115 -142
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/ide.js +3 -17
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/json_target.js +3 -3
- package/dist/implementation/manual/schemas/authoring_parse_tree/transformers/token.js +3 -3
- package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +12 -5
- package/dist/implementation/manual/schemas/token/productions/annotated_character.js +76 -63
- package/dist/implementation/manual/text_to_text/convert_to_json.js +1 -1
- package/dist/interface/generated/pareto/core/astn_source.d.ts +9 -9
- package/dist/interface/generated/pareto/core/astn_target.d.ts +15 -15
- package/dist/interface/generated/pareto/core/parse_result.d.ts +2 -2
- package/dist/interface/generated/pareto/core/resolved.d.ts +12 -12
- package/dist/interface/generated/pareto/core/token.d.ts +4 -4
- package/dist/interface/generated/pareto/core/unconstrained.d.ts +3 -3
- package/dist/interface/generated/pareto/core/unresolved.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/resolve.d.ts +548 -548
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/source.d.ts +119 -160
- package/dist/interface/generated/pareto/schemas/astn_schema/data_types/target.d.ts +119 -160
- package/dist/interface/generated/pareto/schemas/astn_schema/marshall.d.ts +56 -56
- package/dist/interface/generated/pareto/schemas/astn_schema/migrate_boilerplate.d.ts +65 -65
- package/dist/interface/generated/pareto/schemas/astn_schema/serialize.d.ts +288 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/astn_schema/unmarshall.d.ts +65 -65
- package/dist/interface/generated/pareto/schemas/astn_schema/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/astn_schema/value_serializers.d.ts +10 -10
- 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 +77 -77
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target.d.ts +77 -77
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/marshall.d.ts +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/migrate_boilerplate.d.ts +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/unmarshall.d.ts +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/authoring_parse_result/value_serializers.d.ts +10 -10
- 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 +347 -356
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/data_types/target.d.ts +347 -356
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/marshall.d.ts +66 -36
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/migrate_boilerplate.d.ts +68 -46
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/serialize.d.ts +210 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/unmarshall.d.ts +71 -41
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/authoring_parse_tree/value_serializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/source.d.ts +145 -145
- package/dist/interface/generated/pareto/schemas/authoring_target/data_types/target.d.ts +145 -145
- package/dist/interface/generated/pareto/schemas/authoring_target/marshall.d.ts +12 -12
- package/dist/interface/generated/pareto/schemas/authoring_target/migrate_boilerplate.d.ts +14 -14
- package/dist/interface/generated/pareto/schemas/authoring_target/serialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/authoring_target/unmarshall.d.ts +13 -13
- package/dist/interface/generated/pareto/schemas/authoring_target/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/authoring_target/value_serializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/ide/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/ide/data_types/source.d.ts +54 -54
- package/dist/interface/generated/pareto/schemas/ide/data_types/target.d.ts +54 -54
- package/dist/interface/generated/pareto/schemas/ide/marshall.d.ts +17 -17
- package/dist/interface/generated/pareto/schemas/ide/migrate_boilerplate.d.ts +14 -14
- package/dist/interface/generated/pareto/schemas/ide/serialize.d.ts +80 -0
- package/dist/interface/generated/pareto/schemas/ide/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/ide/unmarshall.d.ts +17 -17
- package/dist/interface/generated/pareto/schemas/ide/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/ide/value_serializers.d.ts +10 -10
- 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 +114 -114
- package/dist/interface/generated/pareto/schemas/sealed_target/data_types/target.d.ts +114 -114
- package/dist/interface/generated/pareto/schemas/sealed_target/marshall.d.ts +12 -12
- package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +14 -14
- package/dist/interface/generated/pareto/schemas/sealed_target/serialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/sealed_target/unmarshall.d.ts +13 -13
- package/dist/interface/generated/pareto/schemas/sealed_target/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/sealed_target/value_serializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/token/data_types/resolve.js +1 -1
- package/dist/interface/generated/pareto/schemas/token/data_types/source.d.ts +196 -189
- package/dist/interface/generated/pareto/schemas/token/data_types/target.d.ts +196 -189
- package/dist/interface/generated/pareto/schemas/token/marshall.d.ts +56 -56
- package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +66 -66
- package/dist/interface/generated/pareto/schemas/token/serialize.d.ts +262 -0
- package/dist/interface/generated/pareto/schemas/token/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/token/unmarshall.d.ts +59 -59
- package/dist/interface/generated/pareto/schemas/token/value_deserializers.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/token/value_serializers.d.ts +10 -10
- package/dist/modules/pareto-json/implementation/generated/pareto/generic/unmarshall.d.ts +6 -6
- package/dist/modules/pareto-json/interface/generated/pareto/core/astn_source.d.ts +9 -9
- package/dist/modules/pareto-json/interface/generated/pareto/core/astn_target.d.ts +15 -15
- package/dist/modules/pareto-json/interface/generated/pareto/core/parse_result.d.ts +2 -2
- package/dist/modules/pareto-json/interface/generated/pareto/core/resolved.d.ts +12 -12
- package/dist/modules/pareto-json/interface/generated/pareto/core/token.d.ts +4 -4
- package/dist/modules/pareto-json/interface/generated/pareto/core/unconstrained.d.ts +3 -3
- package/dist/modules/pareto-json/interface/generated/pareto/core/unresolved.d.ts +10 -10
- package/dist/shorthands/parse_result.d.ts +0 -2
- package/dist/shorthands/parse_result.js +17 -12
- package/package.json +6 -6
- package/dist/implementation/generated/pareto/generic/parse/ast.d.ts +0 -10
- package/dist/implementation/generated/pareto/generic/parse/ast.js +0 -245
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.d.ts +0 -16
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.js +0 -47
- package/dist/implementation/generated/pareto/generic/parse/parse.d.ts +0 -5
- package/dist/implementation/generated/pareto/generic/parse/parse.js +0 -55
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.d.ts +0 -40
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.js +0 -132
- package/dist/implementation/generated/pareto/generic/parse/token.d.ts +0 -10
- package/dist/implementation/generated/pareto/generic/parse/token.js +0 -519
- package/dist/implementation/manual/create_stream_to_stream_command.d.ts +0 -3
- package/dist/implementation/manual/create_stream_to_stream_command.js +0 -53
- package/dist/implementation/manual/schemas/parse_result/serializers.d.ts +0 -10
- package/dist/implementation/manual/schemas/parse_result/serializers.js +0 -83
- package/dist/modules/default_tool_signatures/command_creators/create_file_to_file_command.d.ts +0 -3
- package/dist/modules/default_tool_signatures/command_creators/create_file_to_file_command.js +0 -59
- package/dist/modules/default_tool_signatures/command_creators/create_stream_to_stream_command.d.ts +0 -3
- package/dist/modules/default_tool_signatures/command_creators/create_stream_to_stream_command.js +0 -53
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.d.ts +0 -6
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.js +0 -59
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.d.ts +0 -3
- package/dist/modules/default_tool_signatures/implementation/manual/command_creators/create_stream_to_stream_command.js +0 -53
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +0 -4
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/productions/text.js +0 -33
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +0 -4
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/refiners/main.js +0 -37
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.d.ts +0 -4
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.js +0 -59
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/transform_file/serializers.d.ts +0 -2
- package/dist/modules/default_tool_signatures/implementation/manual/schemas/transform_file/serializers.js +0 -39
- package/dist/modules/default_tool_signatures/interface/signatures.d.ts +0 -18
- package/dist/modules/default_tool_signatures/interface/signatures.js +0 -3
- package/dist/modules/default_tool_signatures/interface/to_be_generated/file_in_file_out.d.ts +0 -11
- package/dist/modules/default_tool_signatures/interface/to_be_generated/file_in_file_out.js +0 -3
- package/dist/modules/default_tool_signatures/interface/to_be_generated/transform_file.d.ts +0 -2
- package/dist/modules/default_tool_signatures/interface/to_be_generated/transform_file.js +0 -3
- package/dist/modules/file_transformer/implementation/manual/command_creators/transform_file.d.ts +0 -5
- package/dist/modules/file_transformer/implementation/manual/command_creators/transform_file.js +0 -59
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/productions/text.d.ts +0 -4
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/productions/text.js +0 -33
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/refiners/main.d.ts +0 -4
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/refiners/main.js +0 -37
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/serializers.d.ts +0 -4
- package/dist/modules/file_transformer/implementation/manual/schemas/file_in_file_out/serializers.js +0 -60
- package/dist/modules/file_transformer/implementation/manual/schemas/transform_file/serializers.d.ts +0 -2
- package/dist/modules/file_transformer/implementation/manual/schemas/transform_file/serializers.js +0 -40
- package/dist/modules/file_transformer/interface/signatures.d.ts +0 -12
- package/dist/modules/file_transformer/interface/signatures.js +0 -3
- package/dist/modules/file_transformer/interface/to_be_generated/file_in_file_out.d.ts +0 -12
- package/dist/modules/file_transformer/interface/to_be_generated/file_in_file_out.js +0 -3
- package/dist/modules/file_transformer/interface/to_be_generated/transform_file.d.ts +0 -3
- package/dist/modules/file_transformer/interface/to_be_generated/transform_file.js +0 -3
|
@@ -1,142 +1,185 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
1
2
|
import * as _i_core from "../../../core/resolved";
|
|
2
|
-
export type
|
|
3
|
-
readonly '
|
|
4
|
-
readonly '
|
|
5
|
-
readonly 'trailing trivia': _T_Trivia;
|
|
6
|
-
readonly 'type': _T_Token_Type;
|
|
3
|
+
export type _T_Relative_Location = {
|
|
4
|
+
readonly 'line': number;
|
|
5
|
+
readonly 'column': number;
|
|
7
6
|
};
|
|
8
|
-
export type _T_Delimited_String = string;
|
|
9
7
|
export type _T_Location = {
|
|
8
|
+
readonly 'relative': _pi.Optional_Value<_T_Relative_Location>;
|
|
10
9
|
readonly 'absolute': number;
|
|
11
|
-
readonly 'relative': _T_Relative_Location;
|
|
12
10
|
};
|
|
13
11
|
export type _T_Range = {
|
|
14
|
-
readonly 'end': _T_Location;
|
|
15
12
|
readonly 'start': _T_Location;
|
|
16
|
-
};
|
|
17
|
-
export type _T_Relative_Location = {
|
|
18
|
-
readonly 'column': number;
|
|
19
|
-
readonly 'line': number;
|
|
20
|
-
};
|
|
21
|
-
export type _T_String_Type = _i_core._T_State_Group<null, readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null]>;
|
|
22
|
-
export type _T_Token_Type = _i_core._T_State_Group<null, readonly ['!', null] | readonly ['#', null] | readonly ['(', null] | readonly [')', null] | readonly ['*', null] | readonly [':', null] | readonly ['<', null] | readonly ['>', null] | readonly ['@', null] | readonly ['[', null] | readonly [']', null] | readonly [
|
|
23
|
-
'string',
|
|
24
|
-
{
|
|
25
|
-
readonly 'type': _T_String_Type;
|
|
26
|
-
readonly 'value': _T_Delimited_String;
|
|
27
|
-
}
|
|
28
|
-
] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null]>;
|
|
29
|
-
export type _T_Tokenizer_Result = {
|
|
30
13
|
readonly 'end': _T_Location;
|
|
31
|
-
|
|
32
|
-
|
|
14
|
+
};
|
|
15
|
+
export type _T_Whitespace = {
|
|
16
|
+
readonly 'range': _T_Range;
|
|
17
|
+
readonly 'value': string;
|
|
33
18
|
};
|
|
34
19
|
export type _T_Trivia = {
|
|
20
|
+
readonly 'leading whitespace': _T_Whitespace;
|
|
35
21
|
readonly 'comments': _i_core._T_List<null, {
|
|
22
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
36
23
|
readonly 'content': string;
|
|
37
24
|
readonly 'range': _T_Range;
|
|
38
25
|
readonly 'trailing whitespace': _T_Whitespace;
|
|
39
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
40
26
|
}>;
|
|
41
|
-
readonly 'leading whitespace': _T_Whitespace;
|
|
42
27
|
};
|
|
43
|
-
export type
|
|
44
|
-
|
|
45
|
-
|
|
28
|
+
export type _T_Delimited_String = string;
|
|
29
|
+
export type _T_String_Type = _i_core._T_State_Group<null, readonly ['quoted', null] | readonly ['apostrophed', null] | readonly ['undelimited', null] | readonly ['backticked', null]>;
|
|
30
|
+
export type _T_Token_Type = _i_core._T_State_Group<null, readonly ['{', null] | readonly ['}', null] | readonly ['[', null] | readonly [']', null] | readonly ['(', null] | readonly [')', null] | readonly ['<', null] | readonly ['>', null] | readonly ['!', null] | readonly ['@', null] | readonly ['~', null] | readonly ['*', null] | readonly [':', null] | readonly ['|', null] | readonly ['#', null] | readonly [
|
|
31
|
+
'string',
|
|
32
|
+
{
|
|
33
|
+
readonly 'value': _T_Delimited_String;
|
|
34
|
+
readonly 'type': _T_String_Type;
|
|
35
|
+
}
|
|
36
|
+
]>;
|
|
37
|
+
export type _T_Annotated_Token = {
|
|
38
|
+
readonly 'start': _T_Location;
|
|
39
|
+
readonly 'type': _T_Token_Type;
|
|
40
|
+
readonly 'end': _T_Location;
|
|
41
|
+
readonly 'trailing trivia': _T_Trivia;
|
|
46
42
|
};
|
|
47
|
-
export type
|
|
48
|
-
|
|
43
|
+
export type _T_Tokenizer_Result = {
|
|
44
|
+
readonly 'leading trivia': _T_Trivia;
|
|
45
|
+
readonly 'tokens': _i_core._T_List<null, _T_Annotated_Token>;
|
|
46
|
+
readonly 'end': _T_Location;
|
|
47
|
+
};
|
|
48
|
+
export type Relative_Location = _T_Relative_Location;
|
|
49
49
|
export type Location = _T_Location;
|
|
50
50
|
export type Range = _T_Range;
|
|
51
|
-
export type
|
|
51
|
+
export type Whitespace = _T_Whitespace;
|
|
52
|
+
export type Trivia = _T_Trivia;
|
|
53
|
+
export type Delimited_String = _T_Delimited_String;
|
|
52
54
|
export type String_Type = _T_String_Type;
|
|
53
55
|
export type Token_Type = _T_Token_Type;
|
|
56
|
+
export type Annotated_Token = _T_Annotated_Token;
|
|
54
57
|
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
55
|
-
export
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
namespace end {
|
|
59
|
-
}
|
|
60
|
-
type end = _T_Location;
|
|
61
|
-
namespace start {
|
|
62
|
-
}
|
|
63
|
-
type start = _T_Location;
|
|
64
|
-
namespace trailing_trivia {
|
|
65
|
-
}
|
|
66
|
-
type trailing_trivia = _T_Trivia;
|
|
67
|
-
namespace _type {
|
|
68
|
-
}
|
|
69
|
-
type _type = _T_Token_Type;
|
|
58
|
+
export declare namespace _T_Relative_Location {
|
|
59
|
+
type line = number;
|
|
60
|
+
type column = number;
|
|
70
61
|
}
|
|
71
62
|
export declare namespace _T_Location {
|
|
72
|
-
type absolute = number;
|
|
73
63
|
namespace relative {
|
|
64
|
+
namespace O {
|
|
65
|
+
}
|
|
66
|
+
type O = _T_Relative_Location;
|
|
74
67
|
}
|
|
75
|
-
type relative = _T_Relative_Location
|
|
68
|
+
type relative = _pi.Optional_Value<_T_Relative_Location>;
|
|
69
|
+
type absolute = number;
|
|
76
70
|
}
|
|
77
71
|
export declare namespace _T_Range {
|
|
72
|
+
namespace start {
|
|
73
|
+
}
|
|
74
|
+
type start = _T_Location;
|
|
78
75
|
namespace end {
|
|
79
76
|
}
|
|
80
77
|
type end = _T_Location;
|
|
81
|
-
|
|
78
|
+
}
|
|
79
|
+
export declare namespace _T_Whitespace {
|
|
80
|
+
namespace range {
|
|
82
81
|
}
|
|
83
|
-
type
|
|
82
|
+
type range = _T_Range;
|
|
83
|
+
type value = string;
|
|
84
84
|
}
|
|
85
|
-
export declare namespace
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
export declare namespace _T_Trivia {
|
|
86
|
+
namespace leading_whitespace {
|
|
87
|
+
}
|
|
88
|
+
type leading_whitespace = _T_Whitespace;
|
|
89
|
+
namespace comments {
|
|
90
|
+
namespace L {
|
|
91
|
+
namespace _type {
|
|
92
|
+
namespace SG {
|
|
93
|
+
type line = null;
|
|
94
|
+
type block = null;
|
|
95
|
+
}
|
|
96
|
+
type SG = readonly ['line', null] | readonly ['block', null];
|
|
97
|
+
}
|
|
98
|
+
type _type = _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
99
|
+
type content = string;
|
|
100
|
+
namespace range {
|
|
101
|
+
}
|
|
102
|
+
type range = _T_Range;
|
|
103
|
+
namespace trailing_whitespace {
|
|
104
|
+
}
|
|
105
|
+
type trailing_whitespace = _T_Whitespace;
|
|
106
|
+
}
|
|
107
|
+
type L = {
|
|
108
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
109
|
+
readonly 'content': string;
|
|
110
|
+
readonly 'range': _T_Range;
|
|
111
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
type comments = _i_core._T_List<null, {
|
|
115
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
116
|
+
readonly 'content': string;
|
|
117
|
+
readonly 'range': _T_Range;
|
|
118
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
119
|
+
}>;
|
|
88
120
|
}
|
|
89
121
|
export declare namespace _T_String_Type {
|
|
90
122
|
namespace SG {
|
|
91
|
-
type apostrophed = null;
|
|
92
|
-
type backticked = null;
|
|
93
123
|
type quoted = null;
|
|
124
|
+
type apostrophed = null;
|
|
94
125
|
type undelimited = null;
|
|
126
|
+
type backticked = null;
|
|
95
127
|
}
|
|
96
|
-
type SG = readonly ['
|
|
128
|
+
type SG = readonly ['quoted', null] | readonly ['apostrophed', null] | readonly ['undelimited', null] | readonly ['backticked', null];
|
|
97
129
|
}
|
|
98
130
|
export declare namespace _T_Token_Type {
|
|
99
131
|
namespace SG {
|
|
100
|
-
type $
|
|
101
|
-
type $
|
|
132
|
+
type $co_ = null;
|
|
133
|
+
type $cc_ = null;
|
|
134
|
+
type $bo_ = null;
|
|
135
|
+
type $bc_ = null;
|
|
102
136
|
type $po_ = null;
|
|
103
137
|
type $pc_ = null;
|
|
104
|
-
type $sr_ = null;
|
|
105
|
-
type $cl_ = null;
|
|
106
138
|
type $st_ = null;
|
|
107
139
|
type $gt_ = null;
|
|
140
|
+
type $ex_ = null;
|
|
108
141
|
type $at_ = null;
|
|
109
|
-
type $
|
|
110
|
-
type $
|
|
142
|
+
type $ti_ = null;
|
|
143
|
+
type $sr_ = null;
|
|
144
|
+
type $cl_ = null;
|
|
145
|
+
type $vb_ = null;
|
|
146
|
+
type $ha_ = null;
|
|
111
147
|
namespace _string {
|
|
112
|
-
namespace _type {
|
|
113
|
-
}
|
|
114
|
-
type _type = _T_String_Type;
|
|
115
148
|
namespace value {
|
|
116
149
|
}
|
|
117
150
|
type value = _T_Delimited_String;
|
|
151
|
+
namespace _type {
|
|
152
|
+
}
|
|
153
|
+
type _type = _T_String_Type;
|
|
118
154
|
}
|
|
119
155
|
type _string = {
|
|
120
|
-
readonly 'type': _T_String_Type;
|
|
121
156
|
readonly 'value': _T_Delimited_String;
|
|
157
|
+
readonly 'type': _T_String_Type;
|
|
122
158
|
};
|
|
123
|
-
type $co_ = null;
|
|
124
|
-
type $vb_ = null;
|
|
125
|
-
type $cc_ = null;
|
|
126
|
-
type $ti_ = null;
|
|
127
159
|
}
|
|
128
|
-
type SG = readonly ['
|
|
160
|
+
type SG = readonly ['{', null] | readonly ['}', null] | readonly ['[', null] | readonly [']', null] | readonly ['(', null] | readonly [')', null] | readonly ['<', null] | readonly ['>', null] | readonly ['!', null] | readonly ['@', null] | readonly ['~', null] | readonly ['*', null] | readonly [':', null] | readonly ['|', null] | readonly ['#', null] | readonly [
|
|
129
161
|
'string',
|
|
130
162
|
{
|
|
131
|
-
readonly 'type': _T_String_Type;
|
|
132
163
|
readonly 'value': _T_Delimited_String;
|
|
164
|
+
readonly 'type': _T_String_Type;
|
|
133
165
|
}
|
|
134
|
-
]
|
|
166
|
+
];
|
|
135
167
|
}
|
|
136
|
-
export declare namespace
|
|
168
|
+
export declare namespace _T_Annotated_Token {
|
|
169
|
+
namespace start {
|
|
170
|
+
}
|
|
171
|
+
type start = _T_Location;
|
|
172
|
+
namespace _type {
|
|
173
|
+
}
|
|
174
|
+
type _type = _T_Token_Type;
|
|
137
175
|
namespace end {
|
|
138
176
|
}
|
|
139
177
|
type end = _T_Location;
|
|
178
|
+
namespace trailing_trivia {
|
|
179
|
+
}
|
|
180
|
+
type trailing_trivia = _T_Trivia;
|
|
181
|
+
}
|
|
182
|
+
export declare namespace _T_Tokenizer_Result {
|
|
140
183
|
namespace leading_trivia {
|
|
141
184
|
}
|
|
142
185
|
type leading_trivia = _T_Trivia;
|
|
@@ -146,10 +189,51 @@ export declare namespace _T_Tokenizer_Result {
|
|
|
146
189
|
type L = _T_Annotated_Token;
|
|
147
190
|
}
|
|
148
191
|
type tokens = _i_core._T_List<null, _T_Annotated_Token>;
|
|
192
|
+
namespace end {
|
|
193
|
+
}
|
|
194
|
+
type end = _T_Location;
|
|
149
195
|
}
|
|
150
|
-
export declare namespace
|
|
196
|
+
export declare namespace Relative_Location {
|
|
197
|
+
type line = number;
|
|
198
|
+
type column = number;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace Location {
|
|
201
|
+
namespace relative {
|
|
202
|
+
namespace O {
|
|
203
|
+
}
|
|
204
|
+
type O = _T_Relative_Location;
|
|
205
|
+
}
|
|
206
|
+
type relative = _pi.Optional_Value<_T_Relative_Location>;
|
|
207
|
+
type absolute = number;
|
|
208
|
+
}
|
|
209
|
+
export declare namespace Range {
|
|
210
|
+
namespace start {
|
|
211
|
+
}
|
|
212
|
+
type start = _T_Location;
|
|
213
|
+
namespace end {
|
|
214
|
+
}
|
|
215
|
+
type end = _T_Location;
|
|
216
|
+
}
|
|
217
|
+
export declare namespace Whitespace {
|
|
218
|
+
namespace range {
|
|
219
|
+
}
|
|
220
|
+
type range = _T_Range;
|
|
221
|
+
type value = string;
|
|
222
|
+
}
|
|
223
|
+
export declare namespace Trivia {
|
|
224
|
+
namespace leading_whitespace {
|
|
225
|
+
}
|
|
226
|
+
type leading_whitespace = _T_Whitespace;
|
|
151
227
|
namespace comments {
|
|
152
228
|
namespace L {
|
|
229
|
+
namespace _type {
|
|
230
|
+
namespace SG {
|
|
231
|
+
type line = null;
|
|
232
|
+
type block = null;
|
|
233
|
+
}
|
|
234
|
+
type SG = readonly ['line', null] | readonly ['block', null];
|
|
235
|
+
}
|
|
236
|
+
type _type = _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
153
237
|
type content = string;
|
|
154
238
|
namespace range {
|
|
155
239
|
}
|
|
@@ -157,121 +241,83 @@ export declare namespace _T_Trivia {
|
|
|
157
241
|
namespace trailing_whitespace {
|
|
158
242
|
}
|
|
159
243
|
type trailing_whitespace = _T_Whitespace;
|
|
160
|
-
namespace _type {
|
|
161
|
-
namespace SG {
|
|
162
|
-
type block = null;
|
|
163
|
-
type line = null;
|
|
164
|
-
}
|
|
165
|
-
type SG = readonly ['block', null] | readonly ['line', null];
|
|
166
|
-
}
|
|
167
|
-
type _type = _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
168
244
|
}
|
|
169
245
|
type L = {
|
|
246
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
170
247
|
readonly 'content': string;
|
|
171
248
|
readonly 'range': _T_Range;
|
|
172
249
|
readonly 'trailing whitespace': _T_Whitespace;
|
|
173
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
174
250
|
};
|
|
175
251
|
}
|
|
176
252
|
type comments = _i_core._T_List<null, {
|
|
253
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['line', null] | readonly ['block', null]>;
|
|
177
254
|
readonly 'content': string;
|
|
178
255
|
readonly 'range': _T_Range;
|
|
179
256
|
readonly 'trailing whitespace': _T_Whitespace;
|
|
180
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
181
257
|
}>;
|
|
182
|
-
namespace leading_whitespace {
|
|
183
|
-
}
|
|
184
|
-
type leading_whitespace = _T_Whitespace;
|
|
185
|
-
}
|
|
186
|
-
export declare namespace _T_Whitespace {
|
|
187
|
-
namespace range {
|
|
188
|
-
}
|
|
189
|
-
type range = _T_Range;
|
|
190
|
-
type value = string;
|
|
191
|
-
}
|
|
192
|
-
export declare namespace Annotated_Token {
|
|
193
|
-
namespace end {
|
|
194
|
-
}
|
|
195
|
-
type end = _T_Location;
|
|
196
|
-
namespace start {
|
|
197
|
-
}
|
|
198
|
-
type start = _T_Location;
|
|
199
|
-
namespace trailing_trivia {
|
|
200
|
-
}
|
|
201
|
-
type trailing_trivia = _T_Trivia;
|
|
202
|
-
namespace _type {
|
|
203
|
-
}
|
|
204
|
-
type _type = _T_Token_Type;
|
|
205
|
-
}
|
|
206
|
-
export declare namespace Location {
|
|
207
|
-
type absolute = number;
|
|
208
|
-
namespace relative {
|
|
209
|
-
}
|
|
210
|
-
type relative = _T_Relative_Location;
|
|
211
|
-
}
|
|
212
|
-
export declare namespace Range {
|
|
213
|
-
namespace end {
|
|
214
|
-
}
|
|
215
|
-
type end = _T_Location;
|
|
216
|
-
namespace start {
|
|
217
|
-
}
|
|
218
|
-
type start = _T_Location;
|
|
219
|
-
}
|
|
220
|
-
export declare namespace Relative_Location {
|
|
221
|
-
type column = number;
|
|
222
|
-
type line = number;
|
|
223
258
|
}
|
|
224
259
|
export declare namespace String_Type {
|
|
225
260
|
namespace SG {
|
|
226
|
-
type apostrophed = null;
|
|
227
|
-
type backticked = null;
|
|
228
261
|
type quoted = null;
|
|
262
|
+
type apostrophed = null;
|
|
229
263
|
type undelimited = null;
|
|
264
|
+
type backticked = null;
|
|
230
265
|
}
|
|
231
|
-
type SG = readonly ['
|
|
266
|
+
type SG = readonly ['quoted', null] | readonly ['apostrophed', null] | readonly ['undelimited', null] | readonly ['backticked', null];
|
|
232
267
|
}
|
|
233
268
|
export declare namespace Token_Type {
|
|
234
269
|
namespace SG {
|
|
235
|
-
type $
|
|
236
|
-
type $
|
|
270
|
+
type $co_ = null;
|
|
271
|
+
type $cc_ = null;
|
|
272
|
+
type $bo_ = null;
|
|
273
|
+
type $bc_ = null;
|
|
237
274
|
type $po_ = null;
|
|
238
275
|
type $pc_ = null;
|
|
239
|
-
type $sr_ = null;
|
|
240
|
-
type $cl_ = null;
|
|
241
276
|
type $st_ = null;
|
|
242
277
|
type $gt_ = null;
|
|
278
|
+
type $ex_ = null;
|
|
243
279
|
type $at_ = null;
|
|
244
|
-
type $
|
|
245
|
-
type $
|
|
280
|
+
type $ti_ = null;
|
|
281
|
+
type $sr_ = null;
|
|
282
|
+
type $cl_ = null;
|
|
283
|
+
type $vb_ = null;
|
|
284
|
+
type $ha_ = null;
|
|
246
285
|
namespace _string {
|
|
247
|
-
namespace _type {
|
|
248
|
-
}
|
|
249
|
-
type _type = _T_String_Type;
|
|
250
286
|
namespace value {
|
|
251
287
|
}
|
|
252
288
|
type value = _T_Delimited_String;
|
|
289
|
+
namespace _type {
|
|
290
|
+
}
|
|
291
|
+
type _type = _T_String_Type;
|
|
253
292
|
}
|
|
254
293
|
type _string = {
|
|
255
|
-
readonly 'type': _T_String_Type;
|
|
256
294
|
readonly 'value': _T_Delimited_String;
|
|
295
|
+
readonly 'type': _T_String_Type;
|
|
257
296
|
};
|
|
258
|
-
type $co_ = null;
|
|
259
|
-
type $vb_ = null;
|
|
260
|
-
type $cc_ = null;
|
|
261
|
-
type $ti_ = null;
|
|
262
297
|
}
|
|
263
|
-
type SG = readonly ['
|
|
298
|
+
type SG = readonly ['{', null] | readonly ['}', null] | readonly ['[', null] | readonly [']', null] | readonly ['(', null] | readonly [')', null] | readonly ['<', null] | readonly ['>', null] | readonly ['!', null] | readonly ['@', null] | readonly ['~', null] | readonly ['*', null] | readonly [':', null] | readonly ['|', null] | readonly ['#', null] | readonly [
|
|
264
299
|
'string',
|
|
265
300
|
{
|
|
266
|
-
readonly 'type': _T_String_Type;
|
|
267
301
|
readonly 'value': _T_Delimited_String;
|
|
302
|
+
readonly 'type': _T_String_Type;
|
|
268
303
|
}
|
|
269
|
-
]
|
|
304
|
+
];
|
|
270
305
|
}
|
|
271
|
-
export declare namespace
|
|
306
|
+
export declare namespace Annotated_Token {
|
|
307
|
+
namespace start {
|
|
308
|
+
}
|
|
309
|
+
type start = _T_Location;
|
|
310
|
+
namespace _type {
|
|
311
|
+
}
|
|
312
|
+
type _type = _T_Token_Type;
|
|
272
313
|
namespace end {
|
|
273
314
|
}
|
|
274
315
|
type end = _T_Location;
|
|
316
|
+
namespace trailing_trivia {
|
|
317
|
+
}
|
|
318
|
+
type trailing_trivia = _T_Trivia;
|
|
319
|
+
}
|
|
320
|
+
export declare namespace Tokenizer_Result {
|
|
275
321
|
namespace leading_trivia {
|
|
276
322
|
}
|
|
277
323
|
type leading_trivia = _T_Trivia;
|
|
@@ -281,46 +327,7 @@ export declare namespace Tokenizer_Result {
|
|
|
281
327
|
type L = _T_Annotated_Token;
|
|
282
328
|
}
|
|
283
329
|
type tokens = _i_core._T_List<null, _T_Annotated_Token>;
|
|
284
|
-
|
|
285
|
-
export declare namespace Trivia {
|
|
286
|
-
namespace comments {
|
|
287
|
-
namespace L {
|
|
288
|
-
type content = string;
|
|
289
|
-
namespace range {
|
|
290
|
-
}
|
|
291
|
-
type range = _T_Range;
|
|
292
|
-
namespace trailing_whitespace {
|
|
293
|
-
}
|
|
294
|
-
type trailing_whitespace = _T_Whitespace;
|
|
295
|
-
namespace _type {
|
|
296
|
-
namespace SG {
|
|
297
|
-
type block = null;
|
|
298
|
-
type line = null;
|
|
299
|
-
}
|
|
300
|
-
type SG = readonly ['block', null] | readonly ['line', null];
|
|
301
|
-
}
|
|
302
|
-
type _type = _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
303
|
-
}
|
|
304
|
-
type L = {
|
|
305
|
-
readonly 'content': string;
|
|
306
|
-
readonly 'range': _T_Range;
|
|
307
|
-
readonly 'trailing whitespace': _T_Whitespace;
|
|
308
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
type comments = _i_core._T_List<null, {
|
|
312
|
-
readonly 'content': string;
|
|
313
|
-
readonly 'range': _T_Range;
|
|
314
|
-
readonly 'trailing whitespace': _T_Whitespace;
|
|
315
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
316
|
-
}>;
|
|
317
|
-
namespace leading_whitespace {
|
|
318
|
-
}
|
|
319
|
-
type leading_whitespace = _T_Whitespace;
|
|
320
|
-
}
|
|
321
|
-
export declare namespace Whitespace {
|
|
322
|
-
namespace range {
|
|
330
|
+
namespace end {
|
|
323
331
|
}
|
|
324
|
-
type
|
|
325
|
-
type value = string;
|
|
332
|
+
type end = _T_Location;
|
|
326
333
|
}
|