Skip to content

Commit 453de10

Browse files
committed
Fix some Unknown property messages in Transcript when loading models
1 parent f1de6fe commit 453de10

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -340,21 +340,24 @@ FamixTypeScriptGenerator >> defineHierarchy [
340340
"Module"
341341
module --|> scriptEntity.
342342
module --|> #TWithLocalVariables. "var can have module scope"
343+
module --|> #TWithComments.
343344
module --|> #TWithImports.
345+
"module --|> #TWithNamespaces." "define this Trait for TypeScript namespaces"
344346
module --|> #TImportable.
345347

346348
namespace --|> scopingEntity.
347349
namespace --|> #TNamespace. "no use (empty trait)"
348350
namespace --|> #TDefinedInModule.
349351
namespace --|> #TImportable.
350352

351-
namedEntity --|> sourcedEntity.
352353
namedEntity --|> #TInvocationsReceiver.
353354
namedEntity --|> #TEntityMetaLevelDependency.
354355
namedEntity --|> #TImportable. "Allow us abstract imported entities"
356+
namedEntity --|> sourcedEntity.
355357

356358
parameter --|> structuralEntity.
357359
parameter --|> #TParameter.
360+
parameter --|> #TWithComments.
358361

359362
parameterType --|> type.
360363
parameterType --|> #TGenericParameterType.
@@ -438,12 +441,7 @@ FamixTypeScriptGenerator >> defineProperties [
438441
{ #category : #definition }
439442
FamixTypeScriptGenerator >> defineRelations [
440443
super defineRelations.
441-
(decorator property: #decoratedEntity) *- (namedEntity property:#decorators).
442-
443-
444-
445-
446-
444+
(decorator property: #decoratedEntity) *- (namedEntity property: #decorators).
447445
]
448446

449447
{ #category : #definition }

0 commit comments

Comments
 (0)