pareto 0.76.44 → 0.76.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/compile.d.ts +1 -0
- package/dist/bin/compile.js +5 -9
- package/dist/bin/seal.d.ts +2 -0
- package/dist/bin/seal.js +30 -0
- package/dist/bin/serialize_schemas.d.ts +2 -0
- package/dist/bin/serialize_schemas.js +30 -0
- package/dist/bin/validate.d.ts +2 -0
- package/dist/bin/validate.js +30 -0
- package/dist/deserializers/load_schema.d.ts +6 -0
- package/dist/deserializers/load_schema.js +90 -0
- package/dist/generated/implementation/generic/resolve.d.ts +1 -1
- package/dist/generated/implementation/generic/resolve.js +16 -16
- package/dist/generated/implementation/generic/unmarshall.js +5 -4
- package/dist/generated/implementation/schemas/ast/marshall.d.ts +8 -0
- package/dist/generated/implementation/schemas/ast/marshall.js +241 -0
- package/dist/generated/implementation/schemas/ast/unmarshall.d.ts +8 -0
- package/dist/generated/implementation/schemas/ast/unmarshall.js +316 -0
- package/dist/generated/implementation/schemas/token/marshall.d.ts +11 -0
- package/dist/generated/implementation/schemas/token/marshall.js +230 -0
- package/dist/generated/implementation/schemas/token/unmarshall.d.ts +11 -0
- package/dist/generated/implementation/schemas/token/unmarshall.js +218 -0
- package/dist/generated/interface/core/astn_source.d.ts +5 -5
- package/dist/generated/interface/schemas/ast/data_types/resolve.js +7 -0
- package/dist/generated/interface/schemas/ast/data_types/source.d.ts +851 -0
- package/dist/generated/interface/schemas/ast/data_types/source.js +3 -0
- package/dist/generated/interface/schemas/ast/data_types/target.d.ts +851 -0
- package/dist/generated/interface/schemas/ast/data_types/target.js +3 -0
- package/dist/generated/interface/schemas/ast/marshall.d.ts +213 -0
- package/dist/generated/interface/schemas/ast/marshall.js +3 -0
- package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +156 -0
- package/dist/generated/interface/schemas/ast/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/ast/unmarshall.d.ts +213 -0
- package/dist/generated/interface/schemas/ast/unmarshall.js +3 -0
- package/dist/generated/interface/schemas/ast/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/ast/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/ast/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/ast/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/token/data_types/resolve.d.ts +1 -0
- package/dist/generated/interface/schemas/token/data_types/resolve.js +7 -0
- package/dist/generated/interface/schemas/token/data_types/source.d.ts +326 -0
- package/dist/generated/interface/schemas/token/data_types/source.js +3 -0
- package/dist/generated/interface/schemas/token/data_types/target.d.ts +326 -0
- package/dist/generated/interface/schemas/token/data_types/target.js +3 -0
- package/dist/generated/interface/schemas/token/marshall.d.ts +303 -0
- package/dist/generated/interface/schemas/token/marshall.js +3 -0
- package/dist/generated/interface/schemas/token/migrate_boilerplate.d.ts +222 -0
- package/dist/generated/interface/schemas/token/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/token/unmarshall.d.ts +303 -0
- package/dist/generated/interface/schemas/token/unmarshall.js +3 -0
- package/dist/generated/interface/schemas/token/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/token/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/token/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/token/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_result/data_types/source.js +1 -1
- package/dist/generated/interface/schemas/unmarshall_result/data_types/target.js +1 -1
- package/dist/operations/path.js +16 -0
- package/dist/procedures/compile.d.ts +2 -0
- package/dist/procedures/compile.js +84 -0
- package/dist/procedures/seal.d.ts +3 -0
- package/dist/procedures/seal.js +106 -0
- package/dist/procedures/serialize_schemas.d.ts +2 -0
- package/dist/procedures/serialize_schemas.js +63 -0
- package/dist/procedures/test.d.ts +2 -0
- package/dist/procedures/test.js +99 -0
- package/dist/procedures/validate.d.ts +2 -0
- package/dist/procedures/validate.js +40 -0
- package/dist/queries/load_pareto_document.d.ts +13 -0
- package/dist/queries/load_pareto_document.js +82 -0
- package/dist/queries/load_pareto_file.d.ts +7 -0
- package/dist/queries/load_pareto_file.js +45 -0
- package/dist/shorthands/module.d.ts +5 -5
- package/dist/shorthands/module.js +1 -1
- package/dist/shorthands/schema.d.ts +1 -1
- package/dist/shorthands/schema.js +4 -4
- package/dist/temp/temporary_schemas/accounting_ruwe_data/schema_tree.astn.js +19 -21
- package/dist/temp/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.module.astn.d.ts +2 -2
- package/dist/temp/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.module.astn.js +1 -1
- package/dist/temp/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.types.astn.d.ts +2 -2
- package/dist/temp/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.types.astn.js +1 -1
- package/dist/temp/temporary_schemas/astn/schemas/ast/$.types.astn.js +4 -4
- package/dist/temp/temporary_schemas/pareto/schema_tree.astn.js +5 -1
- package/dist/temp/temporary_schemas/pareto/schemas/unmarshall_result/$.globals.astn.js +2 -2
- package/dist/temp/temporary_schemas/pareto/schemas/unmarshall_result/$.module.astn.js +4 -2
- package/dist/temp/temporary_schemas/pareto/schemas/unmarshall_result/$.types.astn.js +144 -123
- package/dist/temp/temporary_schemas/pareto-boekhouding/schema_tree.astn.d.ts +2 -2
- package/dist/temp/temporary_schemas/pareto-boekhouding/schema_tree.astn.js +3 -1
- package/dist/temp/temporary_schemas/{accounting_ruwe_data → pareto-boekhouding}/schemas/boekhouding_oude_model/$.globals.astn.js +1 -1
- package/dist/temp/temporary_schemas/{accounting_ruwe_data → pareto-boekhouding}/schemas/boekhouding_oude_model/$.module.astn.js +1 -1
- package/dist/temp/temporary_schemas/{accounting_ruwe_data → pareto-boekhouding}/schemas/boekhouding_oude_model/$.types.astn.js +1 -1
- package/dist/temp/temporary_schemas/pareto-json/operations.astn.d.ts +2 -2
- package/dist/temp/temporary_schemas/pareto-json/operations.astn.js +1 -1
- package/dist/temp/temporary_schemas/pareto-json/schemas/json/$.globals.astn.d.ts +2 -2
- package/dist/temp/temporary_schemas/pareto-json/schemas/json/$.globals.astn.js +1 -1
- package/dist/test.d.ts +2 -0
- package/dist/{bin/test.js → test.js} +5 -3
- package/dist/transformations/schema/exupery_implementation/main.js +5 -8
- package/dist/transformations/schema/exupery_implementation/marshall.js +12 -17
- package/dist/transformations/schema/exupery_implementation/migrate_boilerplate.js +13 -19
- package/dist/transformations/schema/exupery_implementation/resolve.js +32 -37
- package/dist/transformations/schema/exupery_implementation/unmarshall.js +15 -20
- package/dist/transformations/schema/exupery_interface/dummy_resolve.js +1 -5
- package/dist/transformations/schema/exupery_interface/marshall.js +1 -6
- package/dist/transformations/schema/exupery_interface/migrate_boilerplate.js +1 -6
- package/dist/transformations/schema/exupery_interface/resolve.js +7 -10
- package/dist/transformations/schema/exupery_interface/types.js +9 -13
- package/dist/transformations/schema/exupery_interface/unmarshall.d.ts +2 -2
- package/dist/transformations/schema/exupery_interface/unmarshall.js +1 -6
- package/dist/transformations/schema/exupery_interface/value_deserializers.js +1 -6
- package/dist/transformations/schema/exupery_interface/value_serializers.js +1 -6
- package/dist/{other → transformations}/unmarshall_astn_ast.js +18 -14
- package/dist/transformations/unmarshall_errors/fountain_pen.js +5 -8
- package/dist/transformations/unmarshall_result/unmarshall_errors.js +10 -12
- package/package.json +8 -8
- package/dist/generated/interface/schemas/module/data_types/resolved.d.ts +0 -133
- package/dist/generated/interface/schemas/module/data_types/resolved.js +0 -3
- package/dist/generated/interface/schemas/module/data_types/unresolved.d.ts +0 -133
- package/dist/generated/interface/schemas/module/data_types/unresolved.js +0 -3
- package/dist/generated/interface/schemas/schema/data_types/resolved.d.ts +0 -3786
- package/dist/generated/interface/schemas/schema/data_types/resolved.js +0 -3
- package/dist/generated/interface/schemas/schema/data_types/unresolved.d.ts +0 -3786
- package/dist/generated/interface/schemas/schema/data_types/unresolved.js +0 -3
- package/dist/generated/interface/schemas/unmarshall_errors/data_types/unconstrained.d.ts +0 -630
- package/dist/generated/interface/schemas/unmarshall_errors/data_types/unconstrained.js +0 -3
- package/dist/other/compile_astn.d.ts +0 -3
- package/dist/other/compile_astn.js +0 -68
- package/dist/other/fp_write_to_console.d.ts +0 -5
- package/dist/other/fp_write_to_console.js +0 -38
- package/dist/other/load_astn_document.d.ts +0 -12
- package/dist/other/load_astn_document.js +0 -80
- package/dist/other/load_schema.d.ts +0 -5
- package/dist/other/load_schema.js +0 -95
- package/dist/other/path.js +0 -39
- package/dist/other/serialize_schemas.d.ts +0 -3
- package/dist/other/serialize_schemas.js +0 -67
- package/dist/other/test.d.ts +0 -1
- package/dist/other/test.js +0 -84
- /package/dist/{bin/test.d.ts → generated/interface/schemas/ast/data_types/resolve.d.ts} +0 -0
- /package/dist/{other → operations}/path.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{accounting_ruwe_data → pareto-boekhouding}/schemas/boekhouding_oude_model/$.globals.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{accounting_ruwe_data → pareto-boekhouding}/schemas/boekhouding_oude_model/$.module.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{accounting_ruwe_data → pareto-boekhouding}/schemas/boekhouding_oude_model/$.types.astn.d.ts +0 -0
- /package/dist/{other → transformations}/unmarshall_astn_ast.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// **** TYPES
|
|
4
|
+
// **** FRIENDLY NAMES FOR THE GLOBAL TYPES
|
|
5
|
+
// **** ALIASES FOR NESTED TYPE WITH PREFIXED ROOT NAMES
|
|
6
|
+
// *** ALIASES FOR NESTED TYPES
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdG9rZW4vZGF0YV90eXBlcy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBTUEsYUFBYTtBQUViLDJDQUEyQztBQUUzQyx3REFBd0Q7QUFFeEQsK0JBQStCIn0=
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import * as _i_core from "../../../core/resolved";
|
|
2
|
+
export type _T_Annotated_Token = {
|
|
3
|
+
readonly 'end': _T_Location;
|
|
4
|
+
readonly 'start': _T_Location;
|
|
5
|
+
readonly 'trailing trivia': _T_Trivia;
|
|
6
|
+
readonly 'type': _T_Token_Type;
|
|
7
|
+
};
|
|
8
|
+
export type _T_Delimited_String = string;
|
|
9
|
+
export type _T_Location = {
|
|
10
|
+
readonly 'absolute': number;
|
|
11
|
+
readonly 'relative': _T_Relative_Location;
|
|
12
|
+
};
|
|
13
|
+
export type _T_Range = {
|
|
14
|
+
readonly 'end': _T_Location;
|
|
15
|
+
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
|
+
readonly 'end': _T_Location;
|
|
31
|
+
readonly 'leading trivia': _T_Trivia;
|
|
32
|
+
readonly 'tokens': _i_core._T_List<null, _T_Annotated_Token>;
|
|
33
|
+
};
|
|
34
|
+
export type _T_Trivia = {
|
|
35
|
+
readonly 'comments': _i_core._T_List<null, {
|
|
36
|
+
readonly 'content': string;
|
|
37
|
+
readonly 'range': _T_Range;
|
|
38
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
39
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
40
|
+
}>;
|
|
41
|
+
readonly 'leading whitespace': _T_Whitespace;
|
|
42
|
+
};
|
|
43
|
+
export type _T_Whitespace = {
|
|
44
|
+
readonly 'range': _T_Range;
|
|
45
|
+
readonly 'value': string;
|
|
46
|
+
};
|
|
47
|
+
export type Annotated_Token = _T_Annotated_Token;
|
|
48
|
+
export type Delimited_String = _T_Delimited_String;
|
|
49
|
+
export type Location = _T_Location;
|
|
50
|
+
export type Range = _T_Range;
|
|
51
|
+
export type Relative_Location = _T_Relative_Location;
|
|
52
|
+
export type String_Type = _T_String_Type;
|
|
53
|
+
export type Token_Type = _T_Token_Type;
|
|
54
|
+
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
55
|
+
export type Trivia = _T_Trivia;
|
|
56
|
+
export type Whitespace = _T_Whitespace;
|
|
57
|
+
export declare namespace _T_Annotated_Token {
|
|
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;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace _T_Location {
|
|
72
|
+
type absolute = number;
|
|
73
|
+
namespace relative {
|
|
74
|
+
}
|
|
75
|
+
type relative = _T_Relative_Location;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace _T_Range {
|
|
78
|
+
namespace end {
|
|
79
|
+
}
|
|
80
|
+
type end = _T_Location;
|
|
81
|
+
namespace start {
|
|
82
|
+
}
|
|
83
|
+
type start = _T_Location;
|
|
84
|
+
}
|
|
85
|
+
export declare namespace _T_Relative_Location {
|
|
86
|
+
type column = number;
|
|
87
|
+
type line = number;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace _T_String_Type {
|
|
90
|
+
namespace SG {
|
|
91
|
+
type apostrophed = null;
|
|
92
|
+
type backticked = null;
|
|
93
|
+
type quoted = null;
|
|
94
|
+
type undelimited = null;
|
|
95
|
+
}
|
|
96
|
+
type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
97
|
+
}
|
|
98
|
+
export declare namespace _T_Token_Type {
|
|
99
|
+
namespace SG {
|
|
100
|
+
type $ex_ = null;
|
|
101
|
+
type $ha_ = null;
|
|
102
|
+
type $po_ = null;
|
|
103
|
+
type $pc_ = null;
|
|
104
|
+
type $sr_ = null;
|
|
105
|
+
type $cl_ = null;
|
|
106
|
+
type $st_ = null;
|
|
107
|
+
type $gt_ = null;
|
|
108
|
+
type $at_ = null;
|
|
109
|
+
type $bo_ = null;
|
|
110
|
+
type $bc_ = null;
|
|
111
|
+
namespace _string {
|
|
112
|
+
namespace _type {
|
|
113
|
+
}
|
|
114
|
+
type _type = _T_String_Type;
|
|
115
|
+
namespace value {
|
|
116
|
+
}
|
|
117
|
+
type value = _T_Delimited_String;
|
|
118
|
+
}
|
|
119
|
+
type _string = {
|
|
120
|
+
readonly 'type': _T_String_Type;
|
|
121
|
+
readonly 'value': _T_Delimited_String;
|
|
122
|
+
};
|
|
123
|
+
type $co_ = null;
|
|
124
|
+
type $vb_ = null;
|
|
125
|
+
type $cc_ = null;
|
|
126
|
+
type $ti_ = null;
|
|
127
|
+
}
|
|
128
|
+
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 [
|
|
129
|
+
'string',
|
|
130
|
+
{
|
|
131
|
+
readonly 'type': _T_String_Type;
|
|
132
|
+
readonly 'value': _T_Delimited_String;
|
|
133
|
+
}
|
|
134
|
+
] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
|
|
135
|
+
}
|
|
136
|
+
export declare namespace _T_Tokenizer_Result {
|
|
137
|
+
namespace end {
|
|
138
|
+
}
|
|
139
|
+
type end = _T_Location;
|
|
140
|
+
namespace leading_trivia {
|
|
141
|
+
}
|
|
142
|
+
type leading_trivia = _T_Trivia;
|
|
143
|
+
namespace tokens {
|
|
144
|
+
namespace L {
|
|
145
|
+
}
|
|
146
|
+
type L = _T_Annotated_Token;
|
|
147
|
+
}
|
|
148
|
+
type tokens = _i_core._T_List<null, _T_Annotated_Token>;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace _T_Trivia {
|
|
151
|
+
namespace comments {
|
|
152
|
+
namespace L {
|
|
153
|
+
type content = string;
|
|
154
|
+
namespace range {
|
|
155
|
+
}
|
|
156
|
+
type range = _T_Range;
|
|
157
|
+
namespace trailing_whitespace {
|
|
158
|
+
}
|
|
159
|
+
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
|
+
}
|
|
169
|
+
type L = {
|
|
170
|
+
readonly 'content': string;
|
|
171
|
+
readonly 'range': _T_Range;
|
|
172
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
173
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
type comments = _i_core._T_List<null, {
|
|
177
|
+
readonly 'content': string;
|
|
178
|
+
readonly 'range': _T_Range;
|
|
179
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
180
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
181
|
+
}>;
|
|
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
|
+
}
|
|
224
|
+
export declare namespace String_Type {
|
|
225
|
+
namespace SG {
|
|
226
|
+
type apostrophed = null;
|
|
227
|
+
type backticked = null;
|
|
228
|
+
type quoted = null;
|
|
229
|
+
type undelimited = null;
|
|
230
|
+
}
|
|
231
|
+
type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
232
|
+
}
|
|
233
|
+
export declare namespace Token_Type {
|
|
234
|
+
namespace SG {
|
|
235
|
+
type $ex_ = null;
|
|
236
|
+
type $ha_ = null;
|
|
237
|
+
type $po_ = null;
|
|
238
|
+
type $pc_ = null;
|
|
239
|
+
type $sr_ = null;
|
|
240
|
+
type $cl_ = null;
|
|
241
|
+
type $st_ = null;
|
|
242
|
+
type $gt_ = null;
|
|
243
|
+
type $at_ = null;
|
|
244
|
+
type $bo_ = null;
|
|
245
|
+
type $bc_ = null;
|
|
246
|
+
namespace _string {
|
|
247
|
+
namespace _type {
|
|
248
|
+
}
|
|
249
|
+
type _type = _T_String_Type;
|
|
250
|
+
namespace value {
|
|
251
|
+
}
|
|
252
|
+
type value = _T_Delimited_String;
|
|
253
|
+
}
|
|
254
|
+
type _string = {
|
|
255
|
+
readonly 'type': _T_String_Type;
|
|
256
|
+
readonly 'value': _T_Delimited_String;
|
|
257
|
+
};
|
|
258
|
+
type $co_ = null;
|
|
259
|
+
type $vb_ = null;
|
|
260
|
+
type $cc_ = null;
|
|
261
|
+
type $ti_ = null;
|
|
262
|
+
}
|
|
263
|
+
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 [
|
|
264
|
+
'string',
|
|
265
|
+
{
|
|
266
|
+
readonly 'type': _T_String_Type;
|
|
267
|
+
readonly 'value': _T_Delimited_String;
|
|
268
|
+
}
|
|
269
|
+
] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
|
|
270
|
+
}
|
|
271
|
+
export declare namespace Tokenizer_Result {
|
|
272
|
+
namespace end {
|
|
273
|
+
}
|
|
274
|
+
type end = _T_Location;
|
|
275
|
+
namespace leading_trivia {
|
|
276
|
+
}
|
|
277
|
+
type leading_trivia = _T_Trivia;
|
|
278
|
+
namespace tokens {
|
|
279
|
+
namespace L {
|
|
280
|
+
}
|
|
281
|
+
type L = _T_Annotated_Token;
|
|
282
|
+
}
|
|
283
|
+
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 {
|
|
323
|
+
}
|
|
324
|
+
type range = _T_Range;
|
|
325
|
+
type value = string;
|
|
326
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90b2tlbi9kYXRhX3R5cGVzL3NvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import * as _i_core from "../../../core/unconstrained";
|
|
2
|
+
export type _T_Annotated_Token = {
|
|
3
|
+
readonly 'end': _T_Location;
|
|
4
|
+
readonly 'start': _T_Location;
|
|
5
|
+
readonly 'trailing trivia': _T_Trivia;
|
|
6
|
+
readonly 'type': _T_Token_Type;
|
|
7
|
+
};
|
|
8
|
+
export type _T_Delimited_String = string;
|
|
9
|
+
export type _T_Location = {
|
|
10
|
+
readonly 'absolute': number;
|
|
11
|
+
readonly 'relative': _T_Relative_Location;
|
|
12
|
+
};
|
|
13
|
+
export type _T_Range = {
|
|
14
|
+
readonly 'end': _T_Location;
|
|
15
|
+
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
|
+
readonly 'end': _T_Location;
|
|
31
|
+
readonly 'leading trivia': _T_Trivia;
|
|
32
|
+
readonly 'tokens': _i_core._T_List<null, _T_Annotated_Token>;
|
|
33
|
+
};
|
|
34
|
+
export type _T_Trivia = {
|
|
35
|
+
readonly 'comments': _i_core._T_List<null, {
|
|
36
|
+
readonly 'content': string;
|
|
37
|
+
readonly 'range': _T_Range;
|
|
38
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
39
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
40
|
+
}>;
|
|
41
|
+
readonly 'leading whitespace': _T_Whitespace;
|
|
42
|
+
};
|
|
43
|
+
export type _T_Whitespace = {
|
|
44
|
+
readonly 'range': _T_Range;
|
|
45
|
+
readonly 'value': string;
|
|
46
|
+
};
|
|
47
|
+
export type Annotated_Token = _T_Annotated_Token;
|
|
48
|
+
export type Delimited_String = _T_Delimited_String;
|
|
49
|
+
export type Location = _T_Location;
|
|
50
|
+
export type Range = _T_Range;
|
|
51
|
+
export type Relative_Location = _T_Relative_Location;
|
|
52
|
+
export type String_Type = _T_String_Type;
|
|
53
|
+
export type Token_Type = _T_Token_Type;
|
|
54
|
+
export type Tokenizer_Result = _T_Tokenizer_Result;
|
|
55
|
+
export type Trivia = _T_Trivia;
|
|
56
|
+
export type Whitespace = _T_Whitespace;
|
|
57
|
+
export declare namespace _T_Annotated_Token {
|
|
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;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace _T_Location {
|
|
72
|
+
type absolute = number;
|
|
73
|
+
namespace relative {
|
|
74
|
+
}
|
|
75
|
+
type relative = _T_Relative_Location;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace _T_Range {
|
|
78
|
+
namespace end {
|
|
79
|
+
}
|
|
80
|
+
type end = _T_Location;
|
|
81
|
+
namespace start {
|
|
82
|
+
}
|
|
83
|
+
type start = _T_Location;
|
|
84
|
+
}
|
|
85
|
+
export declare namespace _T_Relative_Location {
|
|
86
|
+
type column = number;
|
|
87
|
+
type line = number;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace _T_String_Type {
|
|
90
|
+
namespace SG {
|
|
91
|
+
type apostrophed = null;
|
|
92
|
+
type backticked = null;
|
|
93
|
+
type quoted = null;
|
|
94
|
+
type undelimited = null;
|
|
95
|
+
}
|
|
96
|
+
type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
97
|
+
}
|
|
98
|
+
export declare namespace _T_Token_Type {
|
|
99
|
+
namespace SG {
|
|
100
|
+
type $ex_ = null;
|
|
101
|
+
type $ha_ = null;
|
|
102
|
+
type $po_ = null;
|
|
103
|
+
type $pc_ = null;
|
|
104
|
+
type $sr_ = null;
|
|
105
|
+
type $cl_ = null;
|
|
106
|
+
type $st_ = null;
|
|
107
|
+
type $gt_ = null;
|
|
108
|
+
type $at_ = null;
|
|
109
|
+
type $bo_ = null;
|
|
110
|
+
type $bc_ = null;
|
|
111
|
+
namespace _string {
|
|
112
|
+
namespace _type {
|
|
113
|
+
}
|
|
114
|
+
type _type = _T_String_Type;
|
|
115
|
+
namespace value {
|
|
116
|
+
}
|
|
117
|
+
type value = _T_Delimited_String;
|
|
118
|
+
}
|
|
119
|
+
type _string = {
|
|
120
|
+
readonly 'type': _T_String_Type;
|
|
121
|
+
readonly 'value': _T_Delimited_String;
|
|
122
|
+
};
|
|
123
|
+
type $co_ = null;
|
|
124
|
+
type $vb_ = null;
|
|
125
|
+
type $cc_ = null;
|
|
126
|
+
type $ti_ = null;
|
|
127
|
+
}
|
|
128
|
+
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 [
|
|
129
|
+
'string',
|
|
130
|
+
{
|
|
131
|
+
readonly 'type': _T_String_Type;
|
|
132
|
+
readonly 'value': _T_Delimited_String;
|
|
133
|
+
}
|
|
134
|
+
] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
|
|
135
|
+
}
|
|
136
|
+
export declare namespace _T_Tokenizer_Result {
|
|
137
|
+
namespace end {
|
|
138
|
+
}
|
|
139
|
+
type end = _T_Location;
|
|
140
|
+
namespace leading_trivia {
|
|
141
|
+
}
|
|
142
|
+
type leading_trivia = _T_Trivia;
|
|
143
|
+
namespace tokens {
|
|
144
|
+
namespace L {
|
|
145
|
+
}
|
|
146
|
+
type L = _T_Annotated_Token;
|
|
147
|
+
}
|
|
148
|
+
type tokens = _i_core._T_List<null, _T_Annotated_Token>;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace _T_Trivia {
|
|
151
|
+
namespace comments {
|
|
152
|
+
namespace L {
|
|
153
|
+
type content = string;
|
|
154
|
+
namespace range {
|
|
155
|
+
}
|
|
156
|
+
type range = _T_Range;
|
|
157
|
+
namespace trailing_whitespace {
|
|
158
|
+
}
|
|
159
|
+
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
|
+
}
|
|
169
|
+
type L = {
|
|
170
|
+
readonly 'content': string;
|
|
171
|
+
readonly 'range': _T_Range;
|
|
172
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
173
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
type comments = _i_core._T_List<null, {
|
|
177
|
+
readonly 'content': string;
|
|
178
|
+
readonly 'range': _T_Range;
|
|
179
|
+
readonly 'trailing whitespace': _T_Whitespace;
|
|
180
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
|
|
181
|
+
}>;
|
|
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
|
+
}
|
|
224
|
+
export declare namespace String_Type {
|
|
225
|
+
namespace SG {
|
|
226
|
+
type apostrophed = null;
|
|
227
|
+
type backticked = null;
|
|
228
|
+
type quoted = null;
|
|
229
|
+
type undelimited = null;
|
|
230
|
+
}
|
|
231
|
+
type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
232
|
+
}
|
|
233
|
+
export declare namespace Token_Type {
|
|
234
|
+
namespace SG {
|
|
235
|
+
type $ex_ = null;
|
|
236
|
+
type $ha_ = null;
|
|
237
|
+
type $po_ = null;
|
|
238
|
+
type $pc_ = null;
|
|
239
|
+
type $sr_ = null;
|
|
240
|
+
type $cl_ = null;
|
|
241
|
+
type $st_ = null;
|
|
242
|
+
type $gt_ = null;
|
|
243
|
+
type $at_ = null;
|
|
244
|
+
type $bo_ = null;
|
|
245
|
+
type $bc_ = null;
|
|
246
|
+
namespace _string {
|
|
247
|
+
namespace _type {
|
|
248
|
+
}
|
|
249
|
+
type _type = _T_String_Type;
|
|
250
|
+
namespace value {
|
|
251
|
+
}
|
|
252
|
+
type value = _T_Delimited_String;
|
|
253
|
+
}
|
|
254
|
+
type _string = {
|
|
255
|
+
readonly 'type': _T_String_Type;
|
|
256
|
+
readonly 'value': _T_Delimited_String;
|
|
257
|
+
};
|
|
258
|
+
type $co_ = null;
|
|
259
|
+
type $vb_ = null;
|
|
260
|
+
type $cc_ = null;
|
|
261
|
+
type $ti_ = null;
|
|
262
|
+
}
|
|
263
|
+
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 [
|
|
264
|
+
'string',
|
|
265
|
+
{
|
|
266
|
+
readonly 'type': _T_String_Type;
|
|
267
|
+
readonly 'value': _T_Delimited_String;
|
|
268
|
+
}
|
|
269
|
+
] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
|
|
270
|
+
}
|
|
271
|
+
export declare namespace Tokenizer_Result {
|
|
272
|
+
namespace end {
|
|
273
|
+
}
|
|
274
|
+
type end = _T_Location;
|
|
275
|
+
namespace leading_trivia {
|
|
276
|
+
}
|
|
277
|
+
type leading_trivia = _T_Trivia;
|
|
278
|
+
namespace tokens {
|
|
279
|
+
namespace L {
|
|
280
|
+
}
|
|
281
|
+
type L = _T_Annotated_Token;
|
|
282
|
+
}
|
|
283
|
+
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 {
|
|
323
|
+
}
|
|
324
|
+
type range = _T_Range;
|
|
325
|
+
type value = string;
|
|
326
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90b2tlbi9kYXRhX3R5cGVzL3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|