exupery 0.1.15 → 0.1.17
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/generic/resolve.d.ts +31 -0
- package/dist/generated/implementation/generic/resolve.js +32 -16
- package/dist/generated/implementation/generic/unmarshall.js +69 -59
- package/dist/generated/interface/core/astn_source.d.ts +72 -66
- package/dist/generated/interface/core/astn_target.d.ts +15 -15
- package/dist/generated/interface/core/resolve.d.ts +6 -6
- package/dist/shorthands/implementation.d.ts +1 -1
- package/dist/shorthands/implementation.js +93 -93
- package/dist/shorthands/interface.d.ts +1 -1
- package/dist/shorthands/interface.js +51 -51
- package/dist/transformations/library/typescript_light.js +2 -2
- package/dist/transformations/typescript_light/fountain_pen_block.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,79 +1,76 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
export type
|
|
3
|
-
|
|
4
|
-
readonly
|
|
5
|
-
|
|
6
|
-
readonly 'value': _T_Value;
|
|
7
|
-
}>;
|
|
8
|
-
};
|
|
9
|
-
export type _T_Value = {
|
|
10
|
-
readonly 'range': _T_Range;
|
|
11
|
-
readonly 'type': readonly [
|
|
12
|
-
'include',
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
|
+
export type _T_Concrete_Value = readonly [
|
|
3
|
+
'indexed collection',
|
|
4
|
+
readonly [
|
|
5
|
+
'dictionary',
|
|
13
6
|
{
|
|
14
|
-
readonly '
|
|
15
|
-
readonly '
|
|
7
|
+
readonly 'entries': _T_Key_Value_Pairs;
|
|
8
|
+
readonly '{': _T_Structural_Token;
|
|
9
|
+
readonly '}': _T_Structural_Token;
|
|
16
10
|
}
|
|
17
11
|
] | readonly [
|
|
18
|
-
'
|
|
19
|
-
readonly [
|
|
20
|
-
'dictionary',
|
|
21
|
-
{
|
|
22
|
-
readonly 'entries': _T_Key_Value_Pairs;
|
|
23
|
-
readonly '{': _T_Structural_Token;
|
|
24
|
-
readonly '}': _T_Structural_Token;
|
|
25
|
-
}
|
|
26
|
-
] | readonly [
|
|
27
|
-
'verbose group',
|
|
28
|
-
{
|
|
29
|
-
readonly '(': _T_Structural_Token;
|
|
30
|
-
readonly ')': _T_Structural_Token;
|
|
31
|
-
readonly 'entries': _T_Key_Value_Pairs;
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
] | readonly [
|
|
35
|
-
'not set',
|
|
12
|
+
'verbose group',
|
|
36
13
|
{
|
|
37
|
-
readonly '
|
|
14
|
+
readonly '(': _T_Structural_Token;
|
|
15
|
+
readonly ')': _T_Structural_Token;
|
|
16
|
+
readonly 'entries': _T_Key_Value_Pairs;
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
] | readonly [
|
|
20
|
+
'missing data',
|
|
21
|
+
{
|
|
22
|
+
readonly '#': _T_Structural_Token;
|
|
23
|
+
}
|
|
24
|
+
] | readonly [
|
|
25
|
+
'not set',
|
|
26
|
+
{
|
|
27
|
+
readonly '~': _T_Structural_Token;
|
|
28
|
+
}
|
|
29
|
+
] | readonly [
|
|
30
|
+
'ordered collection',
|
|
31
|
+
readonly [
|
|
32
|
+
'concise group',
|
|
33
|
+
{
|
|
34
|
+
readonly '<': _T_Structural_Token;
|
|
35
|
+
readonly '>': _T_Structural_Token;
|
|
36
|
+
readonly 'elements': _T_Elements;
|
|
38
37
|
}
|
|
39
38
|
] | readonly [
|
|
40
|
-
'
|
|
41
|
-
readonly [
|
|
42
|
-
'concise group',
|
|
43
|
-
{
|
|
44
|
-
readonly '<': _T_Structural_Token;
|
|
45
|
-
readonly '>': _T_Structural_Token;
|
|
46
|
-
readonly 'elements': _T_Elements;
|
|
47
|
-
}
|
|
48
|
-
] | readonly [
|
|
49
|
-
'list',
|
|
50
|
-
{
|
|
51
|
-
readonly '[': _T_Structural_Token;
|
|
52
|
-
readonly ']': _T_Structural_Token;
|
|
53
|
-
readonly 'elements': _T_Elements;
|
|
54
|
-
}
|
|
55
|
-
]
|
|
56
|
-
] | readonly [
|
|
57
|
-
'set optional value',
|
|
39
|
+
'list',
|
|
58
40
|
{
|
|
59
|
-
readonly '
|
|
60
|
-
readonly '
|
|
41
|
+
readonly '[': _T_Structural_Token;
|
|
42
|
+
readonly ']': _T_Structural_Token;
|
|
43
|
+
readonly 'elements': _T_Elements;
|
|
61
44
|
}
|
|
62
|
-
]
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
45
|
+
]
|
|
46
|
+
] | readonly [
|
|
47
|
+
'set optional value',
|
|
48
|
+
{
|
|
49
|
+
readonly '*': _T_Structural_Token;
|
|
50
|
+
readonly 'value': _T_Value;
|
|
51
|
+
}
|
|
52
|
+
] | readonly ['string', _T_String] | readonly [
|
|
53
|
+
'tagged value',
|
|
54
|
+
{
|
|
55
|
+
readonly 'state': _T_String;
|
|
56
|
+
readonly 'value': _T_Value;
|
|
57
|
+
readonly '|': _T_Structural_Token;
|
|
58
|
+
}
|
|
59
|
+
];
|
|
60
|
+
export type _T_Document = {
|
|
61
|
+
readonly 'content': _T_Value;
|
|
62
|
+
readonly 'header': _et.Optional_Value<{
|
|
63
|
+
readonly '!': _T_Structural_Token;
|
|
64
|
+
readonly 'value': _T_Value;
|
|
65
|
+
}>;
|
|
68
66
|
};
|
|
69
|
-
export type _T_Elements =
|
|
70
|
-
readonly ',': _pt.Optional_Value<_T_Structural_Token>;
|
|
67
|
+
export type _T_Elements = _et.Array<{
|
|
71
68
|
readonly 'value': _T_Value;
|
|
72
69
|
}>;
|
|
73
|
-
export type _T_Key_Value_Pairs =
|
|
74
|
-
readonly ',':
|
|
70
|
+
export type _T_Key_Value_Pairs = _et.Array<{
|
|
71
|
+
readonly ',': _et.Optional_Value<_T_Structural_Token>;
|
|
75
72
|
readonly 'key': _T_String;
|
|
76
|
-
readonly 'value':
|
|
73
|
+
readonly 'value': _et.Optional_Value<{
|
|
77
74
|
readonly ':': _T_Structural_Token;
|
|
78
75
|
readonly 'value': _T_Value;
|
|
79
76
|
}>;
|
|
@@ -84,11 +81,19 @@ export type _T_String = {
|
|
|
84
81
|
readonly 'type': _T_String_Type;
|
|
85
82
|
readonly 'value': string;
|
|
86
83
|
};
|
|
87
|
-
export type _T_String_Type = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
88
84
|
export type _T_Structural_Token = {
|
|
89
85
|
readonly 'range': _T_Range;
|
|
90
86
|
readonly 'trailing trivia': _T_Trivia;
|
|
91
87
|
};
|
|
88
|
+
export type _T_Value = {
|
|
89
|
+
readonly 'type': readonly ['concrete', _T_Concrete_Value] | readonly [
|
|
90
|
+
'include',
|
|
91
|
+
{
|
|
92
|
+
readonly '@': _T_Structural_Token;
|
|
93
|
+
readonly 'path': _T_String;
|
|
94
|
+
}
|
|
95
|
+
];
|
|
96
|
+
};
|
|
92
97
|
export type _T_Range = {
|
|
93
98
|
readonly 'end': _T_Location;
|
|
94
99
|
readonly 'start': _T_Location;
|
|
@@ -102,7 +107,7 @@ export type _T_Relative_Location = {
|
|
|
102
107
|
readonly 'line': number;
|
|
103
108
|
};
|
|
104
109
|
export type _T_Trivia = {
|
|
105
|
-
readonly 'comments':
|
|
110
|
+
readonly 'comments': _et.Array<{
|
|
106
111
|
readonly 'content': string;
|
|
107
112
|
readonly 'range': _T_Range;
|
|
108
113
|
readonly 'trailing whitespace': _T_Whitespace;
|
|
@@ -114,3 +119,4 @@ export type _T_Whitespace = {
|
|
|
114
119
|
readonly 'range': _T_Range;
|
|
115
120
|
readonly 'value': string;
|
|
116
121
|
};
|
|
122
|
+
export type _T_String_Type = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
export type _T_Document = _T_Value;
|
|
3
|
-
export type _T_Value = readonly ['concise group',
|
|
3
|
+
export type _T_Value = readonly ['concise group', _et.Array<_T_Value>] | readonly ['dictionary', _et.Dictionary<_T_Value>] | readonly ['list', _et.Array<_T_Value>] | readonly ['nothing', null] | readonly [
|
|
4
4
|
'optional',
|
|
5
5
|
readonly ['not set', null] | readonly ['set', _T_Value]
|
|
6
6
|
] | readonly [
|
|
@@ -15,7 +15,7 @@ export type _T_Value = readonly ['concise group', _pt.Array<_T_Value>] | readonl
|
|
|
15
15
|
readonly 'delimiter': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
16
16
|
readonly 'value': string;
|
|
17
17
|
}
|
|
18
|
-
] | readonly ['verbose group',
|
|
18
|
+
] | readonly ['verbose group', _et.Dictionary<_T_Value>];
|
|
19
19
|
export type Document = _T_Document;
|
|
20
20
|
export type Value = _T_Value;
|
|
21
21
|
export declare namespace _T_Document {
|
|
@@ -27,19 +27,19 @@ export declare namespace _T_Value {
|
|
|
27
27
|
}
|
|
28
28
|
type L = _T_Value;
|
|
29
29
|
}
|
|
30
|
-
type concise_group =
|
|
30
|
+
type concise_group = _et.Array<_T_Value>;
|
|
31
31
|
namespace dictionary {
|
|
32
32
|
namespace D {
|
|
33
33
|
}
|
|
34
34
|
type D = _T_Value;
|
|
35
35
|
}
|
|
36
|
-
type dictionary =
|
|
36
|
+
type dictionary = _et.Dictionary<_T_Value>;
|
|
37
37
|
namespace list {
|
|
38
38
|
namespace L {
|
|
39
39
|
}
|
|
40
40
|
type L = _T_Value;
|
|
41
41
|
}
|
|
42
|
-
type list =
|
|
42
|
+
type list = _et.Array<_T_Value>;
|
|
43
43
|
type nothing = null;
|
|
44
44
|
namespace optional {
|
|
45
45
|
namespace SG {
|
|
@@ -82,9 +82,9 @@ export declare namespace _T_Value {
|
|
|
82
82
|
}
|
|
83
83
|
type D = _T_Value;
|
|
84
84
|
}
|
|
85
|
-
type verbose_group =
|
|
85
|
+
type verbose_group = _et.Dictionary<_T_Value>;
|
|
86
86
|
}
|
|
87
|
-
type SG = readonly ['concise group',
|
|
87
|
+
type SG = readonly ['concise group', _et.Array<_T_Value>] | readonly ['dictionary', _et.Dictionary<_T_Value>] | readonly ['list', _et.Array<_T_Value>] | readonly ['nothing', null] | readonly [
|
|
88
88
|
'optional',
|
|
89
89
|
readonly ['not set', null] | readonly ['set', _T_Value]
|
|
90
90
|
] | readonly [
|
|
@@ -99,7 +99,7 @@ export declare namespace _T_Value {
|
|
|
99
99
|
readonly 'delimiter': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
100
100
|
readonly 'value': string;
|
|
101
101
|
}
|
|
102
|
-
] | readonly ['verbose group',
|
|
102
|
+
] | readonly ['verbose group', _et.Dictionary<_T_Value>];
|
|
103
103
|
}
|
|
104
104
|
export declare namespace Document {
|
|
105
105
|
}
|
|
@@ -110,19 +110,19 @@ export declare namespace Value {
|
|
|
110
110
|
}
|
|
111
111
|
type L = _T_Value;
|
|
112
112
|
}
|
|
113
|
-
type concise_group =
|
|
113
|
+
type concise_group = _et.Array<_T_Value>;
|
|
114
114
|
namespace dictionary {
|
|
115
115
|
namespace D {
|
|
116
116
|
}
|
|
117
117
|
type D = _T_Value;
|
|
118
118
|
}
|
|
119
|
-
type dictionary =
|
|
119
|
+
type dictionary = _et.Dictionary<_T_Value>;
|
|
120
120
|
namespace list {
|
|
121
121
|
namespace L {
|
|
122
122
|
}
|
|
123
123
|
type L = _T_Value;
|
|
124
124
|
}
|
|
125
|
-
type list =
|
|
125
|
+
type list = _et.Array<_T_Value>;
|
|
126
126
|
type nothing = null;
|
|
127
127
|
namespace optional {
|
|
128
128
|
namespace SG {
|
|
@@ -165,9 +165,9 @@ export declare namespace Value {
|
|
|
165
165
|
}
|
|
166
166
|
type D = _T_Value;
|
|
167
167
|
}
|
|
168
|
-
type verbose_group =
|
|
168
|
+
type verbose_group = _et.Dictionary<_T_Value>;
|
|
169
169
|
}
|
|
170
|
-
type SG = readonly ['concise group',
|
|
170
|
+
type SG = readonly ['concise group', _et.Array<_T_Value>] | readonly ['dictionary', _et.Dictionary<_T_Value>] | readonly ['list', _et.Array<_T_Value>] | readonly ['nothing', null] | readonly [
|
|
171
171
|
'optional',
|
|
172
172
|
readonly ['not set', null] | readonly ['set', _T_Value]
|
|
173
173
|
] | readonly [
|
|
@@ -182,5 +182,5 @@ export declare namespace Value {
|
|
|
182
182
|
readonly 'delimiter': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
183
183
|
readonly 'value': string;
|
|
184
184
|
}
|
|
185
|
-
] | readonly ['verbose group',
|
|
185
|
+
] | readonly ['verbose group', _et.Dictionary<_T_Value>];
|
|
186
186
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
export type Location_to_String<Source> = ($: Source) => string;
|
|
3
3
|
export type _T_Location_2_String<Source> = Location_to_String<Source>;
|
|
4
|
-
export type Non_Circular_Result<T> = ['error', ['circular',
|
|
5
|
-
export type Acyclic_Lookup<T> =
|
|
4
|
+
export type Non_Circular_Result<T> = ['error', ['circular', _et.Array<string>]] | ['resolved', T];
|
|
5
|
+
export type Acyclic_Lookup<T> = _et.Optional_Value<_et.Lookup<Non_Circular_Result<T>>>;
|
|
6
6
|
export type _T_Acyclic_Lookup<T> = Acyclic_Lookup<T>;
|
|
7
|
-
export type Possibly_Circular_Result<T> =
|
|
8
|
-
export type Cyclic_Lookup<T> =
|
|
7
|
+
export type Possibly_Circular_Result<T> = _et.Computed_Value<T>;
|
|
8
|
+
export type Cyclic_Lookup<T> = _et.Optional_Value<_et.Lookup<Possibly_Circular_Result<T>>>;
|
|
9
9
|
export type _T_Cyclic_Lookup<T> = Cyclic_Lookup<T>;
|
|
10
|
-
export type Lookup_Stack<T> =
|
|
10
|
+
export type Lookup_Stack<T> = _et.Array<Acyclic_Lookup<T>>;
|
|
11
11
|
export type _T_Lookup_Stack<T> = Lookup_Stack<T>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _edata from 'exupery-core-data';
|
|
2
2
|
import * as unresolved from "../generated/interface/schemas/implementation/data_types/unresolved";
|
|
3
3
|
import * as unresolved_interface from "../generated/interface/schemas/interface/data_types/unresolved";
|
|
4
|
-
import { Raw_Or_Normal_Dictionary } from 'exupery-core-data/dist/shorthands/
|
|
4
|
+
import { Raw_Or_Normal_Dictionary } from 'exupery-core-data/dist/shorthands/unresolved_data';
|
|
5
5
|
export declare namespace vi {
|
|
6
6
|
const external: (key: string, tail: string[]) => unresolved.Module.variable_imports.D<_edata.Source_Location>;
|
|
7
7
|
const sibling: (key: string, tail: string[]) => unresolved.Module.variable_imports.D<_edata.Source_Location>;
|