astn 0.110.15 → 1.20.5
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/.eslintignore +5 -0
- package/.eslintrc.js +20 -0
- package/.vscode/extensions.json +9 -0
- package/.vscode/launch.json +39 -0
- package/.vscode/settings.json +8 -0
- package/.vscode/tasks.json +33 -0
- package/.vscodeignore +15 -0
- package/LICENSE.md +204 -0
- package/README.md +3 -410
- package/backend/package-lock.json +123 -0
- package/backend/package.json +6 -0
- package/backend/src/index.ts +133 -0
- package/backend/tsconfig.json +16 -0
- package/client/package-lock.json +581 -0
- package/client/package.json +23 -0
- package/client/src/extension.ts +249 -0
- package/client/src/test/completion.test.ts +43 -0
- package/client/src/test/diagnostics.test.ts +41 -0
- package/client/src/test/helper.ts +47 -0
- package/client/src/test/index.ts +43 -0
- package/client/src/test/runTest.ts +27 -0
- package/client/testFixture/diagnostics.txt +1 -0
- package/client/tsconfig.json +12 -0
- package/client/tsconfig.tsbuildinfo +1 -0
- package/development.md +12 -0
- package/images/icon.png +0 -0
- package/language-configuration.json +36 -0
- package/package.json +102 -58
- package/scripts/e2e.sh +6 -0
- package/server/package-lock.json +127 -0
- package/server/package.json +22 -0
- package/server/src/backend.ts +53 -0
- package/server/src/backendapi.ts +66 -0
- package/server/src/server.ts +296 -0
- package/server/tsconfig.json +14 -0
- package/server/tsconfig.tsbuildinfo +1 -0
- package/syntaxes/astn.tmLanguage.json +320 -0
- package/tsconfig.json +21 -0
- package/LICENSE +0 -17
- package/dist/bin/convert_to_json.d.ts +0 -2
- package/dist/bin/convert_to_json.js +0 -63
- package/dist/bin/validate_astn.d.ts +0 -2
- package/dist/bin/validate_astn.js +0 -58
- package/dist/generated/generic/resolve.d.ts +0 -90
- package/dist/generated/generic/resolve.js +0 -259
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +0 -13
- package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -174
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.d.ts +0 -2
- package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +0 -56
- package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +0 -6
- package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +0 -136
- package/dist/generated/implementation/schemas/target/migration_boilerplate.d.ts +0 -3
- package/dist/generated/implementation/schemas/target/migration_boilerplate.js +0 -73
- package/dist/generated/implementation/schemas/target_json/migration_boilerplate.d.ts +0 -3
- package/dist/generated/implementation/schemas/target_json/migration_boilerplate.js +0 -67
- package/dist/generated/interface/core/poormans_parser.d.ts +0 -184
- package/dist/generated/interface/core/poormans_parser.js +0 -3
- package/dist/generated/interface/core/resolved.d.ts +0 -100
- package/dist/generated/interface/core/resolved.js +0 -3
- package/dist/generated/interface/core/unresolved.d.ts +0 -35
- package/dist/generated/interface/core/unresolved.js +0 -3
- package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +0 -266
- package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/ast/poormans_parser.d.ts +0 -1087
- package/dist/generated/interface/schemas/ast/poormans_parser.js +0 -3
- package/dist/generated/interface/schemas/ast/resolved.d.ts +0 -1087
- package/dist/generated/interface/schemas/ast/resolved.js +0 -3
- package/dist/generated/interface/schemas/ast/unresolved.d.ts +0 -1087
- package/dist/generated/interface/schemas/ast/unresolved.js +0 -3
- package/dist/generated/interface/schemas/ide/migration_boilerplate.d.ts +0 -24
- package/dist/generated/interface/schemas/ide/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/ide/poormans_parser.d.ts +0 -161
- package/dist/generated/interface/schemas/ide/poormans_parser.js +0 -3
- package/dist/generated/interface/schemas/ide/resolved.d.ts +0 -161
- package/dist/generated/interface/schemas/ide/resolved.js +0 -3
- package/dist/generated/interface/schemas/ide/unresolved.d.ts +0 -161
- package/dist/generated/interface/schemas/ide/unresolved.js +0 -3
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +0 -112
- package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/parse_result/poormans_parser.d.ts +0 -416
- package/dist/generated/interface/schemas/parse_result/poormans_parser.js +0 -3
- package/dist/generated/interface/schemas/parse_result/resolved.d.ts +0 -416
- package/dist/generated/interface/schemas/parse_result/resolved.js +0 -3
- package/dist/generated/interface/schemas/parse_result/unresolved.d.ts +0 -416
- package/dist/generated/interface/schemas/parse_result/unresolved.js +0 -3
- package/dist/generated/interface/schemas/target/migration_boilerplate.d.ts +0 -46
- package/dist/generated/interface/schemas/target/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/target/poormans_parser.d.ts +0 -186
- package/dist/generated/interface/schemas/target/poormans_parser.js +0 -3
- package/dist/generated/interface/schemas/target/resolved.d.ts +0 -186
- package/dist/generated/interface/schemas/target/resolved.js +0 -3
- package/dist/generated/interface/schemas/target/unresolved.d.ts +0 -186
- package/dist/generated/interface/schemas/target/unresolved.js +0 -3
- package/dist/generated/interface/schemas/target_json/migration_boilerplate.d.ts +0 -46
- package/dist/generated/interface/schemas/target_json/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/target_json/poormans_parser.d.ts +0 -169
- package/dist/generated/interface/schemas/target_json/poormans_parser.js +0 -3
- package/dist/generated/interface/schemas/target_json/resolved.d.ts +0 -169
- package/dist/generated/interface/schemas/target_json/resolved.js +0 -3
- package/dist/generated/interface/schemas/target_json/unresolved.d.ts +0 -169
- package/dist/generated/interface/schemas/target_json/unresolved.js +0 -3
- package/dist/globals.d.ts +0 -24
- package/dist/globals.js +0 -2
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -43
- package/dist/lib/globals.d.ts +0 -24
- package/dist/lib/globals.js +0 -2
- package/dist/lib/transformations/create_error_message.d.ts +0 -5
- package/dist/lib/transformations/create_error_message.js +0 -89
- package/dist/lib/transformations/format.d.ts +0 -42
- package/dist/lib/transformations/format.js +0 -166
- package/dist/lib/transformations/fountain_pen/astn.d.ts +0 -11
- package/dist/lib/transformations/fountain_pen/astn.js +0 -156
- package/dist/lib/transformations/fountain_pen/json.d.ts +0 -4
- package/dist/lib/transformations/fountain_pen/json.js +0 -113
- package/dist/lib/transformations/parse.d.ts +0 -11
- package/dist/lib/transformations/parse.js +0 -257
- package/dist/lib/transformations/parse_generic.d.ts +0 -43
- package/dist/lib/transformations/parse_generic.js +0 -644
- package/dist/parse/parse.d.ts +0 -11
- package/dist/parse/parse.js +0 -267
- package/dist/parse/parse_generic.d.ts +0 -43
- package/dist/parse/parse_generic.js +0 -656
- package/dist/serializers/astn.js +0 -28
- package/dist/serializers/json.d.ts +0 -5
- package/dist/serializers/json.js +0 -46
- package/dist/serializers/parse_result.d.ts +0 -5
- package/dist/serializers/parse_result.js +0 -99
- package/dist/transformations/ast/ide.d.ts +0 -42
- package/dist/transformations/ast/ide.js +0 -176
- package/dist/transformations/ast/json_target.d.ts +0 -6
- package/dist/transformations/ast/json_target.js +0 -88
- package/dist/transformations/create_error_message.d.ts +0 -5
- package/dist/transformations/create_error_message.js +0 -89
- package/dist/transformations/format.d.ts +0 -42
- package/dist/transformations/format.js +0 -166
- package/dist/transformations/fountain_pen/astn.d.ts +0 -11
- package/dist/transformations/fountain_pen/astn.js +0 -166
- package/dist/transformations/fountain_pen/json.d.ts +0 -4
- package/dist/transformations/fountain_pen/json.js +0 -123
- package/dist/transformations/parse.d.ts +0 -11
- package/dist/transformations/parse.js +0 -257
- package/dist/transformations/parse_generic.d.ts +0 -43
- package/dist/transformations/parse_generic.js +0 -644
- package/dist/transformations/target/fountain_pen/astn.d.ts +0 -11
- package/dist/transformations/target/fountain_pen/astn.js +0 -156
- package/dist/transformations/target/fountain_pen/json.d.ts +0 -4
- package/dist/transformations/target/fountain_pen/json.js +0 -113
- package/dist/transformations/target/fountain_pen_block.d.ts +0 -11
- package/dist/transformations/target/fountain_pen_block.js +0 -166
- package/dist/transformations/target_json/fountain_pen_block.d.ts +0 -4
- package/dist/transformations/target_json/fountain_pen_block.js +0 -101
- package/documentation/railroad_diagram/diagram/apostrophed_string.png +0 -0
- package/documentation/railroad_diagram/diagram/astn_document.png +0 -0
- package/documentation/railroad_diagram/diagram/backticked_string.png +0 -0
- package/documentation/railroad_diagram/diagram/comment.png +0 -0
- package/documentation/railroad_diagram/diagram/concise_group.png +0 -0
- package/documentation/railroad_diagram/diagram/content.png +0 -0
- package/documentation/railroad_diagram/diagram/dictionary.png +0 -0
- package/documentation/railroad_diagram/diagram/elements.png +0 -0
- package/documentation/railroad_diagram/diagram/escaped_character.png +0 -0
- package/documentation/railroad_diagram/diagram/four_hexadecimal_digits.png +0 -0
- package/documentation/railroad_diagram/diagram/header.png +0 -0
- package/documentation/railroad_diagram/diagram/hexadecimal_digit.png +0 -0
- package/documentation/railroad_diagram/diagram/ignorable.png +0 -0
- package/documentation/railroad_diagram/diagram/include.png +0 -0
- package/documentation/railroad_diagram/diagram/key_value_pairs.png +0 -0
- package/documentation/railroad_diagram/diagram/line_comment.png +0 -0
- package/documentation/railroad_diagram/diagram/list.png +0 -0
- package/documentation/railroad_diagram/diagram/newline_character.png +0 -0
- package/documentation/railroad_diagram/diagram/normal_character.png +0 -0
- package/documentation/railroad_diagram/diagram/normal_or_newline_character.png +0 -0
- package/documentation/railroad_diagram/diagram/quoted_string.png +0 -0
- package/documentation/railroad_diagram/diagram/rr-2.5.png +0 -0
- package/documentation/railroad_diagram/diagram/set_optional_value.png +0 -0
- package/documentation/railroad_diagram/diagram/string.png +0 -0
- package/documentation/railroad_diagram/diagram/string_content_character.png +0 -0
- package/documentation/railroad_diagram/diagram/tagged_value.png +0 -0
- package/documentation/railroad_diagram/diagram/traditional_comment.png +0 -0
- package/documentation/railroad_diagram/diagram/undelimited_string.png +0 -0
- package/documentation/railroad_diagram/diagram/value.png +0 -0
- package/documentation/railroad_diagram/diagram/verbose_group.png +0 -0
- package/documentation/railroad_diagram/diagram/whitespace.png +0 -0
- package/documentation/railroad_diagram/index.md +0 -425
- /package/{dist/serializers/astn.d.ts → client/testFixture/completion.txt} +0 -0
|
@@ -1,169 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3RhcmdldF9qc29uL3Jlc29sdmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import * as _i_core from "../../core/unresolved";
|
|
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
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0X2pzb24vdW5yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
package/dist/globals.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
interface Array<T> {
|
|
2
|
-
[n: number]: T;
|
|
3
|
-
}
|
|
4
|
-
interface Boolean {
|
|
5
|
-
}
|
|
6
|
-
interface CallableFunction {
|
|
7
|
-
}
|
|
8
|
-
interface Function {
|
|
9
|
-
(...args: unknown[]): unknown;
|
|
10
|
-
}
|
|
11
|
-
interface IArguments {
|
|
12
|
-
}
|
|
13
|
-
interface NewableFunction {
|
|
14
|
-
}
|
|
15
|
-
interface Number {
|
|
16
|
-
}
|
|
17
|
-
interface Object {
|
|
18
|
-
}
|
|
19
|
-
interface RegExp {
|
|
20
|
-
}
|
|
21
|
-
interface String {
|
|
22
|
-
}
|
|
23
|
-
interface Promise<T> {
|
|
24
|
-
}
|
package/dist/globals.js
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * as d_ast from "./generated/interface/schemas/ast/resolved";
|
|
2
|
-
export * as d_ide from "./generated/interface/schemas/ide/resolved";
|
|
3
|
-
export * as d_parse_result from "./generated/interface/schemas/parse_result/resolved";
|
|
4
|
-
export * as t_parse from "./parse/parse";
|
|
5
|
-
export * as t_format from "./transformations/ast/ide";
|
|
6
|
-
export * as t_create_error_message from "./serializers/parse_result";
|
package/dist/index.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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/resolved"));
|
|
38
|
-
exports.d_ide = __importStar(require("./generated/interface/schemas/ide/resolved"));
|
|
39
|
-
exports.d_parse_result = __importStar(require("./generated/interface/schemas/parse_result/resolved"));
|
|
40
|
-
exports.t_parse = __importStar(require("./parse/parse"));
|
|
41
|
-
exports.t_format = __importStar(require("./transformations/ast/ide"));
|
|
42
|
-
exports.t_create_error_message = __importStar(require("./serializers/parse_result"));
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsb0ZBQW1FO0FBQ25FLG9GQUFtRTtBQUNuRSxzR0FBcUY7QUFFckYseURBQXdDO0FBQ3hDLHNFQUFxRDtBQUNyRCxxRkFBb0UifQ==
|
package/dist/lib/globals.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
interface Array<T> {
|
|
2
|
-
[n: number]: T;
|
|
3
|
-
}
|
|
4
|
-
interface Boolean {
|
|
5
|
-
}
|
|
6
|
-
interface CallableFunction {
|
|
7
|
-
}
|
|
8
|
-
interface Function {
|
|
9
|
-
(...args: unknown[]): unknown;
|
|
10
|
-
}
|
|
11
|
-
interface IArguments {
|
|
12
|
-
}
|
|
13
|
-
interface NewableFunction {
|
|
14
|
-
}
|
|
15
|
-
interface Number {
|
|
16
|
-
}
|
|
17
|
-
interface Object {
|
|
18
|
-
}
|
|
19
|
-
interface RegExp {
|
|
20
|
-
}
|
|
21
|
-
interface String {
|
|
22
|
-
}
|
|
23
|
-
interface Promise<T> {
|
|
24
|
-
}
|
package/dist/lib/globals.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as parse_result from "../../generated/interface/schemas/parse_result/resolved";
|
|
2
|
-
export declare const Parse_Error_Type: ($: parse_result.Parse_Error._type) => string;
|
|
3
|
-
export declare const Parse_Error: ($: parse_result.Parse_Error, $p: {
|
|
4
|
-
"position info": ["zero based", null] | ["one based", null];
|
|
5
|
-
}) => string;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Parse_Error = exports.Parse_Error_Type = void 0;
|
|
27
|
-
const _ea = __importStar(require("exupery-core-alg"));
|
|
28
|
-
const pso = __importStar(require("pareto-standard-operations"));
|
|
29
|
-
const Parse_Error_Type = ($) => {
|
|
30
|
-
return _ea.cc($, ($) => {
|
|
31
|
-
switch ($[0]) {
|
|
32
|
-
case 'lexer': return _ea.ss($, ($) => _ea.cc($, ($) => {
|
|
33
|
-
switch ($[0]) {
|
|
34
|
-
case 'unexpected control character': return `found unexpected control character`;
|
|
35
|
-
case 'unexpected end of line in delimited string': return `found unexpected end of line in delimited string`;
|
|
36
|
-
case 'missing character after escape': return `found missing character after escape`;
|
|
37
|
-
case 'unexpected character': return `found unexpected character`;
|
|
38
|
-
case 'unterminated string': return `found unterminated string`;
|
|
39
|
-
case 'unterminated block comment': return `found unterminated block comment`;
|
|
40
|
-
case 'unterminated unicode escape sequence': return `found unterminated unicode escape sequence`;
|
|
41
|
-
case 'invalid unicode escape sequence': return `found invalid unicode escape sequence`;
|
|
42
|
-
case 'unknown escape character': return `found unknown escape character`;
|
|
43
|
-
case 'unexpected end of input': return `found unexpected end of input`;
|
|
44
|
-
case 'dangling slash': return `found dangling slash`;
|
|
45
|
-
default: return _ea.au($[0]);
|
|
46
|
-
}
|
|
47
|
-
}));
|
|
48
|
-
case 'parser': return _ea.ss($, ($) => `expected ${pso.impure.text['join list of texts with separator']($.expected.map(($) => _ea.cc($, ($) => {
|
|
49
|
-
switch ($[0]) {
|
|
50
|
-
case '!': return "'!'";
|
|
51
|
-
case ')': return "')'";
|
|
52
|
-
case ',': return "','";
|
|
53
|
-
case ':': return "':'";
|
|
54
|
-
case '>': return "'>'";
|
|
55
|
-
case '@': return "'@'";
|
|
56
|
-
case ']': return "']'";
|
|
57
|
-
case 'a string': return "a string";
|
|
58
|
-
case 'a value': return "a value";
|
|
59
|
-
case '}': return "'}'";
|
|
60
|
-
default: return _ea.au($[0]);
|
|
61
|
-
}
|
|
62
|
-
})), { 'separator': " or " })}, found ${_ea.cc($.cause, ($) => {
|
|
63
|
-
switch ($[0]) {
|
|
64
|
-
case 'unexpected token': return _ea.ss($, ($) => {
|
|
65
|
-
return $.found[0];
|
|
66
|
-
});
|
|
67
|
-
case 'missing token': return _ea.ss($, ($) => {
|
|
68
|
-
return `nothing`;
|
|
69
|
-
});
|
|
70
|
-
default: return _ea.au($[0]);
|
|
71
|
-
}
|
|
72
|
-
})}`);
|
|
73
|
-
default: return _ea.au($[0]);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
};
|
|
77
|
-
exports.Parse_Error_Type = Parse_Error_Type;
|
|
78
|
-
const Parse_Error = ($, $p) => {
|
|
79
|
-
const extra = _ea.cc($p['position info'], ($) => {
|
|
80
|
-
switch ($[0]) {
|
|
81
|
-
case 'zero based': return 0;
|
|
82
|
-
case 'one based': return 1;
|
|
83
|
-
default: return _ea.au($[0]);
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
return `failed to parse ASTN, ${(0, exports.Parse_Error_Type)($.type)} @ ${$.range.start.relative.line + extra}:${$.range.start.relative.column + extra}`;
|
|
87
|
-
};
|
|
88
|
-
exports.Parse_Error = Parse_Error;
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2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UMsS0FBSyxDQUFDLFFBQVEsQ0FBQyxJQUFJLEdBQUcsS0FBSyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsS0FBSyxDQUFDLFFBQVEsQ0FBQyxNQUFNLEdBQUcsS0FBSyxFQUFFLENBQUE7QUFDaEosQ0FBQyxDQUFDO0FBaEJXLFFBQUEsV0FBVyxlQWdCdEIifQ==
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as ast from "../../generated/interface/schemas/ast/resolved";
|
|
2
|
-
import * as ide from "../../generated/interface/schemas/ide/resolved";
|
|
3
|
-
export declare const Whitespace: ($: ast.Whitespace, $p: {
|
|
4
|
-
"remove commas": boolean;
|
|
5
|
-
"indentation string": string;
|
|
6
|
-
"current indentation": string;
|
|
7
|
-
}) => ide.Text_Edits;
|
|
8
|
-
export declare const Trivia: ($: ast.Trivia, $p: {
|
|
9
|
-
"remove commas": boolean;
|
|
10
|
-
"indentation string": string;
|
|
11
|
-
"current indentation": string;
|
|
12
|
-
}) => ide.Text_Edits;
|
|
13
|
-
export declare const Structural_Token: ($: ast.Structural_Token, $p: {
|
|
14
|
-
"remove commas": boolean;
|
|
15
|
-
"indentation string": string;
|
|
16
|
-
"current indentation": string;
|
|
17
|
-
}) => ide.Text_Edits;
|
|
18
|
-
export declare const String: ($: ast.String, $p: {
|
|
19
|
-
"remove commas": boolean;
|
|
20
|
-
"indentation string": string;
|
|
21
|
-
"current indentation": string;
|
|
22
|
-
}) => ide.Text_Edits;
|
|
23
|
-
export declare const Key_Value_Pairs: ($: ast.Key_Value_Pairs, $p: {
|
|
24
|
-
"remove commas": boolean;
|
|
25
|
-
"indentation string": string;
|
|
26
|
-
"current indentation": string;
|
|
27
|
-
}) => ide.Text_Edits;
|
|
28
|
-
export declare const Elements: ($: ast.Elements, $p: {
|
|
29
|
-
"remove commas": boolean;
|
|
30
|
-
"indentation string": string;
|
|
31
|
-
"current indentation": string;
|
|
32
|
-
}) => ide.Text_Edits;
|
|
33
|
-
export declare const Value: ($: ast.Value, $p: {
|
|
34
|
-
"remove commas": boolean;
|
|
35
|
-
"indentation string": string;
|
|
36
|
-
"current indentation": string;
|
|
37
|
-
}) => ide.Text_Edits;
|
|
38
|
-
export declare const Document: ($: ast.Document, $p: {
|
|
39
|
-
"remove commas": boolean;
|
|
40
|
-
"indentation string": string;
|
|
41
|
-
"current indentation": string;
|
|
42
|
-
}) => ide.Text_Edits;
|