Skip to content

Commit

Permalink
Fixing stuff in the submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Mar 16, 2020
1 parent eec62fb commit 318c67e
Show file tree
Hide file tree
Showing 21 changed files with 937 additions and 26 deletions.
3 changes: 2 additions & 1 deletion packages/jsii-calc/lib/submodule/my-class.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { nested_submodule } from './nested_submodule';
import { Goodness } from './child';
import { AllTypes } from '..';

export class MyClass implements nested_submodule.deeplyNested.INamespaced {
public readonly definedAt = __filename;

public readonly goodness = Goodness.AMAZINGLY_GOOD;
public allTypes?: AllTypes;

public constructor() { }
}
170 changes: 161 additions & 9 deletions packages/jsii-calc/test/assembly.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -12154,6 +12154,142 @@
"name": "CompositionStringStyle",
"namespace": "composition.CompositeOperation"
},
"jsii-calc.submodule.MyClass": {
"assembly": "jsii-calc",
"docs": {
"stability": "experimental"
},
"fqn": "jsii-calc.submodule.MyClass",
"initializer": {
"docs": {
"stability": "experimental"
}
},
"interfaces": [
"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced"
],
"kind": "class",
"locationInModule": {
"filename": "lib/submodule/my-class.ts",
"line": 5
},
"name": "MyClass",
"namespace": "submodule",
"properties": [
{
"docs": {
"stability": "experimental"
},
"immutable": true,
"locationInModule": {
"filename": "lib/submodule/my-class.ts",
"line": 6
},
"name": "definedAt",
"overrides": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced",
"type": {
"primitive": "string"
}
},
{
"docs": {
"stability": "experimental"
},
"immutable": true,
"locationInModule": {
"filename": "lib/submodule/my-class.ts",
"line": 7
},
"name": "goodness",
"type": {
"fqn": "jsii-calc.submodule.child.Goodness"
}
},
{
"docs": {
"stability": "experimental"
},
"locationInModule": {
"filename": "lib/submodule/my-class.ts",
"line": 8
},
"name": "allTypes",
"optional": true,
"type": {
"fqn": "jsii-calc.AllTypes"
}
}
]
},
"jsii-calc.submodule.back_references.MyClassReference": {
"assembly": "jsii-calc",
"datatype": true,
"docs": {
"stability": "experimental"
},
"fqn": "jsii-calc.submodule.back_references.MyClassReference",
"kind": "interface",
"locationInModule": {
"filename": "lib/submodule/refers-to-parent/index.ts",
"line": 3
},
"name": "MyClassReference",
"namespace": "submodule.back_references",
"properties": [
{
"abstract": true,
"docs": {
"stability": "experimental"
},
"immutable": true,
"locationInModule": {
"filename": "lib/submodule/refers-to-parent/index.ts",
"line": 4
},
"name": "reference",
"type": {
"fqn": "jsii-calc.submodule.MyClass"
}
}
]
},
"jsii-calc.submodule.child.Goodness": {
"assembly": "jsii-calc",
"docs": {
"stability": "experimental"
},
"fqn": "jsii-calc.submodule.child.Goodness",
"kind": "enum",
"locationInModule": {
"filename": "lib/submodule/child/index.ts",
"line": 5
},
"members": [
{
"docs": {
"stability": "experimental",
"summary": "It's pretty good."
},
"name": "PRETTY_GOOD"
},
{
"docs": {
"stability": "experimental",
"summary": "It's really good."
},
"name": "REALLY_GOOD"
},
{
"docs": {
"stability": "experimental",
"summary": "It's amazingly good."
},
"name": "AMAZINGLY_GOOD"
}
],
"name": "Goodness",
"namespace": "submodule.child"
},
"jsii-calc.submodule.child.Structure": {
"assembly": "jsii-calc",
"datatype": true,
Expand Down Expand Up @@ -12187,6 +12323,7 @@
]
},
"jsii-calc.submodule.nested_submodule.Namespaced": {
"abstract": true,
"assembly": "jsii-calc",
"docs": {
"stability": "experimental"
Expand All @@ -12197,8 +12334,8 @@
],
"kind": "class",
"locationInModule": {
"filename": "lib/submodule/index.ts",
"line": 8
"filename": "lib/submodule/nested_submodule.ts",
"line": 10
},
"name": "Namespaced",
"namespace": "submodule.nested_submodule",
Expand All @@ -12209,14 +12346,29 @@
},
"immutable": true,
"locationInModule": {
"filename": "lib/submodule/index.ts",
"line": 9
"filename": "lib/submodule/nested_submodule.ts",
"line": 11
},
"name": "definedAt",
"overrides": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced",
"type": {
"primitive": "string"
}
},
{
"abstract": true,
"docs": {
"stability": "experimental"
},
"immutable": true,
"locationInModule": {
"filename": "lib/submodule/nested_submodule.ts",
"line": 12
},
"name": "goodness",
"type": {
"fqn": "jsii-calc.submodule.child.Goodness"
}
}
]
},
Expand All @@ -12228,8 +12380,8 @@
"fqn": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced",
"kind": "interface",
"locationInModule": {
"filename": "lib/submodule/index.ts",
"line": 3
"filename": "lib/submodule/nested_submodule.ts",
"line": 5
},
"name": "INamespaced",
"namespace": "submodule.nested_submodule.deeplyNested",
Expand All @@ -12241,8 +12393,8 @@
},
"immutable": true,
"locationInModule": {
"filename": "lib/submodule/index.ts",
"line": 4
"filename": "lib/submodule/nested_submodule.ts",
"line": 6
},
"name": "definedAt",
"type": {
Expand All @@ -12253,5 +12405,5 @@
}
},
"version": "1.1.0",
"fingerprint": "q2bAmQlqnFhbni6+NVgvKc4llulsPPEXGKkQvoTi1jo="
"fingerprint": "vtobmk8xL6Ke30Blb4NyDZ1X7T7J8lcKbbrmZtMtcpU="
}
Loading

0 comments on commit 318c67e

Please sign in to comment.