astn 0.110.11 → 0.110.12

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.
@@ -0,0 +1,3 @@
1
+ import * as _i_signatures from "../../../interface/schemas/target/migration_boilerplate";
2
+ export declare const Document: _i_signatures._T_Document;
3
+ export declare const Value: _i_signatures._T_Value;
@@ -0,0 +1,73 @@
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.Value = exports.Document = void 0;
37
+ const _pa = __importStar(require("exupery-core-alg"));
38
+ const Document = ($) => (0, exports.Value)($, null);
39
+ exports.Document = Document;
40
+ const Value = ($) => _pa.cc($, ($) => {
41
+ switch ($[0]) {
42
+ case 'concise group': return _pa.ss($, ($) => ['concise group', $.map(($) => (0, exports.Value)($, null))]);
43
+ case 'dictionary': return _pa.ss($, ($) => ['dictionary', $.map(($) => (0, exports.Value)($, null))]);
44
+ case 'list': return _pa.ss($, ($) => ['list', $.map(($) => (0, exports.Value)($, null))]);
45
+ case 'nothing': return _pa.ss($, ($) => ['nothing', null]);
46
+ case 'optional': return _pa.ss($, ($) => ['optional', _pa.cc($, ($) => {
47
+ switch ($[0]) {
48
+ case 'not set': return _pa.ss($, ($) => ['not set', null]);
49
+ case 'set': return _pa.ss($, ($) => ['set', (0, exports.Value)($, null)]);
50
+ default: return _pa.au($[0]);
51
+ }
52
+ })]);
53
+ case 'state': return _pa.ss($, ($) => ['state', ({
54
+ 'state': _pa.cc($['state'], ($) => $),
55
+ 'value': _pa.cc($['value'], ($) => (0, exports.Value)($, null)),
56
+ })]);
57
+ case 'text': return _pa.ss($, ($) => ['text', ({
58
+ 'delimiter': _pa.cc($['delimiter'], ($) => _pa.cc($, ($) => {
59
+ switch ($[0]) {
60
+ case 'backtick': return _pa.ss($, ($) => ['backtick', null]);
61
+ case 'none': return _pa.ss($, ($) => ['none', null]);
62
+ case 'quote': return _pa.ss($, ($) => ['quote', null]);
63
+ default: return _pa.au($[0]);
64
+ }
65
+ })),
66
+ 'value': _pa.cc($['value'], ($) => $),
67
+ })]);
68
+ case 'verbose group': return _pa.ss($, ($) => ['verbose group', $.map(($) => (0, exports.Value)($, null))]);
69
+ default: return _pa.au($[0]);
70
+ }
71
+ });
72
+ exports.Value = Value;
73
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbXBsZW1lbnRhdGlvbi9zY2hlbWFzL3Rhc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1FBQ0osT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ2hDLENBQUM7QUFDTCxDQUFDLENBQUMsQ0FBQTtBQWpEVyxRQUFBLEtBQUssU0FpRGhCIn0=
@@ -0,0 +1,46 @@
1
+ import * as _i_in from "./resolved";
2
+ import * as _i_out from "./unresolved";
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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90YXJnZXQvbWlncmF0aW9uX2JvaWxlcnBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,186 @@
1
+ import * as _i_core from "../../core/poormans_parser";
2
+ export type _T_Document<G_Source> = _T_Value<G_Source>;
3
+ export type _T_Value<G_Source> = _i_core._T_State_Group<G_Source, readonly ['concise group', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly ['list', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['nothing', null] | readonly [
4
+ 'optional',
5
+ _i_core._T_State_Group<G_Source, readonly ['not set', null] | readonly ['set', _T_Value<G_Source>]>
6
+ ] | readonly [
7
+ 'state',
8
+ {
9
+ readonly 'state': string;
10
+ readonly 'value': _T_Value<G_Source>;
11
+ }
12
+ ] | readonly [
13
+ 'text',
14
+ {
15
+ readonly 'delimiter': _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
16
+ readonly 'value': string;
17
+ }
18
+ ] | readonly ['verbose group', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>]>;
19
+ export type Document<G_Source> = _T_Document<G_Source>;
20
+ export type Value<G_Source> = _T_Value<G_Source>;
21
+ export declare namespace _T_Document {
22
+ }
23
+ export declare namespace _T_Value {
24
+ namespace SG {
25
+ namespace concise_group {
26
+ namespace L {
27
+ }
28
+ type L<G_Source> = _T_Value<G_Source>;
29
+ }
30
+ type concise_group<G_Source> = _i_core._T_List<G_Source, _T_Value<G_Source>>;
31
+ namespace dictionary {
32
+ namespace D {
33
+ }
34
+ type D<G_Source> = _T_Value<G_Source>;
35
+ }
36
+ type dictionary<G_Source> = _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>;
37
+ namespace list {
38
+ namespace L {
39
+ }
40
+ type L<G_Source> = _T_Value<G_Source>;
41
+ }
42
+ type list<G_Source> = _i_core._T_List<G_Source, _T_Value<G_Source>>;
43
+ type nothing<G_Source> = null;
44
+ namespace optional {
45
+ namespace SG {
46
+ type not_set<G_Source> = null;
47
+ namespace _set {
48
+ }
49
+ type _set<G_Source> = _T_Value<G_Source>;
50
+ }
51
+ type SG<G_Source> = readonly ['not set', null] | readonly ['set', _T_Value<G_Source>];
52
+ }
53
+ type optional<G_Source> = _i_core._T_State_Group<G_Source, readonly ['not set', null] | readonly ['set', _T_Value<G_Source>]>;
54
+ namespace state {
55
+ type state<G_Source> = string;
56
+ namespace value {
57
+ }
58
+ type value<G_Source> = _T_Value<G_Source>;
59
+ }
60
+ type state<G_Source> = {
61
+ readonly 'state': string;
62
+ readonly 'value': _T_Value<G_Source>;
63
+ };
64
+ namespace text {
65
+ namespace delimiter {
66
+ namespace SG {
67
+ type backtick<G_Source> = null;
68
+ type none<G_Source> = null;
69
+ type quote<G_Source> = null;
70
+ }
71
+ type SG<G_Source> = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
72
+ }
73
+ type delimiter<G_Source> = _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
74
+ type value<G_Source> = string;
75
+ }
76
+ type text<G_Source> = {
77
+ readonly 'delimiter': _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
78
+ readonly 'value': string;
79
+ };
80
+ namespace verbose_group {
81
+ namespace D {
82
+ }
83
+ type D<G_Source> = _T_Value<G_Source>;
84
+ }
85
+ type verbose_group<G_Source> = _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>;
86
+ }
87
+ type SG<G_Source> = readonly ['concise group', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly ['list', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['nothing', null] | readonly [
88
+ 'optional',
89
+ _i_core._T_State_Group<G_Source, readonly ['not set', null] | readonly ['set', _T_Value<G_Source>]>
90
+ ] | readonly [
91
+ 'state',
92
+ {
93
+ readonly 'state': string;
94
+ readonly 'value': _T_Value<G_Source>;
95
+ }
96
+ ] | readonly [
97
+ 'text',
98
+ {
99
+ readonly 'delimiter': _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
100
+ readonly 'value': string;
101
+ }
102
+ ] | readonly ['verbose group', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>];
103
+ }
104
+ export declare namespace Document {
105
+ }
106
+ export declare namespace Value {
107
+ namespace SG {
108
+ namespace concise_group {
109
+ namespace L {
110
+ }
111
+ type L<G_Source> = _T_Value<G_Source>;
112
+ }
113
+ type concise_group<G_Source> = _i_core._T_List<G_Source, _T_Value<G_Source>>;
114
+ namespace dictionary {
115
+ namespace D {
116
+ }
117
+ type D<G_Source> = _T_Value<G_Source>;
118
+ }
119
+ type dictionary<G_Source> = _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>;
120
+ namespace list {
121
+ namespace L {
122
+ }
123
+ type L<G_Source> = _T_Value<G_Source>;
124
+ }
125
+ type list<G_Source> = _i_core._T_List<G_Source, _T_Value<G_Source>>;
126
+ type nothing<G_Source> = null;
127
+ namespace optional {
128
+ namespace SG {
129
+ type not_set<G_Source> = null;
130
+ namespace _set {
131
+ }
132
+ type _set<G_Source> = _T_Value<G_Source>;
133
+ }
134
+ type SG<G_Source> = readonly ['not set', null] | readonly ['set', _T_Value<G_Source>];
135
+ }
136
+ type optional<G_Source> = _i_core._T_State_Group<G_Source, readonly ['not set', null] | readonly ['set', _T_Value<G_Source>]>;
137
+ namespace state {
138
+ type state<G_Source> = string;
139
+ namespace value {
140
+ }
141
+ type value<G_Source> = _T_Value<G_Source>;
142
+ }
143
+ type state<G_Source> = {
144
+ readonly 'state': string;
145
+ readonly 'value': _T_Value<G_Source>;
146
+ };
147
+ namespace text {
148
+ namespace delimiter {
149
+ namespace SG {
150
+ type backtick<G_Source> = null;
151
+ type none<G_Source> = null;
152
+ type quote<G_Source> = null;
153
+ }
154
+ type SG<G_Source> = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
155
+ }
156
+ type delimiter<G_Source> = _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
157
+ type value<G_Source> = string;
158
+ }
159
+ type text<G_Source> = {
160
+ readonly 'delimiter': _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
161
+ readonly 'value': string;
162
+ };
163
+ namespace verbose_group {
164
+ namespace D {
165
+ }
166
+ type D<G_Source> = _T_Value<G_Source>;
167
+ }
168
+ type verbose_group<G_Source> = _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>;
169
+ }
170
+ type SG<G_Source> = readonly ['concise group', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['dictionary', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>] | readonly ['list', _i_core._T_List<G_Source, _T_Value<G_Source>>] | readonly ['nothing', null] | readonly [
171
+ 'optional',
172
+ _i_core._T_State_Group<G_Source, readonly ['not set', null] | readonly ['set', _T_Value<G_Source>]>
173
+ ] | readonly [
174
+ 'state',
175
+ {
176
+ readonly 'state': string;
177
+ readonly 'value': _T_Value<G_Source>;
178
+ }
179
+ ] | readonly [
180
+ 'text',
181
+ {
182
+ readonly 'delimiter': _i_core._T_State_Group<G_Source, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
183
+ readonly 'value': string;
184
+ }
185
+ ] | readonly ['verbose group', _i_core._T_Dictionary<G_Source, _T_Value<G_Source>>];
186
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vcm1hbnNfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90YXJnZXQvcG9vcm1hbnNfcGFyc2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,186 @@
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 ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
4
+ 'optional',
5
+ _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
6
+ ] | readonly [
7
+ 'state',
8
+ {
9
+ readonly 'state': string;
10
+ readonly 'value': _T_Value;
11
+ }
12
+ ] | readonly [
13
+ 'text',
14
+ {
15
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
16
+ readonly 'value': string;
17
+ }
18
+ ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>]>;
19
+ export type Document = _T_Document;
20
+ export type Value = _T_Value;
21
+ export declare namespace _T_Document {
22
+ }
23
+ export declare namespace _T_Value {
24
+ namespace SG {
25
+ namespace concise_group {
26
+ namespace L {
27
+ }
28
+ type L = _T_Value;
29
+ }
30
+ type concise_group = _i_core._T_List<null, _T_Value>;
31
+ namespace dictionary {
32
+ namespace D {
33
+ }
34
+ type D = _T_Value;
35
+ }
36
+ type dictionary = _i_core._T_Dictionary<null, _T_Value>;
37
+ namespace list {
38
+ namespace L {
39
+ }
40
+ type L = _T_Value;
41
+ }
42
+ type list = _i_core._T_List<null, _T_Value>;
43
+ type nothing = null;
44
+ namespace optional {
45
+ namespace SG {
46
+ type not_set = null;
47
+ namespace _set {
48
+ }
49
+ type _set = _T_Value;
50
+ }
51
+ type SG = readonly ['not set', null] | readonly ['set', _T_Value];
52
+ }
53
+ type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
54
+ namespace state {
55
+ type state = string;
56
+ namespace value {
57
+ }
58
+ type value = _T_Value;
59
+ }
60
+ type state = {
61
+ readonly 'state': string;
62
+ readonly 'value': _T_Value;
63
+ };
64
+ namespace text {
65
+ namespace delimiter {
66
+ namespace SG {
67
+ type backtick = null;
68
+ type none = null;
69
+ type quote = null;
70
+ }
71
+ type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
72
+ }
73
+ type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
74
+ type value = string;
75
+ }
76
+ type text = {
77
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
78
+ readonly 'value': string;
79
+ };
80
+ namespace verbose_group {
81
+ namespace D {
82
+ }
83
+ type D = _T_Value;
84
+ }
85
+ type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
86
+ }
87
+ type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
88
+ 'optional',
89
+ _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
90
+ ] | readonly [
91
+ 'state',
92
+ {
93
+ readonly 'state': string;
94
+ readonly 'value': _T_Value;
95
+ }
96
+ ] | readonly [
97
+ 'text',
98
+ {
99
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
100
+ readonly 'value': string;
101
+ }
102
+ ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
103
+ }
104
+ export declare namespace Document {
105
+ }
106
+ export declare namespace Value {
107
+ namespace SG {
108
+ namespace concise_group {
109
+ namespace L {
110
+ }
111
+ type L = _T_Value;
112
+ }
113
+ type concise_group = _i_core._T_List<null, _T_Value>;
114
+ namespace dictionary {
115
+ namespace D {
116
+ }
117
+ type D = _T_Value;
118
+ }
119
+ type dictionary = _i_core._T_Dictionary<null, _T_Value>;
120
+ namespace list {
121
+ namespace L {
122
+ }
123
+ type L = _T_Value;
124
+ }
125
+ type list = _i_core._T_List<null, _T_Value>;
126
+ type nothing = null;
127
+ namespace optional {
128
+ namespace SG {
129
+ type not_set = null;
130
+ namespace _set {
131
+ }
132
+ type _set = _T_Value;
133
+ }
134
+ type SG = readonly ['not set', null] | readonly ['set', _T_Value];
135
+ }
136
+ type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
137
+ namespace state {
138
+ type state = string;
139
+ namespace value {
140
+ }
141
+ type value = _T_Value;
142
+ }
143
+ type state = {
144
+ readonly 'state': string;
145
+ readonly 'value': _T_Value;
146
+ };
147
+ namespace text {
148
+ namespace delimiter {
149
+ namespace SG {
150
+ type backtick = null;
151
+ type none = null;
152
+ type quote = null;
153
+ }
154
+ type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
155
+ }
156
+ type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
157
+ type value = string;
158
+ }
159
+ type text = {
160
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
161
+ readonly 'value': string;
162
+ };
163
+ namespace verbose_group {
164
+ namespace D {
165
+ }
166
+ type D = _T_Value;
167
+ }
168
+ type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
169
+ }
170
+ type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
171
+ 'optional',
172
+ _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
173
+ ] | readonly [
174
+ 'state',
175
+ {
176
+ readonly 'state': string;
177
+ readonly 'value': _T_Value;
178
+ }
179
+ ] | readonly [
180
+ 'text',
181
+ {
182
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
183
+ readonly 'value': string;
184
+ }
185
+ ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
186
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3RhcmdldC9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,186 @@
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 ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
4
+ 'optional',
5
+ _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
6
+ ] | readonly [
7
+ 'state',
8
+ {
9
+ readonly 'state': string;
10
+ readonly 'value': _T_Value;
11
+ }
12
+ ] | readonly [
13
+ 'text',
14
+ {
15
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
16
+ readonly 'value': string;
17
+ }
18
+ ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>]>;
19
+ export type Document = _T_Document;
20
+ export type Value = _T_Value;
21
+ export declare namespace _T_Document {
22
+ }
23
+ export declare namespace _T_Value {
24
+ namespace SG {
25
+ namespace concise_group {
26
+ namespace L {
27
+ }
28
+ type L = _T_Value;
29
+ }
30
+ type concise_group = _i_core._T_List<null, _T_Value>;
31
+ namespace dictionary {
32
+ namespace D {
33
+ }
34
+ type D = _T_Value;
35
+ }
36
+ type dictionary = _i_core._T_Dictionary<null, _T_Value>;
37
+ namespace list {
38
+ namespace L {
39
+ }
40
+ type L = _T_Value;
41
+ }
42
+ type list = _i_core._T_List<null, _T_Value>;
43
+ type nothing = null;
44
+ namespace optional {
45
+ namespace SG {
46
+ type not_set = null;
47
+ namespace _set {
48
+ }
49
+ type _set = _T_Value;
50
+ }
51
+ type SG = readonly ['not set', null] | readonly ['set', _T_Value];
52
+ }
53
+ type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
54
+ namespace state {
55
+ type state = string;
56
+ namespace value {
57
+ }
58
+ type value = _T_Value;
59
+ }
60
+ type state = {
61
+ readonly 'state': string;
62
+ readonly 'value': _T_Value;
63
+ };
64
+ namespace text {
65
+ namespace delimiter {
66
+ namespace SG {
67
+ type backtick = null;
68
+ type none = null;
69
+ type quote = null;
70
+ }
71
+ type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
72
+ }
73
+ type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
74
+ type value = string;
75
+ }
76
+ type text = {
77
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
78
+ readonly 'value': string;
79
+ };
80
+ namespace verbose_group {
81
+ namespace D {
82
+ }
83
+ type D = _T_Value;
84
+ }
85
+ type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
86
+ }
87
+ type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
88
+ 'optional',
89
+ _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
90
+ ] | readonly [
91
+ 'state',
92
+ {
93
+ readonly 'state': string;
94
+ readonly 'value': _T_Value;
95
+ }
96
+ ] | readonly [
97
+ 'text',
98
+ {
99
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
100
+ readonly 'value': string;
101
+ }
102
+ ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
103
+ }
104
+ export declare namespace Document {
105
+ }
106
+ export declare namespace Value {
107
+ namespace SG {
108
+ namespace concise_group {
109
+ namespace L {
110
+ }
111
+ type L = _T_Value;
112
+ }
113
+ type concise_group = _i_core._T_List<null, _T_Value>;
114
+ namespace dictionary {
115
+ namespace D {
116
+ }
117
+ type D = _T_Value;
118
+ }
119
+ type dictionary = _i_core._T_Dictionary<null, _T_Value>;
120
+ namespace list {
121
+ namespace L {
122
+ }
123
+ type L = _T_Value;
124
+ }
125
+ type list = _i_core._T_List<null, _T_Value>;
126
+ type nothing = null;
127
+ namespace optional {
128
+ namespace SG {
129
+ type not_set = null;
130
+ namespace _set {
131
+ }
132
+ type _set = _T_Value;
133
+ }
134
+ type SG = readonly ['not set', null] | readonly ['set', _T_Value];
135
+ }
136
+ type optional = _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>;
137
+ namespace state {
138
+ type state = string;
139
+ namespace value {
140
+ }
141
+ type value = _T_Value;
142
+ }
143
+ type state = {
144
+ readonly 'state': string;
145
+ readonly 'value': _T_Value;
146
+ };
147
+ namespace text {
148
+ namespace delimiter {
149
+ namespace SG {
150
+ type backtick = null;
151
+ type none = null;
152
+ type quote = null;
153
+ }
154
+ type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
155
+ }
156
+ type delimiter = _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
157
+ type value = string;
158
+ }
159
+ type text = {
160
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
161
+ readonly 'value': string;
162
+ };
163
+ namespace verbose_group {
164
+ namespace D {
165
+ }
166
+ type D = _T_Value;
167
+ }
168
+ type verbose_group = _i_core._T_Dictionary<null, _T_Value>;
169
+ }
170
+ type SG = readonly ['concise group', _i_core._T_List<null, _T_Value>] | readonly ['dictionary', _i_core._T_Dictionary<null, _T_Value>] | readonly ['list', _i_core._T_List<null, _T_Value>] | readonly ['nothing', null] | readonly [
171
+ 'optional',
172
+ _i_core._T_State_Group<null, readonly ['not set', null] | readonly ['set', _T_Value]>
173
+ ] | readonly [
174
+ 'state',
175
+ {
176
+ readonly 'state': string;
177
+ readonly 'value': _T_Value;
178
+ }
179
+ ] | readonly [
180
+ 'text',
181
+ {
182
+ readonly 'delimiter': _i_core._T_State_Group<null, readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null]>;
183
+ readonly 'value': string;
184
+ }
185
+ ] | readonly ['verbose group', _i_core._T_Dictionary<null, _T_Value>];
186
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0L3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -0,0 +1,24 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9nbG9iYWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astn",
3
- "version": "0.110.11",
3
+ "version": "0.110.12",
4
4
  "description": "A TypeScript library for parsing and formatting ASTN (Abstract Syntax Tree Notation) - a human-editable data format for structured content",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -48,7 +48,7 @@
48
48
  "serialization"
49
49
  ],
50
50
  "author": "Corno",
51
- "license": "MIT",
51
+ "license": "Apache-2.0",
52
52
  "repository": {
53
53
  "type": "git",
54
54
  "url": "https://github.com/corno/astn.git"