exupery 0.1.25 → 0.1.26
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/generated/implementation/schemas/typescript_light/marshall.d.ts +2 -2
- package/dist/generated/implementation/schemas/typescript_light/marshall.js +14 -14
- package/dist/generated/implementation/schemas/typescript_light/unmarshall.d.ts +2 -2
- package/dist/generated/implementation/schemas/typescript_light/unmarshall.js +13 -13
- package/dist/generated/interface/schemas/typescript_light/data_types/source.d.ts +56 -56
- package/dist/generated/interface/schemas/typescript_light/data_types/target.d.ts +56 -56
- package/dist/generated/interface/schemas/typescript_light/marshall.d.ts +12 -12
- package/dist/generated/interface/schemas/typescript_light/migrate_boilerplate.d.ts +16 -16
- package/dist/generated/interface/schemas/typescript_light/unmarshall.d.ts +14 -14
- package/dist/shorthands/typescript_light.d.ts +37 -20
- package/dist/shorthands/typescript_light.js +32 -2
- package/dist/transformations/implementation/typescript_light.d.ts +2 -2
- package/dist/transformations/implementation/typescript_light.js +214 -214
- package/dist/transformations/interface/typescript_light.d.ts +2 -2
- package/dist/transformations/interface/typescript_light.js +68 -68
- package/dist/transformations/library/typescript_light.js +4 -5
- package/dist/transformations/typescript_light/fountain_pen_block.d.ts +10 -7
- package/dist/transformations/typescript_light/fountain_pen_block.js +178 -148
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _pt from 'exupery-core-types';
|
|
2
2
|
import * as _i_core from "../../../core/unconstrained";
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file',
|
|
3
|
+
export type _T_Group = _i_core._T_List<null, _T_Group_Part>;
|
|
4
|
+
export type _T_Group_Part = _i_core._T_State_Group<null, readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<_T_Group_Part>] | readonly ['sub group', _T_Group]>;
|
|
5
|
+
export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Group]>>;
|
|
6
6
|
export type _T_Expression = _i_core._T_State_Group<null, readonly ['array literal', _i_core._T_List<null, _T_Expression>] | readonly [
|
|
7
7
|
'arrow function',
|
|
8
8
|
{
|
|
@@ -11,7 +11,7 @@ export type _T_Expression = _i_core._T_State_Group<null, readonly ['array litera
|
|
|
11
11
|
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
12
12
|
}>;
|
|
13
13
|
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
14
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['
|
|
14
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
15
15
|
}
|
|
16
16
|
] | readonly [
|
|
17
17
|
'call',
|
|
@@ -26,7 +26,7 @@ export type _T_Expression = _i_core._T_State_Group<null, readonly ['array litera
|
|
|
26
26
|
}
|
|
27
27
|
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null]>;
|
|
28
28
|
export type _T_Line = _i_core._T_List<null, _T_Line_Part>;
|
|
29
|
-
export type _T_Line_Part = _i_core._T_State_Group<null, readonly ['indent',
|
|
29
|
+
export type _T_Line_Part = _i_core._T_State_Group<null, readonly ['indent', _T_Group] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<_T_Line_Part>] | readonly ['snippet', string] | readonly ['sub line', _T_Line]>;
|
|
30
30
|
export type _T_Lines = _i_core._T_List<null, {
|
|
31
31
|
readonly 'indentation': number;
|
|
32
32
|
readonly 'text': string;
|
|
@@ -45,7 +45,7 @@ export type _T_Statements = _i_core._T_List<null, _i_core._T_State_Group<null, r
|
|
|
45
45
|
] | readonly [
|
|
46
46
|
'module declaration',
|
|
47
47
|
{
|
|
48
|
-
readonly '
|
|
48
|
+
readonly 'group': _T_Statements;
|
|
49
49
|
readonly 'export': boolean;
|
|
50
50
|
readonly 'name': string;
|
|
51
51
|
}
|
|
@@ -103,8 +103,8 @@ export type _T_Type = _i_core._T_State_Group<null, readonly ['boolean', null] |
|
|
|
103
103
|
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
104
104
|
}
|
|
105
105
|
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null]>;
|
|
106
|
-
export type
|
|
107
|
-
export type
|
|
106
|
+
export type Group = _T_Group;
|
|
107
|
+
export type Group_Part = _T_Group_Part;
|
|
108
108
|
export type Directory = _T_Directory;
|
|
109
109
|
export type Expression = _T_Expression;
|
|
110
110
|
export type Line = _T_Line;
|
|
@@ -113,12 +113,12 @@ export type Lines = _T_Lines;
|
|
|
113
113
|
export type Statements = _T_Statements;
|
|
114
114
|
export type String_Literal = _T_String_Literal;
|
|
115
115
|
export type Type = _T_Type;
|
|
116
|
-
export declare namespace
|
|
116
|
+
export declare namespace _T_Group {
|
|
117
117
|
namespace L {
|
|
118
118
|
}
|
|
119
|
-
type L =
|
|
119
|
+
type L = _T_Group_Part;
|
|
120
120
|
}
|
|
121
|
-
export declare namespace
|
|
121
|
+
export declare namespace _T_Group_Part {
|
|
122
122
|
namespace SG {
|
|
123
123
|
type line = string;
|
|
124
124
|
namespace nested_line {
|
|
@@ -128,14 +128,14 @@ export declare namespace _T_Block_Part {
|
|
|
128
128
|
namespace optional {
|
|
129
129
|
namespace O {
|
|
130
130
|
}
|
|
131
|
-
type O =
|
|
131
|
+
type O = _T_Group_Part;
|
|
132
132
|
}
|
|
133
|
-
type optional = _pt.Optional_Value<
|
|
134
|
-
namespace
|
|
133
|
+
type optional = _pt.Optional_Value<_T_Group_Part>;
|
|
134
|
+
namespace sub_group {
|
|
135
135
|
}
|
|
136
|
-
type
|
|
136
|
+
type sub_group = _T_Group;
|
|
137
137
|
}
|
|
138
|
-
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<
|
|
138
|
+
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<_T_Group_Part>] | readonly ['sub group', _T_Group];
|
|
139
139
|
}
|
|
140
140
|
export declare namespace _T_Directory {
|
|
141
141
|
namespace D {
|
|
@@ -145,11 +145,11 @@ export declare namespace _T_Directory {
|
|
|
145
145
|
type directory = _T_Directory;
|
|
146
146
|
namespace file {
|
|
147
147
|
}
|
|
148
|
-
type file =
|
|
148
|
+
type file = _T_Group;
|
|
149
149
|
}
|
|
150
|
-
type SG = readonly ['directory', _T_Directory] | readonly ['file',
|
|
150
|
+
type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Group];
|
|
151
151
|
}
|
|
152
|
-
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file',
|
|
152
|
+
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Group]>;
|
|
153
153
|
}
|
|
154
154
|
export declare namespace _T_Expression {
|
|
155
155
|
namespace SG {
|
|
@@ -187,16 +187,16 @@ export declare namespace _T_Expression {
|
|
|
187
187
|
type return_type = _pt.Optional_Value<_T_Type>;
|
|
188
188
|
namespace _type {
|
|
189
189
|
namespace SG {
|
|
190
|
-
namespace
|
|
190
|
+
namespace group {
|
|
191
191
|
}
|
|
192
|
-
type
|
|
192
|
+
type group = _T_Statements;
|
|
193
193
|
namespace expression {
|
|
194
194
|
}
|
|
195
195
|
type expression = _T_Expression;
|
|
196
196
|
}
|
|
197
|
-
type SG = readonly ['
|
|
197
|
+
type SG = readonly ['group', _T_Statements] | readonly ['expression', _T_Expression];
|
|
198
198
|
}
|
|
199
|
-
type _type = _i_core._T_State_Group<null, readonly ['
|
|
199
|
+
type _type = _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
200
200
|
}
|
|
201
201
|
type arrow_function = {
|
|
202
202
|
readonly 'parameters': _i_core._T_List<null, {
|
|
@@ -204,7 +204,7 @@ export declare namespace _T_Expression {
|
|
|
204
204
|
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
205
205
|
}>;
|
|
206
206
|
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
207
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['
|
|
207
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
208
208
|
};
|
|
209
209
|
namespace call {
|
|
210
210
|
namespace _arguments {
|
|
@@ -248,7 +248,7 @@ export declare namespace _T_Expression {
|
|
|
248
248
|
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
249
249
|
}>;
|
|
250
250
|
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
251
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['
|
|
251
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
252
252
|
}
|
|
253
253
|
] | readonly [
|
|
254
254
|
'call',
|
|
@@ -272,7 +272,7 @@ export declare namespace _T_Line_Part {
|
|
|
272
272
|
namespace SG {
|
|
273
273
|
namespace indent {
|
|
274
274
|
}
|
|
275
|
-
type indent =
|
|
275
|
+
type indent = _T_Group;
|
|
276
276
|
type nothing = null;
|
|
277
277
|
namespace optional {
|
|
278
278
|
namespace O {
|
|
@@ -285,7 +285,7 @@ export declare namespace _T_Line_Part {
|
|
|
285
285
|
}
|
|
286
286
|
type sub_line = _T_Line;
|
|
287
287
|
}
|
|
288
|
-
type SG = readonly ['indent',
|
|
288
|
+
type SG = readonly ['indent', _T_Group] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<_T_Line_Part>] | readonly ['snippet', string] | readonly ['sub line', _T_Line];
|
|
289
289
|
}
|
|
290
290
|
export declare namespace _T_Lines {
|
|
291
291
|
namespace L {
|
|
@@ -339,14 +339,14 @@ export declare namespace _T_Statements {
|
|
|
339
339
|
] | readonly ['namespace', string]>;
|
|
340
340
|
};
|
|
341
341
|
namespace module_declaration {
|
|
342
|
-
namespace
|
|
342
|
+
namespace group {
|
|
343
343
|
}
|
|
344
|
-
type
|
|
344
|
+
type group = _T_Statements;
|
|
345
345
|
type _export = boolean;
|
|
346
346
|
type name = string;
|
|
347
347
|
}
|
|
348
348
|
type module_declaration = {
|
|
349
|
-
readonly '
|
|
349
|
+
readonly 'group': _T_Statements;
|
|
350
350
|
readonly 'export': boolean;
|
|
351
351
|
readonly 'name': string;
|
|
352
352
|
};
|
|
@@ -406,7 +406,7 @@ export declare namespace _T_Statements {
|
|
|
406
406
|
] | readonly [
|
|
407
407
|
'module declaration',
|
|
408
408
|
{
|
|
409
|
-
readonly '
|
|
409
|
+
readonly 'group': _T_Statements;
|
|
410
410
|
readonly 'export': boolean;
|
|
411
411
|
readonly 'name': string;
|
|
412
412
|
}
|
|
@@ -443,7 +443,7 @@ export declare namespace _T_Statements {
|
|
|
443
443
|
] | readonly [
|
|
444
444
|
'module declaration',
|
|
445
445
|
{
|
|
446
|
-
readonly '
|
|
446
|
+
readonly 'group': _T_Statements;
|
|
447
447
|
readonly 'export': boolean;
|
|
448
448
|
readonly 'name': string;
|
|
449
449
|
}
|
|
@@ -618,12 +618,12 @@ export declare namespace _T_Type {
|
|
|
618
618
|
}
|
|
619
619
|
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null];
|
|
620
620
|
}
|
|
621
|
-
export declare namespace
|
|
621
|
+
export declare namespace Group {
|
|
622
622
|
namespace L {
|
|
623
623
|
}
|
|
624
|
-
type L =
|
|
624
|
+
type L = _T_Group_Part;
|
|
625
625
|
}
|
|
626
|
-
export declare namespace
|
|
626
|
+
export declare namespace Group_Part {
|
|
627
627
|
namespace SG {
|
|
628
628
|
type line = string;
|
|
629
629
|
namespace nested_line {
|
|
@@ -633,14 +633,14 @@ export declare namespace Block_Part {
|
|
|
633
633
|
namespace optional {
|
|
634
634
|
namespace O {
|
|
635
635
|
}
|
|
636
|
-
type O =
|
|
636
|
+
type O = _T_Group_Part;
|
|
637
637
|
}
|
|
638
|
-
type optional = _pt.Optional_Value<
|
|
639
|
-
namespace
|
|
638
|
+
type optional = _pt.Optional_Value<_T_Group_Part>;
|
|
639
|
+
namespace sub_group {
|
|
640
640
|
}
|
|
641
|
-
type
|
|
641
|
+
type sub_group = _T_Group;
|
|
642
642
|
}
|
|
643
|
-
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<
|
|
643
|
+
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<_T_Group_Part>] | readonly ['sub group', _T_Group];
|
|
644
644
|
}
|
|
645
645
|
export declare namespace Directory {
|
|
646
646
|
namespace D {
|
|
@@ -650,11 +650,11 @@ export declare namespace Directory {
|
|
|
650
650
|
type directory = _T_Directory;
|
|
651
651
|
namespace file {
|
|
652
652
|
}
|
|
653
|
-
type file =
|
|
653
|
+
type file = _T_Group;
|
|
654
654
|
}
|
|
655
|
-
type SG = readonly ['directory', _T_Directory] | readonly ['file',
|
|
655
|
+
type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Group];
|
|
656
656
|
}
|
|
657
|
-
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file',
|
|
657
|
+
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Group]>;
|
|
658
658
|
}
|
|
659
659
|
export declare namespace Expression {
|
|
660
660
|
namespace SG {
|
|
@@ -692,16 +692,16 @@ export declare namespace Expression {
|
|
|
692
692
|
type return_type = _pt.Optional_Value<_T_Type>;
|
|
693
693
|
namespace _type {
|
|
694
694
|
namespace SG {
|
|
695
|
-
namespace
|
|
695
|
+
namespace group {
|
|
696
696
|
}
|
|
697
|
-
type
|
|
697
|
+
type group = _T_Statements;
|
|
698
698
|
namespace expression {
|
|
699
699
|
}
|
|
700
700
|
type expression = _T_Expression;
|
|
701
701
|
}
|
|
702
|
-
type SG = readonly ['
|
|
702
|
+
type SG = readonly ['group', _T_Statements] | readonly ['expression', _T_Expression];
|
|
703
703
|
}
|
|
704
|
-
type _type = _i_core._T_State_Group<null, readonly ['
|
|
704
|
+
type _type = _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
705
705
|
}
|
|
706
706
|
type arrow_function = {
|
|
707
707
|
readonly 'parameters': _i_core._T_List<null, {
|
|
@@ -709,7 +709,7 @@ export declare namespace Expression {
|
|
|
709
709
|
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
710
710
|
}>;
|
|
711
711
|
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
712
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['
|
|
712
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
713
713
|
};
|
|
714
714
|
namespace call {
|
|
715
715
|
namespace _arguments {
|
|
@@ -753,7 +753,7 @@ export declare namespace Expression {
|
|
|
753
753
|
readonly 'type': _pt.Optional_Value<_T_Type>;
|
|
754
754
|
}>;
|
|
755
755
|
readonly 'return type': _pt.Optional_Value<_T_Type>;
|
|
756
|
-
readonly 'type': _i_core._T_State_Group<null, readonly ['
|
|
756
|
+
readonly 'type': _i_core._T_State_Group<null, readonly ['group', _T_Statements] | readonly ['expression', _T_Expression]>;
|
|
757
757
|
}
|
|
758
758
|
] | readonly [
|
|
759
759
|
'call',
|
|
@@ -777,7 +777,7 @@ export declare namespace Line_Part {
|
|
|
777
777
|
namespace SG {
|
|
778
778
|
namespace indent {
|
|
779
779
|
}
|
|
780
|
-
type indent =
|
|
780
|
+
type indent = _T_Group;
|
|
781
781
|
type nothing = null;
|
|
782
782
|
namespace optional {
|
|
783
783
|
namespace O {
|
|
@@ -790,7 +790,7 @@ export declare namespace Line_Part {
|
|
|
790
790
|
}
|
|
791
791
|
type sub_line = _T_Line;
|
|
792
792
|
}
|
|
793
|
-
type SG = readonly ['indent',
|
|
793
|
+
type SG = readonly ['indent', _T_Group] | readonly ['nothing', null] | readonly ['optional', _pt.Optional_Value<_T_Line_Part>] | readonly ['snippet', string] | readonly ['sub line', _T_Line];
|
|
794
794
|
}
|
|
795
795
|
export declare namespace Lines {
|
|
796
796
|
namespace L {
|
|
@@ -844,14 +844,14 @@ export declare namespace Statements {
|
|
|
844
844
|
] | readonly ['namespace', string]>;
|
|
845
845
|
};
|
|
846
846
|
namespace module_declaration {
|
|
847
|
-
namespace
|
|
847
|
+
namespace group {
|
|
848
848
|
}
|
|
849
|
-
type
|
|
849
|
+
type group = _T_Statements;
|
|
850
850
|
type _export = boolean;
|
|
851
851
|
type name = string;
|
|
852
852
|
}
|
|
853
853
|
type module_declaration = {
|
|
854
|
-
readonly '
|
|
854
|
+
readonly 'group': _T_Statements;
|
|
855
855
|
readonly 'export': boolean;
|
|
856
856
|
readonly 'name': string;
|
|
857
857
|
};
|
|
@@ -911,7 +911,7 @@ export declare namespace Statements {
|
|
|
911
911
|
] | readonly [
|
|
912
912
|
'module declaration',
|
|
913
913
|
{
|
|
914
|
-
readonly '
|
|
914
|
+
readonly 'group': _T_Statements;
|
|
915
915
|
readonly 'export': boolean;
|
|
916
916
|
readonly 'name': string;
|
|
917
917
|
}
|
|
@@ -948,7 +948,7 @@ export declare namespace Statements {
|
|
|
948
948
|
] | readonly [
|
|
949
949
|
'module declaration',
|
|
950
950
|
{
|
|
951
|
-
readonly '
|
|
951
|
+
readonly 'group': _T_Statements;
|
|
952
952
|
readonly 'export': boolean;
|
|
953
953
|
readonly 'name': string;
|
|
954
954
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _i_in from "./data_types/source";
|
|
2
2
|
import * as _i_out from "../../core/astn_target";
|
|
3
3
|
import * as _i_vs from "./value_serializers";
|
|
4
|
-
export type
|
|
4
|
+
export type _T_Group = ($$_: _i_in._T_Group, $$_p: {
|
|
5
5
|
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
6
6
|
}) => _i_out._T_Value;
|
|
7
|
-
export type
|
|
7
|
+
export type _T_Group_Part = ($$_: _i_in._T_Group_Part, $$_p: {
|
|
8
8
|
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
9
9
|
}) => _i_out._T_Value;
|
|
10
10
|
export type _T_Directory = ($$_: _i_in._T_Directory, $$_p: {
|
|
@@ -31,8 +31,8 @@ export type _T_String_Literal = ($$_: _i_in._T_String_Literal, $$_p: {
|
|
|
31
31
|
export type _T_Type = ($$_: _i_in._T_Type, $$_p: {
|
|
32
32
|
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
33
33
|
}) => _i_out._T_Value;
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
34
|
+
export type Group = _T_Group;
|
|
35
|
+
export type Group_Part = _T_Group_Part;
|
|
36
36
|
export type Directory = _T_Directory;
|
|
37
37
|
export type Expression = _T_Expression;
|
|
38
38
|
export type Line = _T_Line;
|
|
@@ -41,10 +41,10 @@ export type Lines = _T_Lines;
|
|
|
41
41
|
export type Statements = _T_Statements;
|
|
42
42
|
export type String_Literal = _T_String_Literal;
|
|
43
43
|
export type Type = _T_Type;
|
|
44
|
-
export declare namespace
|
|
44
|
+
export declare namespace _T_Group {
|
|
45
45
|
namespace CONTEXT {
|
|
46
46
|
}
|
|
47
|
-
type CONTEXT = _i_in.
|
|
47
|
+
type CONTEXT = _i_in._T_Group;
|
|
48
48
|
namespace PARAMS {
|
|
49
49
|
namespace value_serializers {
|
|
50
50
|
}
|
|
@@ -54,10 +54,10 @@ export declare namespace _T_Block {
|
|
|
54
54
|
}
|
|
55
55
|
type RESULT = _i_out._T_Value;
|
|
56
56
|
}
|
|
57
|
-
export declare namespace
|
|
57
|
+
export declare namespace _T_Group_Part {
|
|
58
58
|
namespace CONTEXT {
|
|
59
59
|
}
|
|
60
|
-
type CONTEXT = _i_in.
|
|
60
|
+
type CONTEXT = _i_in._T_Group_Part;
|
|
61
61
|
namespace PARAMS {
|
|
62
62
|
namespace value_serializers {
|
|
63
63
|
}
|
|
@@ -171,10 +171,10 @@ export declare namespace _T_Type {
|
|
|
171
171
|
}
|
|
172
172
|
type RESULT = _i_out._T_Value;
|
|
173
173
|
}
|
|
174
|
-
export declare namespace
|
|
174
|
+
export declare namespace Group {
|
|
175
175
|
namespace CONTEXT {
|
|
176
176
|
}
|
|
177
|
-
type CONTEXT = _i_in.
|
|
177
|
+
type CONTEXT = _i_in._T_Group;
|
|
178
178
|
namespace PARAMS {
|
|
179
179
|
namespace value_serializers {
|
|
180
180
|
}
|
|
@@ -184,10 +184,10 @@ export declare namespace Block {
|
|
|
184
184
|
}
|
|
185
185
|
type RESULT = _i_out._T_Value;
|
|
186
186
|
}
|
|
187
|
-
export declare namespace
|
|
187
|
+
export declare namespace Group_Part {
|
|
188
188
|
namespace CONTEXT {
|
|
189
189
|
}
|
|
190
|
-
type CONTEXT = _i_in.
|
|
190
|
+
type CONTEXT = _i_in._T_Group_Part;
|
|
191
191
|
namespace PARAMS {
|
|
192
192
|
namespace value_serializers {
|
|
193
193
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _i_in from "./data_types/source";
|
|
2
2
|
import * as _i_out from "./data_types/target";
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
3
|
+
export type _T_Group = ($$_: _i_in._T_Group, $$_p: null) => _i_out._T_Group;
|
|
4
|
+
export type _T_Group_Part = ($$_: _i_in._T_Group_Part, $$_p: null) => _i_out._T_Group_Part;
|
|
5
5
|
export type _T_Directory = ($$_: _i_in._T_Directory, $$_p: null) => _i_out._T_Directory;
|
|
6
6
|
export type _T_Expression = ($$_: _i_in._T_Expression, $$_p: null) => _i_out._T_Expression;
|
|
7
7
|
export type _T_Line = ($$_: _i_in._T_Line, $$_p: null) => _i_out._T_Line;
|
|
@@ -10,8 +10,8 @@ export type _T_Lines = ($$_: _i_in._T_Lines, $$_p: null) => _i_out._T_Lines;
|
|
|
10
10
|
export type _T_Statements = ($$_: _i_in._T_Statements, $$_p: null) => _i_out._T_Statements;
|
|
11
11
|
export type _T_String_Literal = ($$_: _i_in._T_String_Literal, $$_p: null) => _i_out._T_String_Literal;
|
|
12
12
|
export type _T_Type = ($$_: _i_in._T_Type, $$_p: null) => _i_out._T_Type;
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
13
|
+
export type Group = _T_Group;
|
|
14
|
+
export type Group_Part = _T_Group_Part;
|
|
15
15
|
export type Directory = _T_Directory;
|
|
16
16
|
export type Expression = _T_Expression;
|
|
17
17
|
export type Line = _T_Line;
|
|
@@ -20,25 +20,25 @@ export type Lines = _T_Lines;
|
|
|
20
20
|
export type Statements = _T_Statements;
|
|
21
21
|
export type String_Literal = _T_String_Literal;
|
|
22
22
|
export type Type = _T_Type;
|
|
23
|
-
export declare namespace
|
|
23
|
+
export declare namespace _T_Group {
|
|
24
24
|
namespace CONTEXT {
|
|
25
25
|
}
|
|
26
|
-
type CONTEXT = _i_in.
|
|
26
|
+
type CONTEXT = _i_in._T_Group;
|
|
27
27
|
namespace PARAMS {
|
|
28
28
|
}
|
|
29
29
|
namespace RESULT {
|
|
30
30
|
}
|
|
31
|
-
type RESULT = _i_out.
|
|
31
|
+
type RESULT = _i_out._T_Group;
|
|
32
32
|
}
|
|
33
|
-
export declare namespace
|
|
33
|
+
export declare namespace _T_Group_Part {
|
|
34
34
|
namespace CONTEXT {
|
|
35
35
|
}
|
|
36
|
-
type CONTEXT = _i_in.
|
|
36
|
+
type CONTEXT = _i_in._T_Group_Part;
|
|
37
37
|
namespace PARAMS {
|
|
38
38
|
}
|
|
39
39
|
namespace RESULT {
|
|
40
40
|
}
|
|
41
|
-
type RESULT = _i_out.
|
|
41
|
+
type RESULT = _i_out._T_Group_Part;
|
|
42
42
|
}
|
|
43
43
|
export declare namespace _T_Directory {
|
|
44
44
|
namespace CONTEXT {
|
|
@@ -120,25 +120,25 @@ export declare namespace _T_Type {
|
|
|
120
120
|
}
|
|
121
121
|
type RESULT = _i_out._T_Type;
|
|
122
122
|
}
|
|
123
|
-
export declare namespace
|
|
123
|
+
export declare namespace Group {
|
|
124
124
|
namespace CONTEXT {
|
|
125
125
|
}
|
|
126
|
-
type CONTEXT = _i_in.
|
|
126
|
+
type CONTEXT = _i_in._T_Group;
|
|
127
127
|
namespace PARAMS {
|
|
128
128
|
}
|
|
129
129
|
namespace RESULT {
|
|
130
130
|
}
|
|
131
|
-
type RESULT = _i_out.
|
|
131
|
+
type RESULT = _i_out._T_Group;
|
|
132
132
|
}
|
|
133
|
-
export declare namespace
|
|
133
|
+
export declare namespace Group_Part {
|
|
134
134
|
namespace CONTEXT {
|
|
135
135
|
}
|
|
136
|
-
type CONTEXT = _i_in.
|
|
136
|
+
type CONTEXT = _i_in._T_Group_Part;
|
|
137
137
|
namespace PARAMS {
|
|
138
138
|
}
|
|
139
139
|
namespace RESULT {
|
|
140
140
|
}
|
|
141
|
-
type RESULT = _i_out.
|
|
141
|
+
type RESULT = _i_out._T_Group_Part;
|
|
142
142
|
}
|
|
143
143
|
export declare namespace Directory {
|
|
144
144
|
namespace CONTEXT {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _i_in from "../../core/astn_source";
|
|
2
2
|
import * as _i_out from "./data_types/target";
|
|
3
3
|
import * as _i_vd from "./value_deserializers";
|
|
4
|
-
export type
|
|
4
|
+
export type _T_Group = ($$_: _i_in._T_Value, $$_p: {
|
|
5
5
|
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
6
|
-
}) => _i_out.
|
|
7
|
-
export type
|
|
6
|
+
}) => _i_out._T_Group;
|
|
7
|
+
export type _T_Group_Part = ($$_: _i_in._T_Value, $$_p: {
|
|
8
8
|
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
9
|
-
}) => _i_out.
|
|
9
|
+
}) => _i_out._T_Group_Part;
|
|
10
10
|
export type _T_Directory = ($$_: _i_in._T_Value, $$_p: {
|
|
11
11
|
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
12
12
|
}) => _i_out._T_Directory;
|
|
@@ -31,8 +31,8 @@ export type _T_String_Literal = ($$_: _i_in._T_Value, $$_p: {
|
|
|
31
31
|
export type _T_Type = ($$_: _i_in._T_Value, $$_p: {
|
|
32
32
|
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
33
33
|
}) => _i_out._T_Type;
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
34
|
+
export type Group = _T_Group;
|
|
35
|
+
export type Group_Part = _T_Group_Part;
|
|
36
36
|
export type Directory = _T_Directory;
|
|
37
37
|
export type Expression = _T_Expression;
|
|
38
38
|
export type Line = _T_Line;
|
|
@@ -41,7 +41,7 @@ export type Lines = _T_Lines;
|
|
|
41
41
|
export type Statements = _T_Statements;
|
|
42
42
|
export type String_Literal = _T_String_Literal;
|
|
43
43
|
export type Type = _T_Type;
|
|
44
|
-
export declare namespace
|
|
44
|
+
export declare namespace _T_Group {
|
|
45
45
|
namespace CONTEXT {
|
|
46
46
|
}
|
|
47
47
|
type CONTEXT = _i_in._T_Value;
|
|
@@ -52,9 +52,9 @@ export declare namespace _T_Block {
|
|
|
52
52
|
}
|
|
53
53
|
namespace RESULT {
|
|
54
54
|
}
|
|
55
|
-
type RESULT = _i_out.
|
|
55
|
+
type RESULT = _i_out._T_Group;
|
|
56
56
|
}
|
|
57
|
-
export declare namespace
|
|
57
|
+
export declare namespace _T_Group_Part {
|
|
58
58
|
namespace CONTEXT {
|
|
59
59
|
}
|
|
60
60
|
type CONTEXT = _i_in._T_Value;
|
|
@@ -65,7 +65,7 @@ export declare namespace _T_Block_Part {
|
|
|
65
65
|
}
|
|
66
66
|
namespace RESULT {
|
|
67
67
|
}
|
|
68
|
-
type RESULT = _i_out.
|
|
68
|
+
type RESULT = _i_out._T_Group_Part;
|
|
69
69
|
}
|
|
70
70
|
export declare namespace _T_Directory {
|
|
71
71
|
namespace CONTEXT {
|
|
@@ -171,7 +171,7 @@ export declare namespace _T_Type {
|
|
|
171
171
|
}
|
|
172
172
|
type RESULT = _i_out._T_Type;
|
|
173
173
|
}
|
|
174
|
-
export declare namespace
|
|
174
|
+
export declare namespace Group {
|
|
175
175
|
namespace CONTEXT {
|
|
176
176
|
}
|
|
177
177
|
type CONTEXT = _i_in._T_Value;
|
|
@@ -182,9 +182,9 @@ export declare namespace Block {
|
|
|
182
182
|
}
|
|
183
183
|
namespace RESULT {
|
|
184
184
|
}
|
|
185
|
-
type RESULT = _i_out.
|
|
185
|
+
type RESULT = _i_out._T_Group;
|
|
186
186
|
}
|
|
187
|
-
export declare namespace
|
|
187
|
+
export declare namespace Group_Part {
|
|
188
188
|
namespace CONTEXT {
|
|
189
189
|
}
|
|
190
190
|
type CONTEXT = _i_in._T_Value;
|
|
@@ -195,7 +195,7 @@ export declare namespace Block_Part {
|
|
|
195
195
|
}
|
|
196
196
|
namespace RESULT {
|
|
197
197
|
}
|
|
198
|
-
type RESULT = _i_out.
|
|
198
|
+
type RESULT = _i_out._T_Group_Part;
|
|
199
199
|
}
|
|
200
200
|
export declare namespace Directory {
|
|
201
201
|
namespace CONTEXT {
|
|
@@ -1,24 +1,41 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
|
+
import * as _target from "../generated/interface/schemas/typescript_light/data_types/target";
|
|
3
|
+
import { Raw_Or_Normal_Dictionary, Raw_Or_Normal_Array } from "exupery-core-data/dist/shorthands/unconstrained";
|
|
4
|
+
import * as sh from "exupery-core-data/dist/shorthands/unconstrained";
|
|
5
|
+
export declare namespace g {
|
|
6
|
+
const simple_line: (line: string) => _target.Group_Part;
|
|
7
|
+
const nested_line: (snippets: sh.Raw_Or_Normal_Array<_target.Line.L>) => _target.Group_Part;
|
|
8
|
+
const sub: (group_parts: sh.Raw_Or_Normal_Array<_target.Group.L>) => _target.Group_Part;
|
|
9
|
+
const nothing: () => _target.Group_Part;
|
|
10
|
+
const optional: (Group_Part: _et.Optional_Value<_target.Group.L>) => _target.Group_Part;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace l {
|
|
13
|
+
const indent: (lines: sh.Raw_Or_Normal_Array<_target.Group.L>) => _target.Line_Part;
|
|
14
|
+
const snippet: (snippet: string) => _target.Line_Part;
|
|
15
|
+
const sub: (line_parts: sh.Raw_Or_Normal_Array<_target.Line.L>) => _target.Line_Part;
|
|
16
|
+
const nothing: () => _target.Line_Part;
|
|
17
|
+
const optional: (line_part: _et.Optional_Value<_target.Line.L>) => _target.Line_Part;
|
|
18
|
+
}
|
|
19
|
+
export declare const group: (Group_Parts: sh.Raw_Or_Normal_Array<_target.Group.L>) => _target.Group;
|
|
20
|
+
export declare const parameter: (name: string, type: _target.Type | null) => _target.Type.SG._function.parameters.L;
|
|
4
21
|
export declare namespace t {
|
|
5
|
-
const boolean: () =>
|
|
6
|
-
const function_: (type_parameters: Raw_Or_Normal_Array<string>, parameters: Raw_Or_Normal_Array<
|
|
7
|
-
const literal_type: (value: string, delimiter: "apostrophe" | "quote") =>
|
|
8
|
-
const null_: () =>
|
|
9
|
-
const number: () =>
|
|
10
|
-
const string: () =>
|
|
11
|
-
const tuple: (read_only: "readonly" | "", elements: Raw_Or_Normal_Array<
|
|
12
|
-
const type_literal: (properties: Raw_Or_Normal_Dictionary<
|
|
13
|
-
const type_reference: (start: string, tail: Raw_Or_Normal_Array<string>, type_arguments: Raw_Or_Normal_Array<
|
|
14
|
-
const union: (cases: Raw_Or_Normal_Array<
|
|
15
|
-
const void_: () =>
|
|
22
|
+
const boolean: () => _target.Type;
|
|
23
|
+
const function_: (type_parameters: Raw_Or_Normal_Array<string>, parameters: Raw_Or_Normal_Array<_target.Type.SG._function.parameters.L>, return_: _target.Type) => _target.Type;
|
|
24
|
+
const literal_type: (value: string, delimiter: "apostrophe" | "quote") => _target.Type;
|
|
25
|
+
const null_: () => _target.Type;
|
|
26
|
+
const number: () => _target.Type;
|
|
27
|
+
const string: () => _target.Type;
|
|
28
|
+
const tuple: (read_only: "readonly" | "", elements: Raw_Or_Normal_Array<_target.Type>) => _target.Type;
|
|
29
|
+
const type_literal: (properties: Raw_Or_Normal_Dictionary<_target.Type.SG.type_literal.properties.D>) => _target.Type;
|
|
30
|
+
const type_reference: (start: string, tail: Raw_Or_Normal_Array<string>, type_arguments: Raw_Or_Normal_Array<_target.Type>) => _target.Type;
|
|
31
|
+
const union: (cases: Raw_Or_Normal_Array<_target.Type>) => _target.Type;
|
|
32
|
+
const void_: () => _target.Type;
|
|
16
33
|
}
|
|
17
34
|
export declare namespace e {
|
|
18
|
-
const true_: () =>
|
|
19
|
-
const false_: () =>
|
|
20
|
-
const null_: () =>
|
|
21
|
-
const string_literal: (value: string, delimiter: "apostrophe" | "quote") =>
|
|
22
|
-
const object_literal: (properties: Raw_Or_Normal_Dictionary<
|
|
23
|
-
const array_literal: (elements: Raw_Or_Normal_Array<
|
|
35
|
+
const true_: () => _target.Expression;
|
|
36
|
+
const false_: () => _target.Expression;
|
|
37
|
+
const null_: () => _target.Expression;
|
|
38
|
+
const string_literal: (value: string, delimiter: "apostrophe" | "quote") => _target.Expression;
|
|
39
|
+
const object_literal: (properties: Raw_Or_Normal_Dictionary<_target.Expression.SG.object_literal.properties.D>) => _target.Expression;
|
|
40
|
+
const array_literal: (elements: Raw_Or_Normal_Array<_target.Expression>) => _target.Expression;
|
|
24
41
|
}
|