Skip to content

Commit

Permalink
Add missing traits for BehaviouralEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhrmanator committed Jun 14, 2024
1 parent 78d247d commit d139864
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
"
## Relations
======================
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `parameters` | `FamixTWithParameters` | `parentBehaviouralEntity` | `FamixTParameter` | List of formal parameters declared by this behaviour.|
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
"
Class {
#name : #FamixTypeScriptBehaviouralEntity,
#superclass : #FamixTypeScriptContainerEntity,
#traits : 'FamixTTypedEntity + FamixTWithParameters',
#classTraits : 'FamixTTypedEntity classTrait + FamixTWithParameters classTrait',
#category : #'Famix-TypeScript-Entities-Entities'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ FamixTypeScriptGenerator >> defineHierarchy [
alias --|> #TImportable.

behaviouralEntity --|> containerEntity.
behaviouralEntity --|> #TWithParameters.
behaviouralEntity --|> #TTypedEntity.

class --|> type.
class --|> #TClass.
Expand Down

0 comments on commit d139864

Please sign in to comment.