Skip to content

Commit

Permalink
Merge pull request #50 from moosetechnology/49-FamixF77IncludedFile-c…
Browse files Browse the repository at this point in the history
…an-have-accesses-invocations-

49 famix f77 included file can have accesses invocations
  • Loading branch information
NicolasAnquetil authored Jun 7, 2024
2 parents 1b0df7a + 7c66abf commit a98a4c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Famix-Fortran77-Entities/FamixF77IncludedFile.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ includedFile
| `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.|
| `types` | `FamixTWithTypes` | `typeContainer` | `FamixTType` | Types contained (declared) in this entity, if any. #types is declared in ContainerEntity because different kinds of container can embed types. Types are usually contained in a Famix.Namespace. But types can also be contained in a Famix.Class or Famix.Method (in Java with inner classes for example). Famix.Function can also contain some types such as structs.|
### Outgoing dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
| `accesses` | `FamixTWithAccesses` | `accessor` | `FamixTAccess` | Accesses to variables made by this behaviour.|
| `outgoingInvocations` | `FamixTWithInvocations` | `sender` | `FamixTInvocation` | Outgoing invocations sent by this behaviour.|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
Expand All @@ -21,8 +27,8 @@ includedFile
Class {
#name : #FamixF77IncludedFile,
#superclass : #FamixF77ProgramUnit,
#traits : 'FamixTWithLocalVariables + FamixTWithTypes',
#classTraits : 'FamixTWithLocalVariables classTrait + FamixTWithTypes classTrait',
#traits : 'FamixTWithAccesses + FamixTWithInvocations + FamixTWithLocalVariables + FamixTWithTypes',
#classTraits : 'FamixTWithAccesses classTrait + FamixTWithInvocations classTrait + FamixTWithLocalVariables classTrait + FamixTWithTypes classTrait',
#instVars : [
'#inclusions => FMMany type: #FamixF77Include opposite: #included'
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ FamixFortran77Generator >> defineHierarchy [
includedFile --|> programUnit.
includedFile --|> #TWithLocalVariables.
includedFile --|> #TWithTypes.
includedFile --|> #TWithAccesses.
includedFile --|> #TWithInvocations.
includedFile --|> #TWithTypes.

"integer --|> typeIntrinsic.
Expand Down

0 comments on commit a98a4c6

Please sign in to comment.