diff --git a/src/Famix-Fortran03-Entities/FamixF03Comment.class.st b/src/Famix-Fortran03-Entities/FamixF03Comment.class.st index 7e70e63..7d0708a 100644 --- a/src/Famix-Fortran03-Entities/FamixF03Comment.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03Comment.class.st @@ -1,3 +1,21 @@ +" +## Relations +====================== + +### Parents +| Relation | Origin | Opposite | Type | Comment | +|---| +| `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `content` | `String` | nil | Content of the comment as a String| + +" Class { #name : #FamixF03Comment, #superclass : #FamixF03SourcedEntity, diff --git a/src/Famix-Fortran03-Entities/FamixF03DerivedType.class.st b/src/Famix-Fortran03-Entities/FamixF03DerivedType.class.st index cbf5699..d17f04e 100644 --- a/src/Famix-Fortran03-Entities/FamixF03DerivedType.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03DerivedType.class.st @@ -10,6 +10,18 @@ contains end type ``` + +## Relations +====================== + +### Children +| Relation | Origin | Opposite | Type | Comment | +|---| +| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.| +| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.| + + + " Class { #name : #FamixF03DerivedType, diff --git a/src/Famix-Fortran03-Entities/FamixF03Entity.class.st b/src/Famix-Fortran03-Entities/FamixF03Entity.class.st index b208dca..c289406 100644 --- a/src/Famix-Fortran03-Entities/FamixF03Entity.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03Entity.class.st @@ -55,3 +55,10 @@ FamixF03Entity >> isMethod [ ^ false ] + +{ #category : #testing } +FamixF03Entity >> isQueryable [ + + + ^ false +] diff --git a/src/Famix-Fortran03-Entities/FamixF03Inheritance.class.st b/src/Famix-Fortran03-Entities/FamixF03Inheritance.class.st index b682722..de1c914 100644 --- a/src/Famix-Fortran03-Entities/FamixF03Inheritance.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03Inheritance.class.st @@ -1,5 +1,34 @@ " I an inheritance association + +## Relations +====================== + +### Association source +| Relation | Origin | Opposite | Type | Comment | +|---| +| `subclass` | `FamixTInheritance` | `superInheritances` | `FamixTWithInheritances` | Subclass linked to in this relationship. from-side of the association| + +### Association target +| Relation | Origin | Opposite | Type | Comment | +|---| +| `superclass` | `FamixTInheritance` | `subInheritances` | `FamixTWithInheritances` | Superclass linked to in this relationship. to-side of the association| + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `next` | `FamixTAssociation` | `previous` | `FamixTAssociation` | Next association in an ordered collection of associations. Currently not supported by the Moose importer| +| `previous` | `FamixTAssociation` | `next` | `FamixTAssociation` | Previous association in an ordered collection of associations. Currently not supported by the Moose importer| +| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| + " Class { #name : #FamixF03Inheritance, diff --git a/src/Famix-Fortran03-Entities/FamixF03Method.class.st b/src/Famix-Fortran03-Entities/FamixF03Method.class.st index cee90c2..e2236dc 100644 --- a/src/Famix-Fortran03-Entities/FamixF03Method.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03Method.class.st @@ -1,5 +1,49 @@ " I am a type-bound-procedure in a user-defined-type + +## Relations +====================== + +### Parents +| Relation | Origin | Opposite | Type | Comment | +|---| +| `parentType` | `FamixTMethod` | `methods` | `FamixTWithMethods` | Type declaring the method. It provides the implementation for belongsTo.| + +### Children +| Relation | Origin | Opposite | Type | Comment | +|---| +| `implicitVariables` | `FamixTWithImplicitVariables` | `parentBehaviouralEntity` | `FamixTImplicitVariable` | Implicit variables used locally by this behaviour.| +| `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.| +| `parameters` | `FamixTWithParameters` | `parentBehaviouralEntity` | `FamixTParameter` | List of formal parameters declared by this behaviour.| + +### 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.| +| `outgoingReferences` | `FamixTWithReferences` | `referencer` | `FamixTReference` | References from this entity to other entities.| + +### Incoming dependencies +| Relation | Origin | Opposite | Type | Comment | +|---| +| `incomingInvocations` | `FamixTInvocable` | `candidates` | `FamixTInvocation` | Incoming invocations from other behaviours computed by the candidate operator.| + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any| +| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| +| `name` | `String` | nil | Basic name of the entity, not full reference.| +| `signature` | `String` | nil | Signature of the message being sent| + " Class { #name : #FamixF03Method, diff --git a/src/Famix-Fortran03-Entities/FamixF03Module.class.st b/src/Famix-Fortran03-Entities/FamixF03Module.class.st index 3ce9605..1c06eeb 100644 --- a/src/Famix-Fortran03-Entities/FamixF03Module.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03Module.class.st @@ -36,6 +36,22 @@ contains end module my_mod ``` + +## Relations +====================== + +### Children +| Relation | Origin | Opposite | Type | Comment | +|---| +| `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.| + +### Incoming dependencies +| Relation | Origin | Opposite | Type | Comment | +|---| +| `users` | `FamixF03Module` | `used` | `FamixF03Use` | All users of this module| + + + " Class { #name : #FamixF03Module, diff --git a/src/Famix-Fortran03-Entities/FamixF03NamedEntity.class.st b/src/Famix-Fortran03-Entities/FamixF03NamedEntity.class.st index 4b33a0e..f5c91d6 100644 --- a/src/Famix-Fortran03-Entities/FamixF03NamedEntity.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03NamedEntity.class.st @@ -1,3 +1,12 @@ +" +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `name` | `String` | nil | Basic name of the entity, not full reference.| + +" Class { #name : #FamixF03NamedEntity, #superclass : #FamixF03Entity, diff --git a/src/Famix-Fortran03-Entities/FamixF03SourceAnchor.class.st b/src/Famix-Fortran03-Entities/FamixF03SourceAnchor.class.st index 64b09ba..2ebfa10 100644 --- a/src/Famix-Fortran03-Entities/FamixF03SourceAnchor.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03SourceAnchor.class.st @@ -1,3 +1,15 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `element` | `FamixTSourceAnchor` | `sourceAnchor` | `FamixTSourceEntity` | Enable the accessibility to the famix entity that this class is a source pointer for| + + + +" Class { #name : #FamixF03SourceAnchor, #superclass : #FamixF03Entity, diff --git a/src/Famix-Fortran03-Entities/FamixF03SourceLanguage.class.st b/src/Famix-Fortran03-Entities/FamixF03SourceLanguage.class.st index e384f5a..684a53b 100644 --- a/src/Famix-Fortran03-Entities/FamixF03SourceLanguage.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03SourceLanguage.class.st @@ -1,3 +1,15 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| + + + +" Class { #name : #FamixF03SourceLanguage, #superclass : #FamixF03Entity, diff --git a/src/Famix-Fortran03-Entities/FamixF03SourceTextAnchor.class.st b/src/Famix-Fortran03-Entities/FamixF03SourceTextAnchor.class.st index ba01e3e..d083a41 100644 --- a/src/Famix-Fortran03-Entities/FamixF03SourceTextAnchor.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03SourceTextAnchor.class.st @@ -1,3 +1,21 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `element` | `FamixTSourceAnchor` | `sourceAnchor` | `FamixTSourceEntity` | Enable the accessibility to the famix entity that this class is a source pointer for| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `source` | `String` | nil | Actual source code of the source entity| + +" Class { #name : #FamixF03SourceTextAnchor, #superclass : #FamixF03SourceAnchor, diff --git a/src/Famix-Fortran03-Entities/FamixF03SourcedEntity.class.st b/src/Famix-Fortran03-Entities/FamixF03SourcedEntity.class.st index 9dd1067..bc8579a 100644 --- a/src/Famix-Fortran03-Entities/FamixF03SourcedEntity.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03SourcedEntity.class.st @@ -1,3 +1,21 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| + +" Class { #name : #FamixF03SourcedEntity, #superclass : #FamixF03Entity, diff --git a/src/Famix-Fortran03-Entities/FamixF03TEntityCreator.trait.st b/src/Famix-Fortran03-Entities/FamixF03TEntityCreator.trait.st index 49cb89b..31b437b 100644 --- a/src/Famix-Fortran03-Entities/FamixF03TEntityCreator.trait.st +++ b/src/Famix-Fortran03-Entities/FamixF03TEntityCreator.trait.st @@ -1,6 +1,8 @@ " This trait is used by Famix models. It provides an API for creating entities and adding them to the model. + + " Trait { #name : #FamixF03TEntityCreator, @@ -72,13 +74,6 @@ FamixF03TEntityCreator >> newSourceTextAnchor [ ^ self add: FamixF03SourceTextAnchor new ] -{ #category : #'entity creation' } -FamixF03TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixF03UnknownSourceLanguage new -] - { #category : #'entity creation' } FamixF03TEntityCreator >> newUse [ diff --git a/src/Famix-Fortran03-Entities/FamixF03THasIntent.trait.st b/src/Famix-Fortran03-Entities/FamixF03THasIntent.trait.st index d40ad22..11d652f 100644 --- a/src/Famix-Fortran03-Entities/FamixF03THasIntent.trait.st +++ b/src/Famix-Fortran03-Entities/FamixF03THasIntent.trait.st @@ -1,5 +1,13 @@ " Dummy parameter can express his intent amongs: in, out, inout + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `intent` | `String` | nil | intent of the entity (work only for dummy argument)| + " Trait { #name : #FamixF03THasIntent, diff --git a/src/Famix-Fortran03-Entities/FamixF03UnknownSourceLanguage.class.st b/src/Famix-Fortran03-Entities/FamixF03UnknownSourceLanguage.class.st deleted file mode 100644 index 817bf0f..0000000 --- a/src/Famix-Fortran03-Entities/FamixF03UnknownSourceLanguage.class.st +++ /dev/null @@ -1,16 +0,0 @@ -Class { - #name : #FamixF03UnknownSourceLanguage, - #superclass : #FamixF03SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Fortran03-Entities-Entities' -} - -{ #category : #meta } -FamixF03UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Fortran03-Entities/FamixF03Use.class.st b/src/Famix-Fortran03-Entities/FamixF03Use.class.st index efbda64..cac1e26 100644 --- a/src/Famix-Fortran03-Entities/FamixF03Use.class.st +++ b/src/Famix-Fortran03-Entities/FamixF03Use.class.st @@ -1,5 +1,34 @@ " Thanks to me, you can import a procedures, variables, constants,... defined in a module. Im an association between a program unit and a module + +## Relations +====================== + +### Association source +| Relation | Origin | Opposite | Type | Comment | +|---| +| `usedBy` | `FamixF03Use` | `uses` | `FamixF77ProgramUnit` | used by this program unit| + +### Association target +| Relation | Origin | Opposite | Type | Comment | +|---| +| `used` | `FamixF03Use` | `users` | `FamixF03Module` | Module used| + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `next` | `FamixTAssociation` | `previous` | `FamixTAssociation` | Next association in an ordered collection of associations. Currently not supported by the Moose importer| +| `previous` | `FamixTAssociation` | `next` | `FamixTAssociation` | Previous association in an ordered collection of associations. Currently not supported by the Moose importer| +| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| + " Class { #name : #FamixF03Use, diff --git a/src/Famix-Fortran77-Entities/FamixF77Access.class.st b/src/Famix-Fortran77-Entities/FamixF77Access.class.st index 1046529..c78d963 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Access.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Access.class.st @@ -6,14 +6,17 @@ an access of a variable ### Association source | Relation | Origin | Opposite | Type | Comment | +|---| | `accessor` | `FamixTAccess` | `accesses` | `FamixTWithAccesses` | Behavioural entity making the access to the variable. from-side of the association| ### Association target | Relation | Origin | Opposite | Type | Comment | +|---| | `variable` | `FamixTAccess` | `incomingAccesses` | `FamixTAccessible` | Variable accessed. to-side of the association| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `next` | `FamixTAssociation` | `previous` | `FamixTAssociation` | Next association in an ordered collection of associations. Currently not supported by the Moose importer| | `previous` | `FamixTAssociation` | `next` | `FamixTAssociation` | Previous association in an ordered collection of associations. Currently not supported by the Moose importer| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -23,6 +26,7 @@ an access of a variable ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `isWrite` | `Boolean` | false | Write access| diff --git a/src/Famix-Fortran77-Entities/FamixF77Comment.class.st b/src/Famix-Fortran77-Entities/FamixF77Comment.class.st index b151a1b..abafc22 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Comment.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Comment.class.st @@ -4,8 +4,9 @@ a fortran comment ## Relations ====================== -### Other +### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment| @@ -13,6 +14,7 @@ a fortran comment ====================== | Name | Type | Default value | Comment | +|---| | `content` | `String` | nil | Content of the comment as a String| | `isEsope` | `Boolean` | false | It is esope comment ?| diff --git a/src/Famix-Fortran77-Entities/FamixF77Entity.class.st b/src/Famix-Fortran77-Entities/FamixF77Entity.class.st index 84e7d90..7fdee75 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Entity.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Entity.class.st @@ -63,6 +63,13 @@ FamixF77Entity >> isLocalVariable [ ^ false ] +{ #category : #testing } +FamixF77Entity >> isQueryable [ + + + ^ false +] + { #category : #testing } FamixF77Entity >> isStructuralEntity [ diff --git a/src/Famix-Fortran77-Entities/FamixF77ExternalDeclaration.class.st b/src/Famix-Fortran77-Entities/FamixF77ExternalDeclaration.class.st index 97240e5..502e772 100644 --- a/src/Famix-Fortran77-Entities/FamixF77ExternalDeclaration.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77ExternalDeclaration.class.st @@ -7,10 +7,12 @@ Im a external declaration. ### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `programUnit` | `FamixF77ExternalDeclaration` | `externalDeclarations` | `FamixF77ProgramUnit` | | ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -18,6 +20,7 @@ Im a external declaration. ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| " diff --git a/src/Famix-Fortran77-Entities/FamixF77Implicit.class.st b/src/Famix-Fortran77-Entities/FamixF77Implicit.class.st index f617971..c47f89d 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Implicit.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Implicit.class.st @@ -5,6 +5,7 @@ ====================== | Name | Type | Default value | Comment | +|---| | `letters` | `Object` | nil | | | `type` | `FamixTType` | nil | | diff --git a/src/Famix-Fortran77-Entities/FamixF77ImportingContext.class.st b/src/Famix-Fortran77-Entities/FamixF77ImportingContext.class.st index dc8d3f7..ac9ffa9 100644 --- a/src/Famix-Fortran77-Entities/FamixF77ImportingContext.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77ImportingContext.class.st @@ -162,13 +162,6 @@ FamixF77ImportingContext >> importTypeUnknown [ ^ self importConcreteEntity: (self class fm3ClassNamed: #TypeUnknown) ] -{ #category : #importing } -FamixF77ImportingContext >> importUnknownSourceLanguage [ - - - ^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage) -] - { #category : #importing } FamixF77ImportingContext >> importVariable [ @@ -323,13 +316,6 @@ FamixF77ImportingContext >> shouldImportTypeUnknown [ ^ self shouldImport: #TypeUnknown ] -{ #category : #testing } -FamixF77ImportingContext >> shouldImportUnknownSourceLanguage [ - - - ^ self shouldImport: #UnknownSourceLanguage -] - { #category : #testing } FamixF77ImportingContext >> shouldImportVariable [ diff --git a/src/Famix-Fortran77-Entities/FamixF77Include.class.st b/src/Famix-Fortran77-Entities/FamixF77Include.class.st index 90b55d3..4e983df 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Include.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Include.class.st @@ -8,14 +8,17 @@ Entity to hold `#include ""file.inc""` directive ### Association source | Relation | Origin | Opposite | Type | Comment | +|---| | `includedBy` | `FamixF77Include` | `includes` | `FamixF77ProgramUnit` | File including the receiver| ### Association target | Relation | Origin | Opposite | Type | Comment | +|---| | `included` | `FamixF77Include` | `inclusions` | `FamixF77IncludedFile` | File included| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `next` | `FamixTAssociation` | `previous` | `FamixTAssociation` | Next association in an ordered collection of associations. Currently not supported by the Moose importer| | `previous` | `FamixTAssociation` | `next` | `FamixTAssociation` | Previous association in an ordered collection of associations. Currently not supported by the Moose importer| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -25,6 +28,7 @@ Entity to hold `#include ""file.inc""` directive ====================== | Name | Type | Default value | Comment | +|---| | `filename` | `String` | nil | Hold the name of the file included. Will be used to link this relation with the includedFile entity| | `isLocal` | `Boolean` | nil | Whether this is a local include (with ""included.h"") or a system one (with )| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| @@ -36,10 +40,10 @@ Class { #traits : 'FamixTAssociation', #classTraits : 'FamixTAssociation classTrait', #instVars : [ + '#isLocal => FMProperty', '#filename => FMProperty', '#included => FMOne type: #FamixF77IncludedFile opposite: #inclusions', - '#includedBy => FMOne type: #FamixF77ProgramUnit opposite: #includes', - '#isLocal => FMProperty' + '#includedBy => FMOne type: #FamixF77ProgramUnit opposite: #includes' ], #category : #'Famix-Fortran77-Entities-Entities' } diff --git a/src/Famix-Fortran77-Entities/FamixF77IncludedFile.class.st b/src/Famix-Fortran77-Entities/FamixF77IncludedFile.class.st index 27d7daa..1e88f42 100644 --- a/src/Famix-Fortran77-Entities/FamixF77IncludedFile.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77IncludedFile.class.st @@ -6,12 +6,13 @@ includedFile ### Children | Relation | Origin | Opposite | Type | Comment | +|---| | `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.| +| `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.| ### Incoming dependencies | Relation | Origin | Opposite | Type | Comment | +|---| | `inclusions` | `FamixF77IncludedFile` | `included` | `FamixF77Include` | All inclusions of this file| diff --git a/src/Famix-Fortran77-Entities/FamixF77IndexedFileAnchor.class.st b/src/Famix-Fortran77-Entities/FamixF77IndexedFileAnchor.class.st index 44a75ec..5ff765a 100644 --- a/src/Famix-Fortran77-Entities/FamixF77IndexedFileAnchor.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77IndexedFileAnchor.class.st @@ -5,6 +5,7 @@ Its the sourceAnchor (position of the token) in the source file (startLine@start ====================== | Name | Type | Default value | Comment | +|---| | `correspondingFile` | `FamixTFile` | nil | File associated to this source anchor| | `encoding` | `String` | nil | A string representing the encoding of a file| | `endColumn` | `Number` | nil | Number of the end column| diff --git a/src/Famix-Fortran77-Entities/FamixF77Invocation.class.st b/src/Famix-Fortran77-Entities/FamixF77Invocation.class.st index 6c97a1f..6a3f073 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Invocation.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Invocation.class.st @@ -6,14 +6,17 @@ an invocation of procedure inside a procedure or main program ### Association source | Relation | Origin | Opposite | Type | Comment | +|---| | `sender` | `FamixTInvocation` | `outgoingInvocations` | `FamixTWithInvocations` | Behavioural entity making the call. from-side of the association| ### Association target | Relation | Origin | Opposite | Type | Comment | +|---| | `candidates` | `FamixTInvocation` | `incomingInvocations` | `FamixTInvocable` | List of candidate behavioural entities for receiving the invocation| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `next` | `FamixTAssociation` | `previous` | `FamixTAssociation` | Next association in an ordered collection of associations. Currently not supported by the Moose importer| | `previous` | `FamixTAssociation` | `next` | `FamixTAssociation` | Previous association in an ordered collection of associations. Currently not supported by the Moose importer| | `receiver` | `FamixTInvocation` | `receivingInvocations` | `FamixTInvocationsReceiver` | Named entity (variable, class...) receiving the invocation. to-side of the association| @@ -24,6 +27,7 @@ an invocation of procedure inside a procedure or main program ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `signature` | `String` | nil | Signature of the message being sent| diff --git a/src/Famix-Fortran77-Entities/FamixF77NamedEntity.class.st b/src/Famix-Fortran77-Entities/FamixF77NamedEntity.class.st index f6b5e60..8ad49d3 100644 --- a/src/Famix-Fortran77-Entities/FamixF77NamedEntity.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77NamedEntity.class.st @@ -3,6 +3,7 @@ ====================== | Name | Type | Default value | Comment | +|---| | `name` | `String` | nil | Basic name of the entity, not full reference.| " diff --git a/src/Famix-Fortran77-Entities/FamixF77PUBlockdata.class.st b/src/Famix-Fortran77-Entities/FamixF77PUBlockdata.class.st index 0fd77f2..e2a4936 100644 --- a/src/Famix-Fortran77-Entities/FamixF77PUBlockdata.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77PUBlockdata.class.st @@ -6,16 +6,19 @@ a block data for common variable ### Children | Relation | Origin | Opposite | Type | Comment | +|---| | `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.| ### 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.| | `outgoingReferences` | `FamixTWithReferences` | `referencer` | `FamixTReference` | References from this entity to other entities.| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -23,6 +26,7 @@ a block data for common variable ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| " diff --git a/src/Famix-Fortran77-Entities/FamixF77PUComment.class.st b/src/Famix-Fortran77-Entities/FamixF77PUComment.class.st index 7e8b825..edb87d2 100644 --- a/src/Famix-Fortran77-Entities/FamixF77PUComment.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77PUComment.class.st @@ -4,8 +4,9 @@ a comment belongs to fortran file ## Relations ====================== -### Other +### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment| @@ -13,6 +14,7 @@ a comment belongs to fortran file ====================== | Name | Type | Default value | Comment | +|---| | `content` | `String` | nil | Content of the comment as a String| " diff --git a/src/Famix-Fortran77-Entities/FamixF77PUFunction.class.st b/src/Famix-Fortran77-Entities/FamixF77PUFunction.class.st index f73b3c4..b902334 100644 --- a/src/Famix-Fortran77-Entities/FamixF77PUFunction.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77PUFunction.class.st @@ -6,6 +6,7 @@ a function procedure ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any| @@ -13,6 +14,7 @@ a function procedure ====================== | Name | Type | Default value | Comment | +|---| | `isEsope` | `Boolean` | false | It is kind of esope function ?| " diff --git a/src/Famix-Fortran77-Entities/FamixF77PUMain.class.st b/src/Famix-Fortran77-Entities/FamixF77PUMain.class.st index e1bb181..ce3296b 100644 --- a/src/Famix-Fortran77-Entities/FamixF77PUMain.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77PUMain.class.st @@ -6,18 +6,20 @@ a main program ### Children | Relation | Origin | Opposite | Type | Comment | +|---| | `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.| +| `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.| | `outgoingReferences` | `FamixTWithReferences` | `referencer` | `FamixTReference` | References from this entity to other entities.| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -25,6 +27,7 @@ a main program ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| " diff --git a/src/Famix-Fortran77-Entities/FamixF77PUProcedure.class.st b/src/Famix-Fortran77-Entities/FamixF77PUProcedure.class.st index 08a1e26..1336810 100644 --- a/src/Famix-Fortran77-Entities/FamixF77PUProcedure.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77PUProcedure.class.st @@ -6,23 +6,26 @@ a procedure ### Children | Relation | Origin | Opposite | Type | Comment | +|---| | `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.| | `parameters` | `FamixTWithParameters` | `parentBehaviouralEntity` | `FamixTParameter` | List of formal parameters declared 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.| +| `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.| | `outgoingReferences` | `FamixTWithReferences` | `referencer` | `FamixTReference` | References from this entity to other entities.| ### Incoming dependencies | Relation | Origin | Opposite | Type | Comment | +|---| | `incomingInvocations` | `FamixTInvocable` | `candidates` | `FamixTInvocation` | Incoming invocations from other behaviours computed by the candidate operator.| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -30,6 +33,7 @@ a procedure ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `signature` | `String` | nil | Signature of the message being sent| @@ -50,8 +54,3 @@ FamixF77PUProcedure class >> annotation [ ^ self ] - -{ #category : #testing } -FamixF77PUProcedure >> isInvocable [ - ^true -] diff --git a/src/Famix-Fortran77-Entities/FamixF77Parameter.class.st b/src/Famix-Fortran77-Entities/FamixF77Parameter.class.st index 8b196e8..2917790 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Parameter.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Parameter.class.st @@ -6,14 +6,17 @@ a formal parameter ### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `parentBehaviouralEntity` | `FamixTParameter` | `parameters` | `FamixTWithParameters` | Behavioural entity containing this parameter. belongsTo implementation| ### Incoming dependencies | Relation | Origin | Opposite | Type | Comment | +|---| | `incomingAccesses` | `FamixTAccessible` | `variable` | `FamixTAccess` | All Famix accesses pointing to this structural entity| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -22,6 +25,7 @@ a formal parameter ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `name` | `String` | nil | Basic name of the entity, not full reference.| diff --git a/src/Famix-Fortran77-Entities/FamixF77ProgramFile.class.st b/src/Famix-Fortran77-Entities/FamixF77ProgramFile.class.st index dc94874..21adb63 100644 --- a/src/Famix-Fortran77-Entities/FamixF77ProgramFile.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77ProgramFile.class.st @@ -6,15 +6,18 @@ a fortran file ### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `compilationUnitOwner` | `FamixTCompilationUnit` | `compilationUnit` | `FamixTWithCompilationUnits` | The compilation unit that defines this module| | `parentFolder` | `FamixTFileSystemEntity` | `childrenFileSystemEntities` | `FamixTFolder` | Folder entity containing this file.| ### Children | Relation | Origin | Opposite | Type | Comment | +|---| | `programUnits` | `FamixF77ProgramFile` | `programFile` | `FamixF77ProgramUnit` | | ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `entities` | `FamixTFile` | `containerFiles` | `FamixTWithFiles` | List of entities defined in the file| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -23,6 +26,7 @@ a fortran file ====================== | Name | Type | Default value | Comment | +|---| | `filename` | `String` | nil | Fortran name of the file| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `version` | `String` | nil | Fortran version of the file| @@ -34,9 +38,9 @@ Class { #traits : 'FamixTCompilationUnit + FamixTSourceEntity + TEntityMetaLevelDependency', #classTraits : 'FamixTCompilationUnit classTrait + FamixTSourceEntity classTrait + TEntityMetaLevelDependency classTrait', #instVars : [ + '#version => FMProperty', '#filename => FMProperty', - '#programUnits => FMMany type: #FamixF77ProgramUnit opposite: #programFile', - '#version => FMProperty' + '#programUnits => FMMany type: #FamixF77ProgramUnit opposite: #programFile' ], #category : #'Famix-Fortran77-Entities-Entities' } @@ -94,12 +98,6 @@ FamixF77ProgramFile >> programUnitsGroup [ ^ MooseSpecializedGroup withAll: self programUnits asSet ] -{ #category : #accessing } -FamixF77ProgramFile >> symbolTable [ - - ^ self attributeAt: #symbolTable ifAbsentPut: [ Dictionary new ] -] - { #category : #accessing } FamixF77ProgramFile >> version [ diff --git a/src/Famix-Fortran77-Entities/FamixF77ProgramUnit.class.st b/src/Famix-Fortran77-Entities/FamixF77ProgramUnit.class.st index 05a3833..5cd9add 100644 --- a/src/Famix-Fortran77-Entities/FamixF77ProgramUnit.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77ProgramUnit.class.st @@ -6,19 +6,23 @@ a program unit ### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `programFile` | `FamixF77ProgramUnit` | `programUnits` | `FamixF77ProgramFile` | | ### Children | Relation | Origin | Opposite | Type | Comment | +|---| +| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity| | `externalDeclarations` | `FamixF77ProgramUnit` | `programUnit` | `FamixF77ExternalDeclaration` | | ### Outgoing dependencies | Relation | Origin | Opposite | Type | Comment | +|---| | `includes` | `FamixF77ProgramUnit` | `includedBy` | `FamixF77Include` | All inclusions made by this programUnits| ### Other | Relation | Origin | Opposite | Type | Comment | -| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity| +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -26,6 +30,7 @@ a program unit ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| " @@ -35,9 +40,9 @@ Class { #traits : 'FamixTSourceEntity + FamixTWithComments + TEntityMetaLevelDependency', #classTraits : 'FamixTSourceEntity classTrait + FamixTWithComments classTrait + TEntityMetaLevelDependency classTrait', #instVars : [ + '#programFile => FMOne type: #FamixF77ProgramFile opposite: #programUnits', '#externalDeclarations => FMMany type: #FamixF77ExternalDeclaration opposite: #programUnit', - '#includes => FMMany type: #FamixF77Include opposite: #includedBy', - '#programFile => FMOne type: #FamixF77ProgramFile opposite: #programUnits' + '#includes => FMMany type: #FamixF77Include opposite: #includedBy' ], #category : #'Famix-Fortran77-Entities-Entities' } @@ -71,21 +76,6 @@ FamixF77ProgramUnit >> addInclude: anObject [ ^ self includes add: anObject ] -{ #category : #implicit } -FamixF77ProgramUnit >> defaultImplicit [ - - ^ (($a to: $z) collect: [ :char | - ('ijklmn' includes: char) - ifTrue: [ char -> #integer ] - ifFalse: [ char -> #real ] ]) asDictionary -] - -{ #category : #accessing } -FamixF77ProgramUnit >> dicImplicit [ - - ^ self attributeAt: #dicImplicit ifAbsentPut: [ self defaultImplicit ] -] - { #category : #accessing } FamixF77ProgramUnit >> externalDeclarations [ "Relation named: #externalDeclarations type: #FamixF77ExternalDeclaration opposite: #programUnit" @@ -109,12 +99,6 @@ FamixF77ProgramUnit >> externalDeclarationsGroup [ ^ MooseSpecializedGroup withAll: self externalDeclarations asSet ] -{ #category : #testing } -FamixF77ProgramUnit >> implicits [ - - ^ self attributeAt: #implicits ifAbsent: [ ] -] - { #category : #accessing } FamixF77ProgramUnit >> includes [ "Relation named: #includes type: #FamixF77Include opposite: #includedBy" @@ -132,11 +116,6 @@ FamixF77ProgramUnit >> includes: anObject [ includes value: anObject ] -{ #category : #testing } -FamixF77ProgramUnit >> isInvocable [ - ^false -] - { #category : #accessing } FamixF77ProgramUnit >> programFile [ "Relation named: #programFile type: #FamixF77ProgramFile opposite: #programUnits" @@ -159,9 +138,3 @@ FamixF77ProgramUnit >> programFileGroup [ ^ MooseSpecializedGroup with: self programFile ] - -{ #category : #accessing } -FamixF77ProgramUnit >> symbolTable [ - - ^ self attributeAt: #symbolTable ifAbsentPut: [ Dictionary new ] -] diff --git a/src/Famix-Fortran77-Entities/FamixF77SourceAnchor.class.st b/src/Famix-Fortran77-Entities/FamixF77SourceAnchor.class.st index aa7543d..55c8f18 100644 --- a/src/Famix-Fortran77-Entities/FamixF77SourceAnchor.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77SourceAnchor.class.st @@ -4,6 +4,7 @@ ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `element` | `FamixTSourceAnchor` | `sourceAnchor` | `FamixTSourceEntity` | Enable the accessibility to the famix entity that this class is a source pointer for| diff --git a/src/Famix-Fortran77-Entities/FamixF77SourceLanguage.class.st b/src/Famix-Fortran77-Entities/FamixF77SourceLanguage.class.st index 218487c..d7d83f1 100644 --- a/src/Famix-Fortran77-Entities/FamixF77SourceLanguage.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77SourceLanguage.class.st @@ -4,6 +4,7 @@ ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| diff --git a/src/Famix-Fortran77-Entities/FamixF77SourceTextAnchor.class.st b/src/Famix-Fortran77-Entities/FamixF77SourceTextAnchor.class.st index 585db28..ddfbce2 100644 --- a/src/Famix-Fortran77-Entities/FamixF77SourceTextAnchor.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77SourceTextAnchor.class.st @@ -4,6 +4,7 @@ ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `element` | `FamixTSourceAnchor` | `sourceAnchor` | `FamixTSourceEntity` | Enable the accessibility to the famix entity that this class is a source pointer for| @@ -11,6 +12,7 @@ ====================== | Name | Type | Default value | Comment | +|---| | `source` | `String` | nil | Actual source code of the source entity| " diff --git a/src/Famix-Fortran77-Entities/FamixF77SourcedEntity.class.st b/src/Famix-Fortran77-Entities/FamixF77SourcedEntity.class.st index e784d1d..6ee1c1e 100644 --- a/src/Famix-Fortran77-Entities/FamixF77SourcedEntity.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77SourcedEntity.class.st @@ -4,6 +4,7 @@ ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -11,6 +12,7 @@ ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| " diff --git a/src/Famix-Fortran77-Entities/FamixF77TEntityCreator.trait.st b/src/Famix-Fortran77-Entities/FamixF77TEntityCreator.trait.st index 1e8685b..844e7e7 100644 --- a/src/Famix-Fortran77-Entities/FamixF77TEntityCreator.trait.st +++ b/src/Famix-Fortran77-Entities/FamixF77TEntityCreator.trait.st @@ -179,13 +179,6 @@ FamixF77TEntityCreator >> newTypeUnknown [ ^ self add: FamixF77TypeUnknown new ] -{ #category : #'entity creation' } -FamixF77TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixF77UnknownSourceLanguage new -] - { #category : #'entity creation' } FamixF77TEntityCreator >> newVariable [ diff --git a/src/Famix-Fortran77-Entities/FamixF77Type.class.st b/src/Famix-Fortran77-Entities/FamixF77Type.class.st index 9713e42..b782b15 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Type.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Type.class.st @@ -6,14 +6,17 @@ Im a Abstract Type, can be subclassed by TypeInstrinsic and Segment ### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `typeContainer` | `FamixTType` | `types` | `FamixTWithTypes` | Container entity to which this type belongs. Container is a namespace, not a package (Smalltalk).| ### Incoming dependencies | Relation | Origin | Opposite | Type | Comment | +|---| | `incomingReferences` | `FamixTReferenceable` | `referredType` | `FamixTReference` | References to this entity by other entities.| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| | `typedEntities` | `FamixTType` | `declaredType` | `FamixTTypedEntity` | Entities that have this type as declaredType| @@ -22,6 +25,7 @@ Im a Abstract Type, can be subclassed by TypeInstrinsic and Segment ====================== | Name | Type | Default value | Comment | +|---| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `kind` | `Number` | nil | kind attribute| | `length` | `Number` | nil | length attribute| @@ -34,8 +38,8 @@ Class { #traits : 'FamixTType', #classTraits : 'FamixTType classTrait', #instVars : [ - '#kind => FMProperty', - '#length => FMProperty' + '#length => FMProperty', + '#kind => FMProperty' ], #category : #'Famix-Fortran77-Entities-Entities' } diff --git a/src/Famix-Fortran77-Entities/FamixF77UnknownSourceLanguage.class.st b/src/Famix-Fortran77-Entities/FamixF77UnknownSourceLanguage.class.st deleted file mode 100644 index 8b30368..0000000 --- a/src/Famix-Fortran77-Entities/FamixF77UnknownSourceLanguage.class.st +++ /dev/null @@ -1,27 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixF77UnknownSourceLanguage, - #superclass : #FamixF77SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Fortran77-Entities-Entities' -} - -{ #category : #meta } -FamixF77UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Fortran77-Entities/FamixF77Variable.class.st b/src/Famix-Fortran77-Entities/FamixF77Variable.class.st index d8fce57..916b731 100644 --- a/src/Famix-Fortran77-Entities/FamixF77Variable.class.st +++ b/src/Famix-Fortran77-Entities/FamixF77Variable.class.st @@ -6,14 +6,17 @@ a local variable of a program unit ### Parents | Relation | Origin | Opposite | Type | Comment | +|---| | `parentBehaviouralEntity` | `FamixTLocalVariable` | `localVariables` | `FamixTWithLocalVariables` | Behavioural entity declaring this local variable. belongsTo implementation| ### Incoming dependencies | Relation | Origin | Opposite | Type | Comment | +|---| | `incomingAccesses` | `FamixTAccessible` | `variable` | `FamixTAccess` | All Famix accesses pointing to this structural entity| ### Other | Relation | Origin | Opposite | Type | Comment | +|---| | `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any| | `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| @@ -22,6 +25,7 @@ a local variable of a program unit ====================== | Name | Type | Default value | Comment | +|---| | `isEsope` | `Boolean` | false | It is esope attribute variable from segment definition ?| | `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| | `name` | `String` | nil | Basic name of the entity, not full reference.| diff --git a/src/Famix-FortranUDT-Entities/FamixFortranAttribute.class.st b/src/Famix-FortranUDT-Entities/FamixFortranAttribute.class.st index bb794cb..90f3c98 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranAttribute.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranAttribute.class.st @@ -22,6 +22,36 @@ c a example of segment definition the segment `myseg` have the following attributes: `scalar`, `array`, `matrix`, `x`, `xx`, `Y`, `YY`, `icha`, `chai`, + +## Relations +====================== + +### Parents +| Relation | Origin | Opposite | Type | Comment | +|---| +| `parentType` | `FamixTAttribute` | `attributes` | `FamixTWithAttributes` | Type declaring the attribute. belongsTo implementation| +| `userDefinedType` | `FamixFortranAttribute` | `attributes` | `FamixFortranUserDefinedType` | | + +### Incoming dependencies +| Relation | Origin | Opposite | Type | Comment | +|---| +| `incomingAccesses` | `FamixTAccessible` | `variable` | `FamixTAccess` | All Famix accesses pointing to this structural entity| + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any| +| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| +| `name` | `String` | nil | Basic name of the entity, not full reference.| + " Class { #name : #FamixFortranAttribute, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranComment.class.st b/src/Famix-FortranUDT-Entities/FamixFortranComment.class.st index f41f68d..516e594 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranComment.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranComment.class.st @@ -1,3 +1,21 @@ +" +## Relations +====================== + +### Parents +| Relation | Origin | Opposite | Type | Comment | +|---| +| `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `content` | `String` | nil | Content of the comment as a String| + +" Class { #name : #FamixFortranComment, #superclass : #FamixFortranSourcedEntity, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranEntity.class.st b/src/Famix-FortranUDT-Entities/FamixFortranEntity.class.st index 396446d..f27cfbc 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranEntity.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranEntity.class.st @@ -35,6 +35,13 @@ FamixFortranEntity >> isAttribute [ ^ false ] +{ #category : #testing } +FamixFortranEntity >> isQueryable [ + + + ^ false +] + { #category : #testing } FamixFortranEntity >> isStructuralEntity [ diff --git a/src/Famix-FortranUDT-Entities/FamixFortranNamedEntity.class.st b/src/Famix-FortranUDT-Entities/FamixFortranNamedEntity.class.st index c793124..b9f07a0 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranNamedEntity.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranNamedEntity.class.st @@ -1,3 +1,12 @@ +" +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `name` | `String` | nil | Basic name of the entity, not full reference.| + +" Class { #name : #FamixFortranNamedEntity, #superclass : #FamixFortranEntity, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranSourceAnchor.class.st b/src/Famix-FortranUDT-Entities/FamixFortranSourceAnchor.class.st index 5d1f748..0373aee 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranSourceAnchor.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranSourceAnchor.class.st @@ -1,3 +1,15 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `element` | `FamixTSourceAnchor` | `sourceAnchor` | `FamixTSourceEntity` | Enable the accessibility to the famix entity that this class is a source pointer for| + + + +" Class { #name : #FamixFortranSourceAnchor, #superclass : #FamixFortranEntity, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranSourceLanguage.class.st b/src/Famix-FortranUDT-Entities/FamixFortranSourceLanguage.class.st index 7849049..df88094 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranSourceLanguage.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranSourceLanguage.class.st @@ -1,3 +1,15 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| + + + +" Class { #name : #FamixFortranSourceLanguage, #superclass : #FamixFortranEntity, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranSourceTextAnchor.class.st b/src/Famix-FortranUDT-Entities/FamixFortranSourceTextAnchor.class.st index 1c135fa..a293655 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranSourceTextAnchor.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranSourceTextAnchor.class.st @@ -1,3 +1,21 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `element` | `FamixTSourceAnchor` | `sourceAnchor` | `FamixTSourceEntity` | Enable the accessibility to the famix entity that this class is a source pointer for| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `source` | `String` | nil | Actual source code of the source entity| + +" Class { #name : #FamixFortranSourceTextAnchor, #superclass : #FamixFortranSourceAnchor, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranSourcedEntity.class.st b/src/Famix-FortranUDT-Entities/FamixFortranSourcedEntity.class.st index 02f5f43..4fd7b05 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranSourcedEntity.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranSourcedEntity.class.st @@ -1,3 +1,21 @@ +" +## Relations +====================== + +### Other +| Relation | Origin | Opposite | Type | Comment | +|---| +| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity| + + +## Properties +====================== + +| Name | Type | Default value | Comment | +|---| +| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.| + +" Class { #name : #FamixFortranSourcedEntity, #superclass : #FamixFortranEntity, diff --git a/src/Famix-FortranUDT-Entities/FamixFortranTEntityCreator.trait.st b/src/Famix-FortranUDT-Entities/FamixFortranTEntityCreator.trait.st index 33767dd..c20e42f 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranTEntityCreator.trait.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranTEntityCreator.trait.st @@ -1,6 +1,8 @@ " This trait is used by Famix models. It provides an API for creating entities and adding them to the model. + + " Trait { #name : #FamixFortranTEntityCreator, @@ -50,10 +52,3 @@ FamixFortranTEntityCreator >> newSourceTextAnchor [ ^ self add: FamixFortranSourceTextAnchor new ] - -{ #category : #'entity creation' } -FamixFortranTEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixFortranUnknownSourceLanguage new -] diff --git a/src/Famix-FortranUDT-Entities/FamixFortranUnknownSourceLanguage.class.st b/src/Famix-FortranUDT-Entities/FamixFortranUnknownSourceLanguage.class.st deleted file mode 100644 index a3ed62a..0000000 --- a/src/Famix-FortranUDT-Entities/FamixFortranUnknownSourceLanguage.class.st +++ /dev/null @@ -1,16 +0,0 @@ -Class { - #name : #FamixFortranUnknownSourceLanguage, - #superclass : #FamixFortranSourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-FortranUDT-Entities-Entities' -} - -{ #category : #meta } -FamixFortranUnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-FortranUDT-Entities/FamixFortranUserDefinedType.class.st b/src/Famix-FortranUDT-Entities/FamixFortranUserDefinedType.class.st index 40abdd0..47ee32f 100644 --- a/src/Famix-FortranUDT-Entities/FamixFortranUserDefinedType.class.st +++ b/src/Famix-FortranUDT-Entities/FamixFortranUserDefinedType.class.st @@ -1,3 +1,15 @@ +" +## Relations +====================== + +### Children +| Relation | Origin | Opposite | Type | Comment | +|---| +| `attributes` | `FamixFortranUserDefinedType` | `userDefinedType` | `FamixFortranAttribute` | | + + + +" Class { #name : #FamixFortranUserDefinedType, #superclass : #FamixF77Type,