Skip to content

Commit c44ea4b

Browse files
committed
Remove also statements
1 parent d427ae1 commit c44ea4b

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎src/FAST-Python-Model-Generator/FASTPythonMetamodelGenerator.class.st‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,6 @@ FASTPythonMetamodelGenerator >> defineHierarchy [
306306
super defineHierarchy.
307307

308308
entity --|> tEntity.
309-
self flag: #todo. "The next two line are WRONG and NEEDS to be reviewed but we currently need it because else everything will break until the MM is in a better state."
310-
entity --|> tStatement.
311309

312310
assignment --|> tAssignment.
313311

‎src/FAST-Python-Model/FASTPyEntity.class.st‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
| Relation | Origin | Opposite | Type | Comment |
77
|---|
88
| `genericParent` | `FASTPyEntity` | `genericChildren` | `FASTPyEntity` | |
9-
| `parentLoopStatement` | `FASTTStatement` | `body` | `FASTTLoopStatement` | Optional loop of which this statement is the body|
10-
| `statementContainer` | `FASTTStatement` | `statements` | `FASTTStatementBlock` | Block containing this statement.|
119
1210
### Children
1311
| Relation | Origin | Opposite | Type | Comment |
@@ -27,8 +25,8 @@
2725
Class {
2826
#name : 'FASTPyEntity',
2927
#superclass : 'MooseEntity',
30-
#traits : 'FASTTEntity + FASTTStatement',
31-
#classTraits : 'FASTTEntity classTrait + FASTTStatement classTrait',
28+
#traits : 'FASTTEntity',
29+
#classTraits : 'FASTTEntity classTrait',
3230
#instVars : [
3331
'#genericChildren => FMMany type: #FASTPyEntity opposite: #genericParent',
3432
'#genericParent => FMOne type: #FASTPyEntity opposite: #genericChildren'

0 commit comments

Comments
 (0)