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

New importer #560

Merged
merged 9 commits into from
Mar 3, 2023
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