astn 0.110.19 → 0.110.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/bin/convert_to_json.js +10 -20
  2. package/dist/bin/validate_astn.js +9 -19
  3. package/dist/generated/{generic → implementation/generic}/resolve.d.ts +17 -26
  4. package/dist/generated/implementation/generic/resolve.js +251 -0
  5. package/dist/generated/implementation/generic/unmarshall.d.ts +37 -0
  6. package/dist/generated/implementation/generic/unmarshall.js +168 -0
  7. package/dist/generated/implementation/schemas/ast/marshall.d.ts +7 -0
  8. package/dist/generated/implementation/schemas/ast/marshall.js +227 -0
  9. package/dist/generated/implementation/schemas/ast/unmarshall.d.ts +7 -0
  10. package/dist/generated/implementation/schemas/ast/unmarshall.js +239 -0
  11. package/dist/generated/implementation/schemas/ide/marshall.d.ts +4 -0
  12. package/dist/generated/implementation/schemas/ide/marshall.js +81 -0
  13. package/dist/generated/implementation/schemas/ide/{migration_boilerplate.d.ts → unmarshall.d.ts} +2 -1
  14. package/dist/generated/implementation/schemas/ide/unmarshall.js +79 -0
  15. package/dist/generated/implementation/schemas/parse_result/marshall.d.ts +3 -0
  16. package/dist/generated/implementation/schemas/parse_result/marshall.js +184 -0
  17. package/dist/generated/implementation/schemas/parse_result/unmarshall.d.ts +3 -0
  18. package/dist/generated/implementation/schemas/parse_result/unmarshall.js +103 -0
  19. package/dist/generated/implementation/schemas/target/marshall.d.ts +3 -0
  20. package/dist/generated/implementation/schemas/target/marshall.js +122 -0
  21. package/dist/generated/implementation/schemas/target/{migration_boilerplate.d.ts → unmarshall.d.ts} +1 -1
  22. package/dist/generated/implementation/schemas/target/unmarshall.js +81 -0
  23. package/dist/generated/implementation/schemas/token/marshall.d.ts +11 -0
  24. package/dist/generated/implementation/schemas/token/marshall.js +230 -0
  25. package/dist/generated/implementation/schemas/token/unmarshall.d.ts +11 -0
  26. package/dist/generated/implementation/schemas/token/unmarshall.js +180 -0
  27. package/dist/generated/interface/core/astn_source.d.ts +116 -0
  28. package/dist/generated/interface/core/astn_source.js +3 -0
  29. package/dist/generated/interface/core/astn_target.d.ts +186 -0
  30. package/dist/generated/interface/core/astn_target.js +3 -0
  31. package/dist/generated/interface/core/resolve.d.ts +11 -0
  32. package/dist/generated/interface/core/resolve.js +3 -0
  33. package/dist/generated/interface/core/unconstrained.d.ts +19 -0
  34. package/dist/generated/interface/core/unconstrained.js +3 -0
  35. package/dist/generated/interface/core/unresolved.d.ts +162 -13
  36. package/dist/generated/interface/schemas/ast/marshall.d.ts +226 -0
  37. package/dist/generated/interface/schemas/ast/marshall.js +3 -0
  38. package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +134 -0
  39. package/dist/generated/interface/schemas/ast/migrate_boilerplate.js +3 -0
  40. package/dist/generated/interface/schemas/ast/unconstrained.d.ts +20 -210
  41. package/dist/generated/interface/schemas/ast/unmarshall.d.ts +134 -0
  42. package/dist/generated/interface/schemas/ast/unmarshall.js +3 -0
  43. package/dist/generated/interface/schemas/ide/marshall.d.ts +136 -0
  44. package/dist/generated/interface/schemas/ide/marshall.js +3 -0
  45. package/dist/generated/interface/schemas/ide/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +22 -0
  46. package/dist/generated/interface/schemas/ide/migrate_boilerplate.js +3 -0
  47. package/dist/generated/interface/schemas/ide/unconstrained.d.ts +50 -29
  48. package/dist/generated/interface/schemas/ide/unmarshall.d.ts +68 -0
  49. package/dist/generated/interface/schemas/ide/unmarshall.js +3 -0
  50. package/dist/generated/interface/schemas/parse_result/marshall.d.ts +106 -0
  51. package/dist/generated/interface/schemas/parse_result/marshall.js +3 -0
  52. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.d.ts +46 -0
  53. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.js +3 -0
  54. package/dist/generated/interface/schemas/parse_result/unconstrained.d.ts +20 -168
  55. package/dist/generated/interface/schemas/parse_result/unmarshall.d.ts +46 -0
  56. package/dist/generated/interface/schemas/parse_result/unmarshall.js +3 -0
  57. package/dist/generated/interface/schemas/target/marshall.d.ts +126 -0
  58. package/dist/generated/interface/schemas/target/marshall.js +3 -0
  59. package/dist/generated/interface/schemas/target/migrate_boilerplate.js +3 -0
  60. package/dist/generated/interface/schemas/target/unconstrained.d.ts +1 -1
  61. package/dist/generated/interface/schemas/{target_json/migration_boilerplate.d.ts → target/unmarshall.d.ts} +4 -4
  62. package/dist/generated/interface/schemas/target/unmarshall.js +3 -0
  63. package/dist/generated/interface/schemas/token/marshall.d.ts +346 -0
  64. package/dist/generated/interface/schemas/token/marshall.js +3 -0
  65. package/dist/generated/interface/schemas/{ast/migration_boilerplate.d.ts → token/migrate_boilerplate.d.ts} +38 -104
  66. package/dist/generated/interface/schemas/token/migrate_boilerplate.js +3 -0
  67. package/dist/generated/interface/schemas/token/unconstrained.d.ts +326 -0
  68. package/dist/generated/interface/schemas/{target_json → token}/unconstrained.js +1 -1
  69. package/dist/generated/interface/schemas/token/unmarshall.d.ts +222 -0
  70. package/dist/generated/interface/schemas/token/unmarshall.js +3 -0
  71. package/dist/parse/ast.d.ts +10 -0
  72. package/dist/parse/ast.js +227 -0
  73. package/dist/parse/astn_parse_generic.d.ts +8 -0
  74. package/dist/parse/astn_parse_generic.js +65 -0
  75. package/dist/parse/parse.d.ts +3 -10
  76. package/dist/parse/parse.js +19 -226
  77. package/dist/parse/string_iterator.d.ts +47 -0
  78. package/dist/parse/string_iterator.js +139 -0
  79. package/dist/parse/token.d.ts +9 -0
  80. package/dist/parse/token.js +506 -0
  81. package/dist/serializers/parse_result.js +8 -18
  82. package/dist/transformations/ast/ide.d.ts +3 -2
  83. package/dist/transformations/ast/ide.js +8 -18
  84. package/dist/transformations/ast/json_target.d.ts +1 -1
  85. package/dist/transformations/ast/json_target.js +8 -18
  86. package/dist/transformations/target/fountain_pen_block.js +10 -20
  87. package/package.json +5 -7
  88. package/dist/generated/generic/resolve.js +0 -259
  89. package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +0 -14
  90. package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -179
  91. package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +0 -58
  92. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +0 -6
  93. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +0 -136
  94. package/dist/generated/implementation/schemas/target/migration_boilerplate.js +0 -73
  95. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.d.ts +0 -3
  96. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.js +0 -67
  97. package/dist/generated/interface/core/poormans_parser.d.ts +0 -184
  98. package/dist/generated/interface/core/poormans_parser.js +0 -3
  99. package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
  100. package/dist/generated/interface/schemas/ide/migration_boilerplate.js +0 -3
  101. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +0 -112
  102. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +0 -3
  103. package/dist/generated/interface/schemas/target/migration_boilerplate.js +0 -3
  104. package/dist/generated/interface/schemas/target_json/migration_boilerplate.js +0 -3
  105. package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +0 -169
  106. package/dist/index.d.ts +0 -6
  107. package/dist/index.js +0 -43
  108. package/dist/parse/parse_generic.d.ts +0 -43
  109. package/dist/parse/parse_generic.js +0 -656
  110. package/dist/serializers/json.d.ts +0 -5
  111. package/dist/serializers/json.js +0 -46
  112. package/dist/transformations/target_json/fountain_pen_block.d.ts +0 -4
  113. package/dist/transformations/target_json/fountain_pen_block.js +0 -101
  114. /package/dist/generated/interface/schemas/target/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +0 -0
