jsii-reflect 1.70.0 → 1.71.0
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/lib/assembly.d.ts +15 -4
- package/lib/assembly.js +24 -6
- package/lib/module-like.d.ts +12 -0
- package/lib/module-like.js +12 -0
- package/package.json +7 -7
- package/test/__snapshots__/jsii-tree.test.js.snap +106 -0
- package/test/__snapshots__/tree.test.js.snap +76 -0
- package/test/__snapshots__/type-system.test.js.snap +2 -0
package/lib/assembly.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as jsii from '@jsii/spec';
|
|
2
|
+
import { ClassType } from './class';
|
|
2
3
|
import { Dependency } from './dependency';
|
|
4
|
+
import { EnumType } from './enum';
|
|
5
|
+
import { InterfaceType } from './interface';
|
|
3
6
|
import { ModuleLike } from './module-like';
|
|
4
7
|
import { Submodule } from './submodule';
|
|
5
8
|
import { Type } from './type';
|
|
@@ -96,13 +99,21 @@ export declare class Assembly extends ModuleLike {
|
|
|
96
99
|
*/
|
|
97
100
|
get allSubmodules(): readonly Submodule[];
|
|
98
101
|
/**
|
|
99
|
-
* All types
|
|
102
|
+
* All types in the assembly and all of its submodules
|
|
100
103
|
*/
|
|
101
|
-
get
|
|
104
|
+
get allTypes(): readonly Type[];
|
|
102
105
|
/**
|
|
103
|
-
*
|
|
106
|
+
* All classes in the assembly and all of its submodules
|
|
104
107
|
*/
|
|
105
|
-
get
|
|
108
|
+
get allClasses(): readonly ClassType[];
|
|
109
|
+
/**
|
|
110
|
+
* All interfaces in the assembly and all of its submodules
|
|
111
|
+
*/
|
|
112
|
+
get allInterfaces(): readonly InterfaceType[];
|
|
113
|
+
/**
|
|
114
|
+
* All interfaces in the assembly and all of its submodules
|
|
115
|
+
*/
|
|
116
|
+
get allEnums(): readonly EnumType[];
|
|
106
117
|
findType(fqn: string): Type;
|
|
107
118
|
/**
|
|
108
119
|
* Validate an assembly after loading
|
package/lib/assembly.js
CHANGED
|
@@ -139,16 +139,34 @@ class Assembly extends module_like_1.ModuleLike {
|
|
|
139
139
|
return Array.from(submodules.values());
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
* All types
|
|
142
|
+
* All types in the assembly and all of its submodules
|
|
143
143
|
*/
|
|
144
|
-
get
|
|
145
|
-
return
|
|
144
|
+
get allTypes() {
|
|
145
|
+
return [...this.types, ...this.allSubmodules.flatMap((s) => s.types)];
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* All classes in the assembly and all of its submodules
|
|
149
149
|
*/
|
|
150
|
-
get
|
|
151
|
-
return
|
|
150
|
+
get allClasses() {
|
|
151
|
+
return this.allTypes
|
|
152
|
+
.filter((t) => t instanceof class_1.ClassType)
|
|
153
|
+
.map((t) => t);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* All interfaces in the assembly and all of its submodules
|
|
157
|
+
*/
|
|
158
|
+
get allInterfaces() {
|
|
159
|
+
return this.allTypes
|
|
160
|
+
.filter((t) => t instanceof interface_1.InterfaceType)
|
|
161
|
+
.map((t) => t);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* All interfaces in the assembly and all of its submodules
|
|
165
|
+
*/
|
|
166
|
+
get allEnums() {
|
|
167
|
+
return this.allTypes
|
|
168
|
+
.filter((t) => t instanceof enum_1.EnumType)
|
|
169
|
+
.map((t) => t);
|
|
152
170
|
}
|
|
153
171
|
findType(fqn) {
|
|
154
172
|
const type = this.tryFindType(fqn);
|
package/lib/module-like.d.ts
CHANGED
|
@@ -22,9 +22,21 @@ export declare abstract class ModuleLike {
|
|
|
22
22
|
private readonly typeLocatorCache;
|
|
23
23
|
protected constructor(system: TypeSystem);
|
|
24
24
|
get submodules(): readonly Submodule[];
|
|
25
|
+
/**
|
|
26
|
+
* All types in this module/namespace (not submodules)
|
|
27
|
+
*/
|
|
25
28
|
get types(): readonly Type[];
|
|
29
|
+
/**
|
|
30
|
+
* All classes in this module/namespace (not submodules)
|
|
31
|
+
*/
|
|
26
32
|
get classes(): readonly ClassType[];
|
|
33
|
+
/**
|
|
34
|
+
* All interfaces in this module/namespace (not submodules)
|
|
35
|
+
*/
|
|
27
36
|
get interfaces(): readonly InterfaceType[];
|
|
37
|
+
/**
|
|
38
|
+
* All enums in this module/namespace (not submodules)
|
|
39
|
+
*/
|
|
28
40
|
get enums(): readonly EnumType[];
|
|
29
41
|
tryFindType(fqn: string): Type | undefined;
|
|
30
42
|
}
|
package/lib/module-like.js
CHANGED
|
@@ -15,19 +15,31 @@ class ModuleLike {
|
|
|
15
15
|
get submodules() {
|
|
16
16
|
return Array.from(this.submoduleMap.values());
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* All types in this module/namespace (not submodules)
|
|
20
|
+
*/
|
|
18
21
|
get types() {
|
|
19
22
|
return Array.from(this.typeMap.values());
|
|
20
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* All classes in this module/namespace (not submodules)
|
|
26
|
+
*/
|
|
21
27
|
get classes() {
|
|
22
28
|
return this.types
|
|
23
29
|
.filter((t) => t instanceof class_1.ClassType)
|
|
24
30
|
.map((t) => t);
|
|
25
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* All interfaces in this module/namespace (not submodules)
|
|
34
|
+
*/
|
|
26
35
|
get interfaces() {
|
|
27
36
|
return this.types
|
|
28
37
|
.filter((t) => t instanceof interface_1.InterfaceType)
|
|
29
38
|
.map((t) => t);
|
|
30
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* All enums in this module/namespace (not submodules)
|
|
42
|
+
*/
|
|
31
43
|
get enums() {
|
|
32
44
|
return this.types
|
|
33
45
|
.filter((t) => t instanceof enum_1.EnumType)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsii-reflect",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.71.0",
|
|
4
4
|
"description": "strongly-typed reflection library and tools for jsii",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"package": "package-js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jsii/check-node": "1.
|
|
38
|
-
"@jsii/spec": "^1.
|
|
37
|
+
"@jsii/check-node": "1.71.0",
|
|
38
|
+
"@jsii/spec": "^1.71.0",
|
|
39
39
|
"chalk": "^4",
|
|
40
40
|
"fs-extra": "^10.1.0",
|
|
41
|
-
"oo-ascii-tree": "^1.
|
|
41
|
+
"oo-ascii-tree": "^1.71.0",
|
|
42
42
|
"yargs": "^16.2.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@scope/jsii-calc-lib": "^1.
|
|
45
|
+
"@scope/jsii-calc-lib": "^1.71.0",
|
|
46
46
|
"@types/fs-extra": "^9.0.13",
|
|
47
|
-
"jsii": "^1.
|
|
48
|
-
"jsii-build-tools": "^1.
|
|
47
|
+
"jsii": "^1.71.0",
|
|
48
|
+
"jsii-build-tools": "^1.71.0",
|
|
49
49
|
"jsii-calc": "^3.20.120"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -160,6 +160,53 @@ exports[`jsii-tree --all 1`] = `
|
|
|
160
160
|
│ │ │ └─┬ enum CompositionStringStyle (stable)
|
|
161
161
|
│ │ │ ├── NORMAL (stable)
|
|
162
162
|
│ │ │ └── DECORATED (stable)
|
|
163
|
+
│ │ ├─┬ homonymousForwardReferences
|
|
164
|
+
│ │ │ ├─┬ submodules
|
|
165
|
+
│ │ │ │ ├─┬ bar
|
|
166
|
+
│ │ │ │ │ └─┬ types
|
|
167
|
+
│ │ │ │ │ ├─┬ class Consumer (stable)
|
|
168
|
+
│ │ │ │ │ │ └─┬ members
|
|
169
|
+
│ │ │ │ │ │ └─┬ static consume(props) method (stable)
|
|
170
|
+
│ │ │ │ │ │ ├── static
|
|
171
|
+
│ │ │ │ │ │ ├─┬ parameters
|
|
172
|
+
│ │ │ │ │ │ │ └─┬ props
|
|
173
|
+
│ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.ConsumerProps
|
|
174
|
+
│ │ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.bar.Homonymous
|
|
175
|
+
│ │ │ │ │ ├─┬ interface ConsumerProps (stable)
|
|
176
|
+
│ │ │ │ │ │ └─┬ members
|
|
177
|
+
│ │ │ │ │ │ └─┬ homonymous property (stable)
|
|
178
|
+
│ │ │ │ │ │ ├── abstract
|
|
179
|
+
│ │ │ │ │ │ ├── immutable
|
|
180
|
+
│ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.Homonymous
|
|
181
|
+
│ │ │ │ │ └─┬ interface Homonymous (stable)
|
|
182
|
+
│ │ │ │ │ └─┬ members
|
|
183
|
+
│ │ │ │ │ └─┬ numericProperty property (stable)
|
|
184
|
+
│ │ │ │ │ ├── abstract
|
|
185
|
+
│ │ │ │ │ ├── immutable
|
|
186
|
+
│ │ │ │ │ └── type: number
|
|
187
|
+
│ │ │ │ └─┬ foo
|
|
188
|
+
│ │ │ │ └─┬ types
|
|
189
|
+
│ │ │ │ ├─┬ class Consumer (stable)
|
|
190
|
+
│ │ │ │ │ └─┬ members
|
|
191
|
+
│ │ │ │ │ └─┬ static consume(props) method (stable)
|
|
192
|
+
│ │ │ │ │ ├── static
|
|
193
|
+
│ │ │ │ │ ├─┬ parameters
|
|
194
|
+
│ │ │ │ │ │ └─┬ props
|
|
195
|
+
│ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.ConsumerProps
|
|
196
|
+
│ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.foo.Homonymous
|
|
197
|
+
│ │ │ │ ├─┬ interface ConsumerProps (stable)
|
|
198
|
+
│ │ │ │ │ └─┬ members
|
|
199
|
+
│ │ │ │ │ └─┬ homonymous property (stable)
|
|
200
|
+
│ │ │ │ │ ├── abstract
|
|
201
|
+
│ │ │ │ │ ├── immutable
|
|
202
|
+
│ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.Homonymous
|
|
203
|
+
│ │ │ │ └─┬ interface Homonymous (stable)
|
|
204
|
+
│ │ │ │ └─┬ members
|
|
205
|
+
│ │ │ │ └─┬ stringProperty property (stable)
|
|
206
|
+
│ │ │ │ ├── abstract
|
|
207
|
+
│ │ │ │ ├── immutable
|
|
208
|
+
│ │ │ │ └── type: string
|
|
209
|
+
│ │ │ └── types
|
|
163
210
|
│ │ ├─┬ jsii3656
|
|
164
211
|
│ │ │ └─┬ types
|
|
165
212
|
│ │ │ ├─┬ class OverrideMe (stable)
|
|
@@ -3585,6 +3632,19 @@ exports[`jsii-tree --inheritance 1`] = `
|
|
|
3585
3632
|
│ │ │ ├─┬ class CompositeOperation
|
|
3586
3633
|
│ │ │ │ └── base: Operation
|
|
3587
3634
|
│ │ │ └── enum CompositionStringStyle
|
|
3635
|
+
│ │ ├─┬ homonymousForwardReferences
|
|
3636
|
+
│ │ │ ├─┬ submodules
|
|
3637
|
+
│ │ │ │ ├─┬ bar
|
|
3638
|
+
│ │ │ │ │ └─┬ types
|
|
3639
|
+
│ │ │ │ │ ├── class Consumer
|
|
3640
|
+
│ │ │ │ │ ├── interface ConsumerProps
|
|
3641
|
+
│ │ │ │ │ └── interface Homonymous
|
|
3642
|
+
│ │ │ │ └─┬ foo
|
|
3643
|
+
│ │ │ │ └─┬ types
|
|
3644
|
+
│ │ │ │ ├── class Consumer
|
|
3645
|
+
│ │ │ │ ├── interface ConsumerProps
|
|
3646
|
+
│ │ │ │ └── interface Homonymous
|
|
3647
|
+
│ │ │ └── types
|
|
3588
3648
|
│ │ ├─┬ jsii3656
|
|
3589
3649
|
│ │ │ └─┬ types
|
|
3590
3650
|
│ │ │ ├── class OverrideMe
|
|
@@ -4142,6 +4202,31 @@ exports[`jsii-tree --members 1`] = `
|
|
|
4142
4202
|
│ │ │ └─┬ enum CompositionStringStyle
|
|
4143
4203
|
│ │ │ ├── NORMAL
|
|
4144
4204
|
│ │ │ └── DECORATED
|
|
4205
|
+
│ │ ├─┬ homonymousForwardReferences
|
|
4206
|
+
│ │ │ ├─┬ submodules
|
|
4207
|
+
│ │ │ │ ├─┬ bar
|
|
4208
|
+
│ │ │ │ │ └─┬ types
|
|
4209
|
+
│ │ │ │ │ ├─┬ class Consumer
|
|
4210
|
+
│ │ │ │ │ │ └─┬ members
|
|
4211
|
+
│ │ │ │ │ │ └── static consume(props) method
|
|
4212
|
+
│ │ │ │ │ ├─┬ interface ConsumerProps
|
|
4213
|
+
│ │ │ │ │ │ └─┬ members
|
|
4214
|
+
│ │ │ │ │ │ └── homonymous property
|
|
4215
|
+
│ │ │ │ │ └─┬ interface Homonymous
|
|
4216
|
+
│ │ │ │ │ └─┬ members
|
|
4217
|
+
│ │ │ │ │ └── numericProperty property
|
|
4218
|
+
│ │ │ │ └─┬ foo
|
|
4219
|
+
│ │ │ │ └─┬ types
|
|
4220
|
+
│ │ │ │ ├─┬ class Consumer
|
|
4221
|
+
│ │ │ │ │ └─┬ members
|
|
4222
|
+
│ │ │ │ │ └── static consume(props) method
|
|
4223
|
+
│ │ │ │ ├─┬ interface ConsumerProps
|
|
4224
|
+
│ │ │ │ │ └─┬ members
|
|
4225
|
+
│ │ │ │ │ └── homonymous property
|
|
4226
|
+
│ │ │ │ └─┬ interface Homonymous
|
|
4227
|
+
│ │ │ │ └─┬ members
|
|
4228
|
+
│ │ │ │ └── stringProperty property
|
|
4229
|
+
│ │ │ └── types
|
|
4145
4230
|
│ │ ├─┬ jsii3656
|
|
4146
4231
|
│ │ │ └─┬ types
|
|
4147
4232
|
│ │ │ ├─┬ class OverrideMe
|
|
@@ -5679,6 +5764,10 @@ exports[`jsii-tree --signatures 1`] = `
|
|
|
5679
5764
|
│ │ └─┬ submodules
|
|
5680
5765
|
│ │ └── donotimport
|
|
5681
5766
|
│ ├── composition
|
|
5767
|
+
│ ├─┬ homonymousForwardReferences
|
|
5768
|
+
│ │ └─┬ submodules
|
|
5769
|
+
│ │ ├── bar
|
|
5770
|
+
│ │ └── foo
|
|
5682
5771
|
│ ├── jsii3656
|
|
5683
5772
|
│ ├── module2530
|
|
5684
5773
|
│ ├── module2617
|
|
@@ -5757,6 +5846,19 @@ exports[`jsii-tree --types 1`] = `
|
|
|
5757
5846
|
│ │ │ └─┬ types
|
|
5758
5847
|
│ │ │ ├── class CompositeOperation
|
|
5759
5848
|
│ │ │ └── enum CompositionStringStyle
|
|
5849
|
+
│ │ ├─┬ homonymousForwardReferences
|
|
5850
|
+
│ │ │ ├─┬ submodules
|
|
5851
|
+
│ │ │ │ ├─┬ bar
|
|
5852
|
+
│ │ │ │ │ └─┬ types
|
|
5853
|
+
│ │ │ │ │ ├── class Consumer
|
|
5854
|
+
│ │ │ │ │ ├── interface ConsumerProps
|
|
5855
|
+
│ │ │ │ │ └── interface Homonymous
|
|
5856
|
+
│ │ │ │ └─┬ foo
|
|
5857
|
+
│ │ │ │ └─┬ types
|
|
5858
|
+
│ │ │ │ ├── class Consumer
|
|
5859
|
+
│ │ │ │ ├── interface ConsumerProps
|
|
5860
|
+
│ │ │ │ └── interface Homonymous
|
|
5861
|
+
│ │ │ └── types
|
|
5760
5862
|
│ │ ├─┬ jsii3656
|
|
5761
5863
|
│ │ │ └─┬ types
|
|
5762
5864
|
│ │ │ ├── class OverrideMe
|
|
@@ -6140,6 +6242,10 @@ exports[`jsii-tree 1`] = `
|
|
|
6140
6242
|
│ │ └─┬ submodules
|
|
6141
6243
|
│ │ └── donotimport
|
|
6142
6244
|
│ ├── composition
|
|
6245
|
+
│ ├─┬ homonymousForwardReferences
|
|
6246
|
+
│ │ └─┬ submodules
|
|
6247
|
+
│ │ ├── bar
|
|
6248
|
+
│ │ └── foo
|
|
6143
6249
|
│ ├── jsii3656
|
|
6144
6250
|
│ ├── module2530
|
|
6145
6251
|
│ ├── module2617
|
|
@@ -13,6 +13,10 @@ exports[`defaults 1`] = `
|
|
|
13
13
|
│ │ └─┬ submodules
|
|
14
14
|
│ │ └── donotimport
|
|
15
15
|
│ ├── composition
|
|
16
|
+
│ ├─┬ homonymousForwardReferences
|
|
17
|
+
│ │ └─┬ submodules
|
|
18
|
+
│ │ ├── bar
|
|
19
|
+
│ │ └── foo
|
|
16
20
|
│ ├── jsii3656
|
|
17
21
|
│ ├── module2530
|
|
18
22
|
│ ├── module2617
|
|
@@ -67,6 +71,10 @@ exports[`inheritance 1`] = `
|
|
|
67
71
|
│ │ └─┬ submodules
|
|
68
72
|
│ │ └── donotimport
|
|
69
73
|
│ ├── composition
|
|
74
|
+
│ ├─┬ homonymousForwardReferences
|
|
75
|
+
│ │ └─┬ submodules
|
|
76
|
+
│ │ ├── bar
|
|
77
|
+
│ │ └── foo
|
|
70
78
|
│ ├── jsii3656
|
|
71
79
|
│ ├── module2530
|
|
72
80
|
│ ├── module2617
|
|
@@ -121,6 +129,10 @@ exports[`members 1`] = `
|
|
|
121
129
|
│ │ └─┬ submodules
|
|
122
130
|
│ │ └── donotimport
|
|
123
131
|
│ ├── composition
|
|
132
|
+
│ ├─┬ homonymousForwardReferences
|
|
133
|
+
│ │ └─┬ submodules
|
|
134
|
+
│ │ ├── bar
|
|
135
|
+
│ │ └── foo
|
|
124
136
|
│ ├── jsii3656
|
|
125
137
|
│ ├── module2530
|
|
126
138
|
│ ├── module2617
|
|
@@ -322,6 +334,53 @@ exports[`showAll 1`] = `
|
|
|
322
334
|
│ │ │ └─┬ enum CompositionStringStyle
|
|
323
335
|
│ │ │ ├── NORMAL
|
|
324
336
|
│ │ │ └── DECORATED
|
|
337
|
+
│ │ ├─┬ homonymousForwardReferences
|
|
338
|
+
│ │ │ ├─┬ submodules
|
|
339
|
+
│ │ │ │ ├─┬ bar
|
|
340
|
+
│ │ │ │ │ └─┬ types
|
|
341
|
+
│ │ │ │ │ ├─┬ class Consumer
|
|
342
|
+
│ │ │ │ │ │ └─┬ members
|
|
343
|
+
│ │ │ │ │ │ └─┬ static consume(props) method
|
|
344
|
+
│ │ │ │ │ │ ├── static
|
|
345
|
+
│ │ │ │ │ │ ├─┬ parameters
|
|
346
|
+
│ │ │ │ │ │ │ └─┬ props
|
|
347
|
+
│ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.ConsumerProps
|
|
348
|
+
│ │ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.bar.Homonymous
|
|
349
|
+
│ │ │ │ │ ├─┬ interface ConsumerProps
|
|
350
|
+
│ │ │ │ │ │ └─┬ members
|
|
351
|
+
│ │ │ │ │ │ └─┬ homonymous property
|
|
352
|
+
│ │ │ │ │ │ ├── abstract
|
|
353
|
+
│ │ │ │ │ │ ├── immutable
|
|
354
|
+
│ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.Homonymous
|
|
355
|
+
│ │ │ │ │ └─┬ interface Homonymous
|
|
356
|
+
│ │ │ │ │ └─┬ members
|
|
357
|
+
│ │ │ │ │ └─┬ numericProperty property
|
|
358
|
+
│ │ │ │ │ ├── abstract
|
|
359
|
+
│ │ │ │ │ ├── immutable
|
|
360
|
+
│ │ │ │ │ └── type: number
|
|
361
|
+
│ │ │ │ └─┬ foo
|
|
362
|
+
│ │ │ │ └─┬ types
|
|
363
|
+
│ │ │ │ ├─┬ class Consumer
|
|
364
|
+
│ │ │ │ │ └─┬ members
|
|
365
|
+
│ │ │ │ │ └─┬ static consume(props) method
|
|
366
|
+
│ │ │ │ │ ├── static
|
|
367
|
+
│ │ │ │ │ ├─┬ parameters
|
|
368
|
+
│ │ │ │ │ │ └─┬ props
|
|
369
|
+
│ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.ConsumerProps
|
|
370
|
+
│ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.foo.Homonymous
|
|
371
|
+
│ │ │ │ ├─┬ interface ConsumerProps
|
|
372
|
+
│ │ │ │ │ └─┬ members
|
|
373
|
+
│ │ │ │ │ └─┬ homonymous property
|
|
374
|
+
│ │ │ │ │ ├── abstract
|
|
375
|
+
│ │ │ │ │ ├── immutable
|
|
376
|
+
│ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.Homonymous
|
|
377
|
+
│ │ │ │ └─┬ interface Homonymous
|
|
378
|
+
│ │ │ │ └─┬ members
|
|
379
|
+
│ │ │ │ └─┬ stringProperty property
|
|
380
|
+
│ │ │ │ ├── abstract
|
|
381
|
+
│ │ │ │ ├── immutable
|
|
382
|
+
│ │ │ │ └── type: string
|
|
383
|
+
│ │ │ └── types
|
|
325
384
|
│ │ ├─┬ jsii3656
|
|
326
385
|
│ │ │ └─┬ types
|
|
327
386
|
│ │ │ ├─┬ class OverrideMe
|
|
@@ -3720,6 +3779,10 @@ exports[`signatures 1`] = `
|
|
|
3720
3779
|
│ │ └─┬ submodules
|
|
3721
3780
|
│ │ └── donotimport
|
|
3722
3781
|
│ ├── composition
|
|
3782
|
+
│ ├─┬ homonymousForwardReferences
|
|
3783
|
+
│ │ └─┬ submodules
|
|
3784
|
+
│ │ ├── bar
|
|
3785
|
+
│ │ └── foo
|
|
3723
3786
|
│ ├── jsii3656
|
|
3724
3787
|
│ ├── module2530
|
|
3725
3788
|
│ ├── module2617
|
|
@@ -3798,6 +3861,19 @@ exports[`types 1`] = `
|
|
|
3798
3861
|
│ │ │ └─┬ types
|
|
3799
3862
|
│ │ │ ├── class CompositeOperation
|
|
3800
3863
|
│ │ │ └── enum CompositionStringStyle
|
|
3864
|
+
│ │ ├─┬ homonymousForwardReferences
|
|
3865
|
+
│ │ │ ├─┬ submodules
|
|
3866
|
+
│ │ │ │ ├─┬ bar
|
|
3867
|
+
│ │ │ │ │ └─┬ types
|
|
3868
|
+
│ │ │ │ │ ├── class Consumer
|
|
3869
|
+
│ │ │ │ │ ├── interface ConsumerProps
|
|
3870
|
+
│ │ │ │ │ └── interface Homonymous
|
|
3871
|
+
│ │ │ │ └─┬ foo
|
|
3872
|
+
│ │ │ │ └─┬ types
|
|
3873
|
+
│ │ │ │ ├── class Consumer
|
|
3874
|
+
│ │ │ │ ├── interface ConsumerProps
|
|
3875
|
+
│ │ │ │ └── interface Homonymous
|
|
3876
|
+
│ │ │ └── types
|
|
3801
3877
|
│ │ ├─┬ jsii3656
|
|
3802
3878
|
│ │ │ └─┬ types
|
|
3803
3879
|
│ │ │ ├── class OverrideMe
|
|
@@ -165,6 +165,8 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = `
|
|
|
165
165
|
"jsii-calc.cdk16625.Cdk16625",
|
|
166
166
|
"jsii-calc.cdk16625.donotimport.UnimportedSubmoduleType",
|
|
167
167
|
"jsii-calc.composition.CompositeOperation",
|
|
168
|
+
"jsii-calc.homonymousForwardReferences.bar.Consumer",
|
|
169
|
+
"jsii-calc.homonymousForwardReferences.foo.Consumer",
|
|
168
170
|
"jsii-calc.jsii3656.OverrideMe",
|
|
169
171
|
"jsii-calc.module2530.MyClass",
|
|
170
172
|
"jsii-calc.module2617.OnlyStatics",
|