Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regeneration of metamodel for Famix Fortran #70

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Famix-Fortran03-Generator/FamixFortran03Generator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,30 @@ FamixFortran03Generator >> defineClasses [

attribute := self remoteEntity: #Attribute withPrefix: #FamixFortran.

derivedType := builder
derivedType := self
newClassNamed: #DerivedType
comment: self derivedTypeComment.

indexedFileAnchor := self
remoteEntity: #IndexedFileAnchor
withPrefix: #FamixF77.

inheritance := builder
inheritance := self
newClassNamed: #Inheritance
comment: 'I an inheritance association'.

method := builder
method := self
newClassNamed: #Method
comment:
'I am a type-bound-procedure in a user-defined-type'.

module := builder newClassNamed: #Module comment: self moduleComment.
module := self newClassNamed: #Module comment: self moduleComment.

parameter := self remoteEntity: #Parameter withPrefix: #FamixF77.

programUnit := self remoteEntity: #ProgramUnit withPrefix: #FamixF77.

use := builder
use := self
newClassNamed: #Use
comment:
'Thanks to me, you can import a procedures, variables, constants,... defined in a module. Im an association between a program unit and a module'.
Expand Down Expand Up @@ -135,7 +135,7 @@ FamixFortran03Generator >> defineTraits [

super defineTraits.

tHasIntent := builder
tHasIntent := self
newTraitNamed: #THasIntent
comment:
'Dummy parameter can express his intent amongs: in, out, inout'
Expand Down
50 changes: 25 additions & 25 deletions src/Famix-Fortran77-Generator/FamixFortran77Generator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -97,92 +97,92 @@ FamixFortran77Generator >> defineClasses [

super defineClasses.

access := builder
access := self
newClassNamed: #Access
comment: self accessEntityComment.

"character := builder newClassNamed: #Character comment: 'Im a character'.
"character := self newClassNamed: #Character comment: 'Im a character'.

complex := builder newClassNamed: #Complex comment: 'Im a complex'."
complex := self newClassNamed: #Complex comment: 'Im a complex'."

comment comment: self fCommentEntityComment.

externalDeclaration := builder
externalDeclaration := self
newClassNamed: #ExternalDeclaration
comment: self externalDeclarationComment.

implicit := builder newClassNamed: #Implicit comment: self implicitComment.
implicit := self newClassNamed: #Implicit comment: self implicitComment.

indexedFileAnchor := builder
indexedFileAnchor := self
newClassNamed: #IndexedFileAnchor
comment: self indexedFileAnchorComment.

intrinsicRoutine := builder
intrinsicRoutine := self
newClassNamed: #IntrinsicRoutine
comment: self intrinsicRoutineComment.

invocation := builder
invocation := self
newClassNamed: #Invocation
comment: self invocationEntityComment.

include := builder
include := self
newClassNamed: #Include
comment: self includeComment.
includedFile := builder
includedFile := self
newClassNamed: #IncludedFile
comment: 'includedFile'.

parameter := builder
parameter := self
newClassNamed: #Parameter
comment: self parameterEntityComment.

programFile := builder
programFile := self
newClassNamed: #ProgramFile
comment: self fileEntityComment.

programUnit := builder
programUnit := self
newAbstractClassNamed: #ProgramUnit
comment: self programUnitEntityComment.

puBlockdata := builder
puBlockdata := self
newClassNamed: #PUBlockdata
comment: self puBlockdataEntityComment.

puFunction := builder
puFunction := self
newClassNamed: #PUFunction
comment: self puFunctionEntityComment.

puMain := builder
puMain := self
newClassNamed: #PUMain
comment: self puMainEntityComment.

puProcedure := builder
puProcedure := self
newClassNamed: #PUProcedure
comment: self puProcedureEntityComment.

puSubroutine := builder
puSubroutine := self
newClassNamed: #PUSubroutine
comment: self puSubroutineEntityComment.

statementFunction := builder
statementFunction := self
newClassNamed: #StatementFunction
comment: self statementFunctionEntityComment.

type := builder newClassNamed: #Type comment: self typeComment.
type := self newClassNamed: #Type comment: self typeComment.

typeIntrinsic := builder
typeIntrinsic := self
newClassNamed: #TypeIntrinsic
comment: self typeIntrinsicComment.

typeUnknown := builder
typeUnknown := self
newClassNamed: #TypeUnknown
comment: self typeIntrinsicComment.

variable := builder
variable := self
newClassNamed: #Variable
comment: self variableEntityComment.

unknownVariable := builder
unknownVariable := self
newClassNamed: #UnknownVariable
comment: 'Variable used but not resolved'.

Expand Down Expand Up @@ -335,7 +335,7 @@ FamixFortran77Generator >> defineTraits [

super defineTraits.

tWithStatements := builder newTraitNamed: #TWithStatements
tWithStatements := self newTraitNamed: #TWithStatements
]

{ #category : #'class comment' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ FamixFortranUDTGenerator >> defineClasses [

super defineClasses.

userDefinedType := builder
userDefinedType := self
newAbstractClassNamed: #UserDefinedType
comment: ''.
attribute := builder
attribute := self
newClassNamed: #Attribute
comment: self commentAttribute.

Expand Down
Loading