@@ -0,0 +1,186 @@
1
+ import * as _pt from 'exupery-core-types';
2
+ export type _T_Document = _T_Value;
3
+ export type _T_Value = readonly ['concise group', _pt.Array<_T_Value>] | readonly ['dictionary', _pt.Dictionary<_T_Value>] | readonly ['list', _pt.Array<_T_Value>] | readonly ['nothing', null] | readonly [
4
+ 'optional',
5
+ 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': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
16
+ readonly 'value': string;
17
+ }
18
+ ] | readonly ['verbose group', _pt.Dictionary<_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 = _pt.Array<_T_Value>;
31
+ namespace dictionary {
32
+ namespace D {
33
+ }
34
+ type D = _T_Value;
35
+ }
36
+ type dictionary = _pt.Dictionary<_T_Value>;
37
+ namespace list {
38
+ namespace L {
39
+ }
40
+ type L = _T_Value;
41
+ }
42
+ type list = _pt.Array<_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 = 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 = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
74
+ type value = string;
75
+ }
76
+ type text = {
77
+ readonly 'delimiter': 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 = _pt.Dictionary<_T_Value>;
86
+ }
87
+ type SG = readonly ['concise group', _pt.Array<_T_Value>] | readonly ['dictionary', _pt.Dictionary<_T_Value>] | readonly ['list', _pt.Array<_T_Value>] | readonly ['nothing', null] | readonly [
88
+ 'optional',
89
+ 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': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
100
+ readonly 'value': string;
101
+ }
102
+ ] | readonly ['verbose group', _pt.Dictionary<_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 = _pt.Array<_T_Value>;
114
+ namespace dictionary {
115
+ namespace D {
116
+ }
117
+ type D = _T_Value;
118
+ }
119
+ type dictionary = _pt.Dictionary<_T_Value>;
120
+ namespace list {
121
+ namespace L {
122
+ }
123
+ type L = _T_Value;
124
+ }
125
+ type list = _pt.Array<_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 = 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 = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
157
+ type value = string;
158
+ }
159
+ type text = {
160
+ readonly 'delimiter': 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 = _pt.Dictionary<_T_Value>;
169
+ }
170
+ type SG = readonly ['concise group', _pt.Array<_T_Value>] | readonly ['dictionary', _pt.Dictionary<_T_Value>] | readonly ['list', _pt.Array<_T_Value>] | readonly ['nothing', null] | readonly [
171
+ 'optional',
172
+ 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': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
183
+ readonly 'value': string;
184
+ }
185
+ ] | readonly ['verbose group', _pt.Dictionary<_T_Value>];
186
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN0bl90YXJnZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9jb3JlL2FzdG5fdGFyZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,11 @@
1
+ import * as pt from 'exupery-core-types';
2
+ export type Location_to_String<Source> = ($: Source) => string;
3
+ export type _T_Location_2_String<Source> = Location_to_String<Source>;
4
+ export type Non_Circular_Result<T> = ['error', ['circular', pt.Array<string>]] | ['resolved', T];
5
+ export type Acyclic_Lookup<T> = pt.Optional_Value<pt.Lookup<Non_Circular_Result<T>>>;
6
+ export type _T_Acyclic_Lookup<T> = Acyclic_Lookup<T>;
7
+ export type Possibly_Circular_Result<T> = pt.Computed_Value<T>;
8
+ export type Cyclic_Lookup<T> = pt.Optional_Value<pt.Lookup<Possibly_Circular_Result<T>>>;
9
+ export type _T_Cyclic_Lookup<T> = Cyclic_Lookup<T>;
10
+ export type Lookup_Stack<T> = pt.Array<Acyclic_Lookup<T>>;
11
+ export type _T_Lookup_Stack<T> = Lookup_Stack<T>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL2NvcmUvcmVzb2x2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,19 @@
1
+ import * as _pt from 'exupery-core-types';
2
+ export type _T_Dictionary<G_Source, T_D> = _pt.Dictionary<T_D>;
3
+ export type _T_List<G_Source, T_L> = _pt.Array<T_L>;
4
+ export type _T_State_Group<G_Source, T_SG> = T_SG;
5
+ export type Dictionary<G_Source, T_D> = _T_Dictionary<G_Source, T_D>;
6
+ export type List<G_Source, T_L> = _T_List<G_Source, T_L>;
7
+ export type State_Group<G_Source, T_SG> = _T_State_Group<G_Source, T_SG>;
8
+ export declare namespace _T_Dictionary {
9
+ type D<G_Source, T_D> = T_D;
10
+ }
11
+ export declare namespace _T_List {
12
+ type L<G_Source, T_L> = T_L;
13
+ }
14
+ export declare namespace Dictionary {
15
+ type D<G_Source, T_D> = T_D;
16
+ }
17
+ export declare namespace List {
18
+ type L<G_Source, T_L> = T_L;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL2NvcmUvdW5jb25zdHJhaW5lZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,12 +1,43 @@
1
1
  import * as _pt from 'exupery-core-types';
2
2
  export type _T_Derived_Reference<G_Source, T_Type> = null;
3
- export type _T_Dictionary<G_Source, T_D> = _pt.Dictionary<T_D>;
4
- export type _T_List<G_Source, T_L> = _pt.Array<T_L>;
5
- export type _T_Ordered_Dictionary<G_Source, T_D> = _pt.Dictionary<T_D>;
6
- export type _T_Reference_To_Circular_Dependent_Sibling<G_Source, T_Dictionary_Entry> = string;
7
- export type _T_Reference_To_Normal_Dictionary_Entry<G_Source, T_Dictionary_Entry> = string;
8
- export type _T_Reference_To_Stacked_Dictionary_Entry<G_Source, T_Dictionary_Entry> = string;
9
- export type _T_State_Group<G_Source, T_SG> = T_SG;
3
+ export type _T_Dictionary<G_Source, T_D> = {
4
+ readonly 'dictionary': _pt.Dictionary<{
5
+ readonly 'entry': T_D;
6
+ readonly 'location': G_Source;
7
+ }>;
8
+ readonly 'location': G_Source;
9
+ };
10
+ export type _T_List<G_Source, T_L> = {
11
+ readonly 'list': _pt.Array<{
12
+ readonly 'element': T_L;
13
+ readonly 'location': G_Source;
14
+ }>;
15
+ readonly 'location': G_Source;
16
+ };
17
+ export type _T_Ordered_Dictionary<G_Source, T_D> = {
18
+ readonly 'dictionary': _pt.Dictionary<{
19
+ readonly 'entry': T_D;
20
+ readonly 'location': G_Source;
21
+ }>;
22
+ readonly 'location': G_Source;
23
+ };
24
+ export type _T_Reference_To_Circular_Dependent_Sibling<G_Source, T_Dictionary_Entry> = {
25
+ readonly 'key': string;
26
+ readonly 'location': G_Source;
27
+ };
28
+ export type _T_Reference_To_Normal_Dictionary_Entry<G_Source, T_Dictionary_Entry> = {
29
+ readonly 'key': string;
30
+ readonly 'location': G_Source;
31
+ };
32
+ export type _T_Reference_To_Stacked_Dictionary_Entry<G_Source, T_Dictionary_Entry> = {
33
+ readonly 'key': string;
34
+ readonly 'location': G_Source;
35
+ readonly 'up steps': number;
36
+ };
37
+ export type _T_State_Group<G_Source, T_SG> = {
38
+ readonly 'location': G_Source;
39
+ readonly 'state group': T_SG;
40
+ };
10
41
  export type Derived_Reference<G_Source, T_Type> = _T_Derived_Reference<G_Source, T_Type>;
11
42
  export type Dictionary<G_Source, T_D> = _T_Dictionary<G_Source, T_D>;
12
43
  export type List<G_Source, T_L> = _T_List<G_Source, T_L>;
@@ -16,20 +47,138 @@ export type Reference_To_Normal_Dictionary_Entry<G_Source, T_Dictionary_Entry> =
16
47
  export type Reference_To_Stacked_Dictionary_Entry<G_Source, T_Dictionary_Entry> = _T_Reference_To_Stacked_Dictionary_Entry<G_Source, T_Dictionary_Entry>;
17
48
  export type State_Group<G_Source, T_SG> = _T_State_Group<G_Source, T_SG>;
18
49
  export declare namespace _T_Dictionary {
19
- type D<G_Source, T_D> = T_D;
50
+ namespace dictionary {
51
+ namespace D {
52
+ type entry<G_Source, T_D> = T_D;
53
+ type location<G_Source, T_D> = G_Source;
54
+ }
55
+ type D<G_Source, T_D> = {
56
+ readonly 'entry': T_D;
57
+ readonly 'location': G_Source;
58
+ };
59
+ }
60
+ type dictionary<G_Source, T_D> = _pt.Dictionary<{
61
+ readonly 'entry': T_D;
62
+ readonly 'location': G_Source;
63
+ }>;
64
+ type location<G_Source, T_D> = G_Source;
20
65
  }
21
66
  export declare namespace _T_List {
22
- type L<G_Source, T_L> = T_L;
67
+ namespace list {
68
+ namespace L {
69
+ type element<G_Source, T_L> = T_L;
70
+ type location<G_Source, T_L> = G_Source;
71
+ }
72
+ type L<G_Source, T_L> = {
73
+ readonly 'element': T_L;
74
+ readonly 'location': G_Source;
75
+ };
76
+ }
77
+ type list<G_Source, T_L> = _pt.Array<{
78
+ readonly 'element': T_L;
79
+ readonly 'location': G_Source;
80
+ }>;
81
+ type location<G_Source, T_L> = G_Source;
23
82
  }
24
83
  export declare namespace _T_Ordered_Dictionary {
25
- type D<G_Source, T_D> = T_D;
84
+ namespace dictionary {
85
+ namespace D {
86
+ type entry<G_Source, T_D> = T_D;
87
+ type location<G_Source, T_D> = G_Source;
88
+ }
89
+ type D<G_Source, T_D> = {
90
+ readonly 'entry': T_D;
91
+ readonly 'location': G_Source;
92
+ };
93
+ }
94
+ type dictionary<G_Source, T_D> = _pt.Dictionary<{
95
+ readonly 'entry': T_D;
96
+ readonly 'location': G_Source;
97
+ }>;
98
+ type location<G_Source, T_D> = G_Source;
99
+ }
100
+ export declare namespace _T_Reference_To_Circular_Dependent_Sibling {
101
+ type key<G_Source, T_Dictionary_Entry> = string;
102
+ type location<G_Source, T_Dictionary_Entry> = G_Source;
103
+ }
104
+ export declare namespace _T_Reference_To_Normal_Dictionary_Entry {
105
+ type key<G_Source, T_Dictionary_Entry> = string;
106
+ type location<G_Source, T_Dictionary_Entry> = G_Source;
107
+ }
108
+ export declare namespace _T_Reference_To_Stacked_Dictionary_Entry {
109
+ type key<G_Source, T_Dictionary_Entry> = string;
110
+ type location<G_Source, T_Dictionary_Entry> = G_Source;
111
+ type up_steps<G_Source, T_Dictionary_Entry> = number;
112
+ }
113
+ export declare namespace _T_State_Group {
114
+ type location<G_Source, T_SG> = G_Source;
115
+ type state_group<G_Source, T_SG> = T_SG;
26
116
  }
27
117
  export declare namespace Dictionary {
28
- type D<G_Source, T_D> = T_D;
118
+ namespace dictionary {
119
+ namespace D {
120
+ type entry<G_Source, T_D> = T_D;
121
+ type location<G_Source, T_D> = G_Source;
122
+ }
123
+ type D<G_Source, T_D> = {
124
+ readonly 'entry': T_D;
125
+ readonly 'location': G_Source;
126
+ };
127
+ }
128
+ type dictionary<G_Source, T_D> = _pt.Dictionary<{
129
+ readonly 'entry': T_D;
130
+ readonly 'location': G_Source;
131
+ }>;
132
+ type location<G_Source, T_D> = G_Source;
29
133
  }
30
134
  export declare namespace List {
31
- type L<G_Source, T_L> = T_L;
135
+ namespace list {
136
+ namespace L {
137
+ type element<G_Source, T_L> = T_L;
138
+ type location<G_Source, T_L> = G_Source;
139
+ }
140
+ type L<G_Source, T_L> = {
141
+ readonly 'element': T_L;
142
+ readonly 'location': G_Source;
143
+ };
144
+ }
145
+ type list<G_Source, T_L> = _pt.Array<{
146
+ readonly 'element': T_L;
147
+ readonly 'location': G_Source;
148
+ }>;
149
+ type location<G_Source, T_L> = G_Source;
32
150
  }
33
151
  export declare namespace Ordered_Dictionary {
34
- type D<G_Source, T_D> = T_D;
152
+ namespace dictionary {
153
+ namespace D {
154
+ type entry<G_Source, T_D> = T_D;
155
+ type location<G_Source, T_D> = G_Source;
156
+ }
157
+ type D<G_Source, T_D> = {
158
+ readonly 'entry': T_D;
159
+ readonly 'location': G_Source;
160
+ };
161
+ }
162
+ type dictionary<G_Source, T_D> = _pt.Dictionary<{
163
+ readonly 'entry': T_D;
164
+ readonly 'location': G_Source;
165
+ }>;
166
+ type location<G_Source, T_D> = G_Source;
167
+ }
168
+ export declare namespace Reference_To_Circular_Dependent_Sibling {
169
+ type key<G_Source, T_Dictionary_Entry> = string;
170
+ type location<G_Source, T_Dictionary_Entry> = G_Source;
171
+ }
172
+ export declare namespace Reference_To_Normal_Dictionary_Entry {
173
+ type key<G_Source, T_Dictionary_Entry> = string;
174
+ type location<G_Source, T_Dictionary_Entry> = G_Source;
175
+ }
176
+ export declare namespace Reference_To_Stacked_Dictionary_Entry {
177
+ type key<G_Source, T_Dictionary_Entry> = string;
178
+ type location<G_Source, T_Dictionary_Entry> = G_Source;
179
+ type up_steps<G_Source, T_Dictionary_Entry> = number;
180
+ }
181
+ export declare namespace State_Group {
182
+ type location<G_Source, T_SG> = G_Source;
183
+ type state_group<G_Source, T_SG> = T_SG;
35
184
  }
@@ -0,0 +1,226 @@
1
+ import * as _i_in from "./unconstrained";
2
+ import * as _i_out from "../../core/astn_target";
3
+ export type _T_Value_Serializers = {
4
+ readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
+ readonly 'custom numbers': null;
6
+ readonly 'default number': ($$_: number, $$_p: null) => string;
7
+ };
8
+ export type _T_s_Document = ($$_: _i_in._T_Document, $$_p: {
9
+ readonly 'value serializers': _T_Value_Serializers;
10
+ }) => _i_out._T_Value;
11
+ export type _T_s_Elements = ($$_: _i_in._T_Elements, $$_p: {
12
+ readonly 'value serializers': _T_Value_Serializers;
13
+ }) => _i_out._T_Value;
14
+ export type _T_s_Key_Value_Pairs = ($$_: _i_in._T_Key_Value_Pairs, $$_p: {
15
+ readonly 'value serializers': _T_Value_Serializers;
16
+ }) => _i_out._T_Value;
17
+ export type _T_s_String = ($$_: _i_in._T_String, $$_p: {
18
+ readonly 'value serializers': _T_Value_Serializers;
19
+ }) => _i_out._T_Value;
20
+ export type _T_s_Structural_Token = ($$_: _i_in._T_Structural_Token, $$_p: {
21
+ readonly 'value serializers': _T_Value_Serializers;
22
+ }) => _i_out._T_Value;
23
+ export type _T_s_Value = ($$_: _i_in._T_Value, $$_p: {
24
+ readonly 'value serializers': _T_Value_Serializers;
25
+ }) => _i_out._T_Value;
26
+ export type Value_Serializers = _T_Value_Serializers;
27
+ export type s_Document = _T_s_Document;
28
+ export type s_Elements = _T_s_Elements;
29
+ export type s_Key_Value_Pairs = _T_s_Key_Value_Pairs;
30
+ export type s_String = _T_s_String;
31
+ export type s_Structural_Token = _T_s_Structural_Token;
32
+ export type s_Value = _T_s_Value;
33
+ export declare namespace _T_Value_Serializers {
34
+ namespace _boolean {
35
+ type CONTEXT = boolean;
36
+ namespace PARAMS {
37
+ }
38
+ type RESULT = string;
39
+ }
40
+ type _boolean = ($$_: boolean, $$_p: null) => string;
41
+ namespace custom_numbers {
42
+ }
43
+ type custom_numbers = null;
44
+ namespace default_number {
45
+ type CONTEXT = number;
46
+ namespace PARAMS {
47
+ }
48
+ type RESULT = string;
49
+ }
50
+ type default_number = ($$_: number, $$_p: null) => string;
51
+ }
52
+ export declare namespace _T_s_Document {
53
+ namespace CONTEXT {
54
+ }
55
+ type CONTEXT = _i_in._T_Document;
56
+ namespace PARAMS {
57
+ namespace value_serializers {
58
+ }
59
+ type value_serializers = _T_Value_Serializers;
60
+ }
61
+ namespace RESULT {
62
+ }
63
+ type RESULT = _i_out._T_Value;
64
+ }
65
+ export declare namespace _T_s_Elements {
66
+ namespace CONTEXT {
67
+ }
68
+ type CONTEXT = _i_in._T_Elements;
69
+ namespace PARAMS {
70
+ namespace value_serializers {
71
+ }
72
+ type value_serializers = _T_Value_Serializers;
73
+ }
74
+ namespace RESULT {
75
+ }
76
+ type RESULT = _i_out._T_Value;
77
+ }
78
+ export declare namespace _T_s_Key_Value_Pairs {
79
+ namespace CONTEXT {
80
+ }
81
+ type CONTEXT = _i_in._T_Key_Value_Pairs;
82
+ namespace PARAMS {
83
+ namespace value_serializers {
84
+ }
85
+ type value_serializers = _T_Value_Serializers;
86
+ }
87
+ namespace RESULT {
88
+ }
89
+ type RESULT = _i_out._T_Value;
90
+ }
91
+ export declare namespace _T_s_String {
92
+ namespace CONTEXT {
93
+ }
94
+ type CONTEXT = _i_in._T_String;
95
+ namespace PARAMS {
96
+ namespace value_serializers {
97
+ }
98
+ type value_serializers = _T_Value_Serializers;
99
+ }
100
+ namespace RESULT {
101
+ }
102
+ type RESULT = _i_out._T_Value;
103
+ }
104
+ export declare namespace _T_s_Structural_Token {
105
+ namespace CONTEXT {
106
+ }
107
+ type CONTEXT = _i_in._T_Structural_Token;
108
+ namespace PARAMS {
109
+ namespace value_serializers {
110
+ }
111
+ type value_serializers = _T_Value_Serializers;
112
+ }
113
+ namespace RESULT {
114
+ }
115
+ type RESULT = _i_out._T_Value;
116
+ }
117
+ export declare namespace _T_s_Value {
118
+ namespace CONTEXT {
119
+ }
120
+ type CONTEXT = _i_in._T_Value;
121
+ namespace PARAMS {
122
+ namespace value_serializers {
123
+ }
124
+ type value_serializers = _T_Value_Serializers;
125
+ }
126
+ namespace RESULT {
127
+ }
128
+ type RESULT = _i_out._T_Value;
129
+ }
130
+ export declare namespace Value_Serializers {
131
+ namespace _boolean {
132
+ type CONTEXT = boolean;
133
+ namespace PARAMS {
134
+ }
135
+ type RESULT = string;
136
+ }
137
+ type _boolean = ($$_: boolean, $$_p: null) => string;
138
+ namespace custom_numbers {
139
+ }
140
+ type custom_numbers = null;
141
+ namespace default_number {
142
+ type CONTEXT = number;
143
+ namespace PARAMS {
144
+ }
145
+ type RESULT = string;
146
+ }
147
+ type default_number = ($$_: number, $$_p: null) => string;
148
+ }
149
+ export declare namespace s_Document {
150
+ namespace CONTEXT {
151
+ }
152
+ type CONTEXT = _i_in._T_Document;
153
+ namespace PARAMS {
154
+ namespace value_serializers {
155
+ }
156
+ type value_serializers = _T_Value_Serializers;
157
+ }
158
+ namespace RESULT {
159
+ }
160
+ type RESULT = _i_out._T_Value;
161
+ }
162
+ export declare namespace s_Elements {
163
+ namespace CONTEXT {
164
+ }
165
+ type CONTEXT = _i_in._T_Elements;
166
+ namespace PARAMS {
167
+ namespace value_serializers {
168
+ }
169
+ type value_serializers = _T_Value_Serializers;
170
+ }
171
+ namespace RESULT {
172
+ }
173
+ type RESULT = _i_out._T_Value;
174
+ }
175
+ export declare namespace s_Key_Value_Pairs {
176
+ namespace CONTEXT {
177
+ }
178
+ type CONTEXT = _i_in._T_Key_Value_Pairs;
179
+ namespace PARAMS {
180
+ namespace value_serializers {
181
+ }
182
+ type value_serializers = _T_Value_Serializers;
183
+ }
184
+ namespace RESULT {
185
+ }
186
+ type RESULT = _i_out._T_Value;
187
+ }
188
+ export declare namespace s_String {
189
+ namespace CONTEXT {
190
+ }
191
+ type CONTEXT = _i_in._T_String;
192
+ namespace PARAMS {
193
+ namespace value_serializers {
194
+ }
195
+ type value_serializers = _T_Value_Serializers;
196
+ }
197
+ namespace RESULT {
198
+ }
199
+ type RESULT = _i_out._T_Value;
200
+ }
201
+ export declare namespace s_Structural_Token {
202
+ namespace CONTEXT {
203
+ }
204
+ type CONTEXT = _i_in._T_Structural_Token;
205
+ namespace PARAMS {
206
+ namespace value_serializers {
207
+ }
208
+ type value_serializers = _T_Value_Serializers;
209
+ }
210
+ namespace RESULT {
211
+ }
212
+ type RESULT = _i_out._T_Value;
213
+ }
214
+ export declare namespace s_Value {
215
+ namespace CONTEXT {
216
+ }
217
+ type CONTEXT = _i_in._T_Value;
218
+ namespace PARAMS {
219
+ namespace value_serializers {
220
+ }
221
+ type value_serializers = _T_Value_Serializers;
222
+ }
223
+ namespace RESULT {
224
+ }
225
+ type RESULT = _i_out._T_Value;
226
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFyc2hhbGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL2FzdC9tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=