Skip to content

Commit

Permalink
Merge pull request #560 from moosetechnology/new-importer
Browse files Browse the repository at this point in the history
New importer
  • Loading branch information
ClotildeToullec authored Mar 3, 2023
2 parents 0f62a32 + 759be26 commit 9e6f6d9
Show file tree
Hide file tree
Showing 21 changed files with 993 additions and 516 deletions.
1 change: 1 addition & 0 deletions src/Famix-Deprecated/FamixMetamodelBuilder.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Extension { #name : #FamixMetamodelBuilder }

{ #category : #'*Famix-Deprecated' }
FamixMetamodelBuilder >> doNotGenerateCurrent [

self deprecated: 'Only used by deprecated feature.'.
self classes do: [ :each | each willGenerate: false ].
self traits do: [ :each | each willGenerate: false ]
Expand Down
9 changes: 6 additions & 3 deletions src/Famix-Deprecated/Object.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ Extension { #name : #Object }

{ #category : #'*Famix-Deprecated' }
Object >> mooseDescriptionIn: aMetamodel [

self
deprecated: 'Use aMetamodel descriptionOf: self class instanceSide instad'
transformWith: '`@receiver mooseDescriptionIn: `@arg' -> '`@arg descriptionOf: self class instanceSide'.
^ aMetamodel descriptionOf: self class instanceSide
deprecated:
'Use aMetamodel descriptionOf: self class instanceSide instad'
transformWith: '`@receiver mooseDescriptionIn: `@arg'
-> '`@arg descriptionOf: self class instanceSide'.
^ aMetamodel fmTypeOf: self class instanceSide
]
Loading

0 comments on commit 9e6f6d9

Please sign in to comment.