astn 0.110.20 → 0.110.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.
Files changed (57) hide show
  1. package/package.json +1 -1
  2. package/dist/generated/generic/astn_target.d.ts +0 -186
  3. package/dist/generated/generic/astn_target.js +0 -3
  4. package/dist/generated/generic/resolve.d.ts +0 -90
  5. package/dist/generated/generic/resolve.js +0 -251
  6. package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +0 -14
  7. package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -179
  8. package/dist/generated/implementation/schemas/ast/serializer.d.ts +0 -14
  9. package/dist/generated/implementation/schemas/ast/serializer.js +0 -328
  10. package/dist/generated/implementation/schemas/ide/migration_boilerplate.d.ts +0 -3
  11. package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +0 -58
  12. package/dist/generated/implementation/schemas/ide/serializer.d.ts +0 -3
  13. package/dist/generated/implementation/schemas/ide/serializer.js +0 -72
  14. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +0 -6
  15. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +0 -136
  16. package/dist/generated/implementation/schemas/parse_result/serializer.d.ts +0 -6
  17. package/dist/generated/implementation/schemas/parse_result/serializer.js +0 -288
  18. package/dist/generated/implementation/schemas/target/migration_boilerplate.d.ts +0 -3
  19. package/dist/generated/implementation/schemas/target/migration_boilerplate.js +0 -73
  20. package/dist/generated/implementation/schemas/target/serializer.d.ts +0 -3
  21. package/dist/generated/implementation/schemas/target/serializer.js +0 -122
  22. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.d.ts +0 -3
  23. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.js +0 -67
  24. package/dist/generated/interface/core/poormans_parser.d.ts +0 -184
  25. package/dist/generated/interface/core/poormans_parser.js +0 -3
  26. package/dist/generated/interface/generic/resolve.d.ts +0 -11
  27. package/dist/generated/interface/generic/resolve.js +0 -3
  28. package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +0 -288
  29. package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
  30. package/dist/generated/interface/schemas/ast/serializer.d.ts +0 -436
  31. package/dist/generated/interface/schemas/ast/serializer.js +0 -3
  32. package/dist/generated/interface/schemas/ide/migration_boilerplate.d.ts +0 -46
  33. package/dist/generated/interface/schemas/ide/migration_boilerplate.js +0 -3
  34. package/dist/generated/interface/schemas/ide/serializer.d.ts +0 -106
  35. package/dist/generated/interface/schemas/ide/serializer.js +0 -3
  36. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +0 -112
  37. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +0 -3
  38. package/dist/generated/interface/schemas/parse_result/serializer.d.ts +0 -196
  39. package/dist/generated/interface/schemas/parse_result/serializer.js +0 -3
  40. package/dist/generated/interface/schemas/target/migration_boilerplate.d.ts +0 -46
  41. package/dist/generated/interface/schemas/target/migration_boilerplate.js +0 -3
  42. package/dist/generated/interface/schemas/target/serializer.d.ts +0 -126
  43. package/dist/generated/interface/schemas/target/serializer.js +0 -3
  44. package/dist/generated/interface/schemas/target_json/migration_boilerplate.d.ts +0 -46
  45. package/dist/generated/interface/schemas/target_json/migration_boilerplate.js +0 -3
  46. package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +0 -169
  47. package/dist/generated/interface/schemas/target_json/unconstrained.js +0 -3
  48. package/dist/index.d.ts +0 -6
  49. package/dist/index.js +0 -33
  50. package/dist/parse/parse_generic.d.ts +0 -8
  51. package/dist/parse/parse_generic.js +0 -65
  52. package/dist/parse/tokenize.d.ts +0 -8
  53. package/dist/parse/tokenize.js +0 -483
  54. package/dist/serializers/json.d.ts +0 -5
  55. package/dist/serializers/json.js +0 -36
  56. package/dist/transformations/target_json/fountain_pen_block.d.ts +0 -4
  57. package/dist/transformations/target_json/fountain_pen_block.js +0 -91
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy9wYXJzZV9yZXN1bHQvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,196 +0,0 @@
1
- import * as _i_in from "./unconstrained";
2
- import * as _i_out from "../../core/astn_target";
3
- export type _T_Value_Serializers = {
4
- readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
- readonly 'custom numbers': null;
6
- readonly 'default number': ($$_: number, $$_p: null) => string;
7
- };
8
- export type _T_s_Annotated_Token = ($$_: _i_in._T_Annotated_Token, $$_p: {
9
- readonly 'value serializers': _T_Value_Serializers;
10
- }) => _i_out._T_Value;
11
- export type _T_s_Parse_Error = ($$_: _i_in._T_Parse_Error, $$_p: {
12
- readonly 'value serializers': _T_Value_Serializers;
13
- }) => _i_out._T_Value;
14
- export type _T_s_Parse_Result = ($$_: _i_in._T_Parse_Result, $$_p: {
15
- readonly 'value serializers': _T_Value_Serializers;
16
- }) => _i_out._T_Value;
17
- export type _T_s_Token_Type = ($$_: _i_in._T_Token_Type, $$_p: {
18
- readonly 'value serializers': _T_Value_Serializers;
19
- }) => _i_out._T_Value;
20
- export type _T_s_Tokenizer_Result = ($$_: _i_in._T_Tokenizer_Result, $$_p: {
21
- readonly 'value serializers': _T_Value_Serializers;
22
- }) => _i_out._T_Value;
23
- export type Value_Serializers = _T_Value_Serializers;
24
- export type s_Annotated_Token = _T_s_Annotated_Token;
25
- export type s_Parse_Error = _T_s_Parse_Error;
26
- export type s_Parse_Result = _T_s_Parse_Result;
27
- export type s_Token_Type = _T_s_Token_Type;
28
- export type s_Tokenizer_Result = _T_s_Tokenizer_Result;
29
- export declare namespace _T_Value_Serializers {
30
- namespace _boolean {
31
- type CONTEXT = boolean;
32
- namespace PARAMS {
33
- }
34
- type RESULT = string;
35
- }
36
- type _boolean = ($$_: boolean, $$_p: null) => string;
37
- namespace custom_numbers {
38
- }
39
- type custom_numbers = null;
40
- namespace default_number {
41
- type CONTEXT = number;
42
- namespace PARAMS {
43
- }
44
- type RESULT = string;
45
- }
46
- type default_number = ($$_: number, $$_p: null) => string;
47
- }
48
- export declare namespace _T_s_Annotated_Token {
49
- namespace CONTEXT {
50
- }
51
- type CONTEXT = _i_in._T_Annotated_Token;
52
- namespace PARAMS {
53
- namespace value_serializers {
54
- }
55
- type value_serializers = _T_Value_Serializers;
56
- }
57
- namespace RESULT {
58
- }
59
- type RESULT = _i_out._T_Value;
60
- }
61
- export declare namespace _T_s_Parse_Error {
62
- namespace CONTEXT {
63
- }
64
- type CONTEXT = _i_in._T_Parse_Error;
65
- namespace PARAMS {
66
- namespace value_serializers {
67
- }
68
- type value_serializers = _T_Value_Serializers;
69
- }
70
- namespace RESULT {
71
- }
72
- type RESULT = _i_out._T_Value;
73
- }
74
- export declare namespace _T_s_Parse_Result {
75
- namespace CONTEXT {
76
- }
77
- type CONTEXT = _i_in._T_Parse_Result;
78
- namespace PARAMS {
79
- namespace value_serializers {
80
- }
81
- type value_serializers = _T_Value_Serializers;
82
- }
83
- namespace RESULT {
84
- }
85
- type RESULT = _i_out._T_Value;
86
- }
87
- export declare namespace _T_s_Token_Type {
88
- namespace CONTEXT {
89
- }
90
- type CONTEXT = _i_in._T_Token_Type;
91
- namespace PARAMS {
92
- namespace value_serializers {
93
- }
94
- type value_serializers = _T_Value_Serializers;
95
- }
96
- namespace RESULT {
97
- }
98
- type RESULT = _i_out._T_Value;
99
- }
100
- export declare namespace _T_s_Tokenizer_Result {
101
- namespace CONTEXT {
102
- }
103
- type CONTEXT = _i_in._T_Tokenizer_Result;
104
- namespace PARAMS {
105
- namespace value_serializers {
106
- }
107
- type value_serializers = _T_Value_Serializers;
108
- }
109
- namespace RESULT {
110
- }
111
- type RESULT = _i_out._T_Value;
112
- }
113
- export declare namespace Value_Serializers {
114
- namespace _boolean {
115
- type CONTEXT = boolean;
116
- namespace PARAMS {
117
- }
118
- type RESULT = string;
119
- }
120
- type _boolean = ($$_: boolean, $$_p: null) => string;
121
- namespace custom_numbers {
122
- }
123
- type custom_numbers = null;
124
- namespace default_number {
125
- type CONTEXT = number;
126
- namespace PARAMS {
127
- }
128
- type RESULT = string;
129
- }
130
- type default_number = ($$_: number, $$_p: null) => string;
131
- }
132
- export declare namespace s_Annotated_Token {
133
- namespace CONTEXT {
134
- }
135
- type CONTEXT = _i_in._T_Annotated_Token;
136
- namespace PARAMS {
137
- namespace value_serializers {
138
- }
139
- type value_serializers = _T_Value_Serializers;
140
- }
141
- namespace RESULT {
142
- }
143
- type RESULT = _i_out._T_Value;
144
- }
145
- export declare namespace s_Parse_Error {
146
- namespace CONTEXT {
147
- }
148
- type CONTEXT = _i_in._T_Parse_Error;
149
- namespace PARAMS {
150
- namespace value_serializers {
151
- }
152
- type value_serializers = _T_Value_Serializers;
153
- }
154
- namespace RESULT {
155
- }
156
- type RESULT = _i_out._T_Value;
157
- }
158
- export declare namespace s_Parse_Result {
159
- namespace CONTEXT {
160
- }
161
- type CONTEXT = _i_in._T_Parse_Result;
162
- namespace PARAMS {
163
- namespace value_serializers {
164
- }
165
- type value_serializers = _T_Value_Serializers;
166
- }
167
- namespace RESULT {
168
- }
169
- type RESULT = _i_out._T_Value;
170
- }
171
- export declare namespace s_Token_Type {
172
- namespace CONTEXT {
173
- }
174
- type CONTEXT = _i_in._T_Token_Type;
175
- namespace PARAMS {
176
- namespace value_serializers {
177
- }
178
- type value_serializers = _T_Value_Serializers;
179
- }
180
- namespace RESULT {
181
- }
182
- type RESULT = _i_out._T_Value;
183
- }
184
- export declare namespace s_Tokenizer_Result {
185
- namespace CONTEXT {
186
- }
187
- type CONTEXT = _i_in._T_Tokenizer_Result;
188
- namespace PARAMS {
189
- namespace value_serializers {
190
- }
191
- type value_serializers = _T_Value_Serializers;
192
- }
193
- namespace RESULT {
194
- }
195
- type RESULT = _i_out._T_Value;
196
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvcGFyc2VfcmVzdWx0L3NlcmlhbGl6ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,46 +0,0 @@
1
- import * as _i_in from "./unconstrained";
2
- import * as _i_out from "./unconstrained";
3
- export type _T_Document = ($$_: _i_in._T_Document, $$_p: null) => _i_out._T_Document;
4
- export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
5
- export type Document = _T_Document;
6
- export type Value = _T_Value;
7
- export declare namespace _T_Document {
8
- namespace CONTEXT {
9
- }
10
- type CONTEXT = _i_in._T_Document;
11
- namespace PARAMS {
12
- }
13
- namespace RESULT {
14
- }
15
- type RESULT = _i_out._T_Document;
16
- }
17
- export declare namespace _T_Value {
18
- namespace CONTEXT {
19
- }
20
- type CONTEXT = _i_in._T_Value;
21
- namespace PARAMS {
22
- }
23
- namespace RESULT {
24
- }
25
- type RESULT = _i_out._T_Value;
26
- }
27
- export declare namespace Document {
28
- namespace CONTEXT {
29
- }
30
- type CONTEXT = _i_in._T_Document;
31
- namespace PARAMS {
32
- }
33
- namespace RESULT {
34
- }
35
- type RESULT = _i_out._T_Document;
36
- }
37
- export declare namespace Value {
38
- namespace CONTEXT {
39
- }
40
- type CONTEXT = _i_in._T_Value;
41
- namespace PARAMS {
42
- }
43
- namespace RESULT {
44
- }
45
- type RESULT = _i_out._T_Value;
46
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90YXJnZXQvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,126 +0,0 @@
1
- import * as _i_in from "./unconstrained";
2
- import * as _i_out from "../../core/astn_target";
3
- export type _T_Value_Serializers = {
4
- readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
- readonly 'custom numbers': {
6
- readonly 'Position': ($$_: number, $$_p: null) => string;
7
- };
8
- readonly 'default number': ($$_: number, $$_p: null) => string;
9
- };
10
- export type _T_s_Document = ($$_: _i_in._T_Document, $$_p: {
11
- readonly 'value serializers': _T_Value_Serializers;
12
- }) => _i_out._T_Value;
13
- export type _T_s_Value = ($$_: _i_in._T_Value, $$_p: {
14
- readonly 'value serializers': _T_Value_Serializers;
15
- }) => _i_out._T_Value;
16
- export type Value_Serializers = _T_Value_Serializers;
17
- export type s_Document = _T_s_Document;
18
- export type s_Value = _T_s_Value;
19
- export declare namespace _T_Value_Serializers {
20
- namespace _boolean {
21
- type CONTEXT = boolean;
22
- namespace PARAMS {
23
- }
24
- type RESULT = string;
25
- }
26
- type _boolean = ($$_: boolean, $$_p: null) => string;
27
- namespace custom_numbers {
28
- namespace Position {
29
- type CONTEXT = number;
30
- namespace PARAMS {
31
- }
32
- type RESULT = string;
33
- }
34
- type Position = ($$_: number, $$_p: null) => string;
35
- }
36
- type custom_numbers = {
37
- readonly 'Position': ($$_: number, $$_p: null) => string;
38
- };
39
- namespace default_number {
40
- type CONTEXT = number;
41
- namespace PARAMS {
42
- }
43
- type RESULT = string;
44
- }
45
- type default_number = ($$_: number, $$_p: null) => string;
46
- }
47
- export declare namespace _T_s_Document {
48
- namespace CONTEXT {
49
- }
50
- type CONTEXT = _i_in._T_Document;
51
- namespace PARAMS {
52
- namespace value_serializers {
53
- }
54
- type value_serializers = _T_Value_Serializers;
55
- }
56
- namespace RESULT {
57
- }
58
- type RESULT = _i_out._T_Value;
59
- }
60
- export declare namespace _T_s_Value {
61
- namespace CONTEXT {
62
- }
63
- type CONTEXT = _i_in._T_Value;
64
- namespace PARAMS {
65
- namespace value_serializers {
66
- }
67
- type value_serializers = _T_Value_Serializers;
68
- }
69
- namespace RESULT {
70
- }
71
- type RESULT = _i_out._T_Value;
72
- }
73
- export declare namespace Value_Serializers {
74
- namespace _boolean {
75
- type CONTEXT = boolean;
76
- namespace PARAMS {
77
- }
78
- type RESULT = string;
79
- }
80
- type _boolean = ($$_: boolean, $$_p: null) => string;
81
- namespace custom_numbers {
82
- namespace Position {
83
- type CONTEXT = number;
84
- namespace PARAMS {
85
- }
86
- type RESULT = string;
87
- }
88
- type Position = ($$_: number, $$_p: null) => string;
89
- }
90
- type custom_numbers = {
91
- readonly 'Position': ($$_: number, $$_p: null) => string;
92
- };
93
- namespace default_number {
94
- type CONTEXT = number;
95
- namespace PARAMS {
96
- }
97
- type RESULT = string;
98
- }
99
- type default_number = ($$_: number, $$_p: null) => string;
100
- }
101
- export declare namespace s_Document {
102
- namespace CONTEXT {
103
- }
104
- type CONTEXT = _i_in._T_Document;
105
- namespace PARAMS {
106
- namespace value_serializers {
107
- }
108
- type value_serializers = _T_Value_Serializers;
109
- }
110
- namespace RESULT {
111
- }
112
- type RESULT = _i_out._T_Value;
113
- }
114
- export declare namespace s_Value {
115
- namespace CONTEXT {
116
- }
117
- type CONTEXT = _i_in._T_Value;
118
- namespace PARAMS {
119
- namespace value_serializers {
120
- }
121
- type value_serializers = _T_Value_Serializers;
122
- }
123
- namespace RESULT {
124
- }
125
- type RESULT = _i_out._T_Value;
126
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0L3NlcmlhbGl6ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,46 +0,0 @@
1
- import * as _i_in from "./unconstrained";
2
- import * as _i_out from "./unconstrained";
3
- export type _T_Document = ($$_: _i_in._T_Document, $$_p: null) => _i_out._T_Document;
4
- export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
5
- export type Document = _T_Document;
6
- export type Value = _T_Value;
7
- export declare namespace _T_Document {
8
- namespace CONTEXT {
9
- }
10
- type CONTEXT = _i_in._T_Document;
11
- namespace PARAMS {
12
- }
13
- namespace RESULT {
14
- }
15
- type RESULT = _i_out._T_Document;
16
- }
17
- export declare namespace _T_Value {
18
- namespace CONTEXT {
19
- }
20
- type CONTEXT = _i_in._T_Value;
21
- namespace PARAMS {
22
- }
23
- namespace RESULT {
24
- }
25
- type RESULT = _i_out._T_Value;
26
- }
27
- export declare namespace Document {
28
- namespace CONTEXT {
29
- }
30
- type CONTEXT = _i_in._T_Document;
31
- namespace PARAMS {
32
- }
33
- namespace RESULT {
34
- }
35
- type RESULT = _i_out._T_Document;
36
- }
37
- export declare namespace Value {
38
- namespace CONTEXT {
39
- }
40
- type CONTEXT = _i_in._T_Value;
41
- namespace PARAMS {
42
- }
43
- namespace RESULT {
44
- }
45
- type RESULT = _i_out._T_Value;
46
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90YXJnZXRfanNvbi9taWdyYXRpb25fYm9pbGVycGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,169 +0,0 @@
1
- import * as _i_core from "../../core/unconstrained";
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0X2pzb24vdW5jb25zdHJhaW5lZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
package/dist/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export * as d_ast from "./generated/interface/schemas/ast/unconstrained";
2
- export * as d_ide from "./generated/interface/schemas/ide/unconstrained";
3
- export * as d_parse_result from "./generated/interface/schemas/parse_result/unconstrained";
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,33 +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.t_create_error_message = exports.t_format = exports.t_parse = exports.d_parse_result = exports.d_ide = exports.d_ast = void 0;
27
- exports.d_ast = __importStar(require("./generated/interface/schemas/ast/unconstrained"));
28
- exports.d_ide = __importStar(require("./generated/interface/schemas/ide/unconstrained"));
29
- exports.d_parse_result = __importStar(require("./generated/interface/schemas/parse_result/unconstrained"));
30
- exports.t_parse = __importStar(require("./parse/parse"));
31
- exports.t_format = __importStar(require("./transformations/ast/ide"));
32
- exports.t_create_error_message = __importStar(require("./serializers/parse_result"));
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5RkFBd0U7QUFDeEUseUZBQXdFO0FBQ3hFLDJHQUEwRjtBQUUxRix5REFBd0M7QUFDeEMsc0VBQXFEO0FBQ3JELHFGQUFvRSJ9
@@ -1,8 +0,0 @@
1
- import * as _et from 'exupery-core-types';
2
- import * as si from "./string_iterator";
3
- import * as d_token from "../generated/interface/schemas/token/unconstrained";
4
- import * as d_parse_result from "../generated/interface/schemas/parse_result/unconstrained";
5
- export declare const throw_parse_error: (type: d_parse_result.Parse_Error._type, range: d_token.Range) => never;
6
- export declare const throw_unexpected_token: (found: d_token.Annotated_Token, expected: _et.Array<d_parse_result.Parse_Error._type.SG.parser.expected.L>) => never;
7
- export type ASTN_Token_Iterator = si.Token_Iterator<d_parse_result.Parse_Error._type.SG.parser.expected.L, d_token.Annotated_Token>;
8
- export declare const create_astn_token_iterator: ($: d_token.Tokenizer_Result.tokens, end: si.Location) => ASTN_Token_Iterator;