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

Fix #606: Remove UnknownSourceLanguage #750

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
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ Class {
'#sourcedEntity',
'#comment',
'#namedEntity',
'#sourceTextAnchor',
'#unknownSourceLanguage'
'#sourceTextAnchor'
],
#category : #'Famix-BasicInfrastructure'
}
Expand All @@ -30,7 +29,6 @@ FamixBasicInfrastructureGenerator >> defineClasses [

sourceAnchor := builder newAbstractClassNamed: #SourceAnchor.
sourceLanguage := builder newClassNamed: #SourceLanguage.
unknownSourceLanguage := builder newClassNamed: #UnknownSourceLanguage.
sourcedEntity := builder newAbstractClassNamed: #SourcedEntity.
comment := builder newClassNamed: #Comment.
namedEntity := builder newAbstractClassNamed: #NamedEntity.
Expand All @@ -53,8 +51,5 @@ FamixBasicInfrastructureGenerator >> defineHierarchy [
namedEntity --|> #TNamedEntity.

sourceTextAnchor --|> sourceAnchor.
sourceTextAnchor --|> #THasImmediateSource.

unknownSourceLanguage --|> sourceLanguage.
unknownSourceLanguage --|> #TUnknownSourceLanguage
sourceTextAnchor --|> #THasImmediateSource
]
14 changes: 0 additions & 14 deletions src/Famix-Java-Entities/FamixJavaImportingContext.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,6 @@ FamixJavaImportingContext >> importType [
^ self importConcreteEntity: (self class fm3ClassNamed: #Type)
]

{ #category : #importing }
FamixJavaImportingContext >> importUnknownSourceLanguage [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage)
]

{ #category : #importing }
FamixJavaImportingContext >> importUnknownVariable [

Expand Down Expand Up @@ -498,13 +491,6 @@ FamixJavaImportingContext >> shouldImportType [
^ self shouldImport: #Type
]

{ #category : #testing }
FamixJavaImportingContext >> shouldImportUnknownSourceLanguage [

<generated>
^ self shouldImport: #UnknownSourceLanguage
]

{ #category : #testing }
FamixJavaImportingContext >> shouldImportUnknownVariable [

Expand Down
7 changes: 0 additions & 7 deletions src/Famix-Java-Entities/FamixJavaTEntityCreator.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,6 @@ FamixJavaTEntityCreator >> newTypeNamed: aName [
^ self add: (FamixJavaType named: aName)
]

{ #category : #'entity creation' }
FamixJavaTEntityCreator >> newUnknownSourceLanguage [

<generated>
^ self add: FamixJavaUnknownSourceLanguage new
]

{ #category : #'entity creation' }
FamixJavaTEntityCreator >> newUnknownVariable [

Expand Down
38 changes: 0 additions & 38 deletions src/Famix-Java-Entities/FamixJavaUnknownSourceLanguage.class.st

This file was deleted.

5 changes: 0 additions & 5 deletions src/Famix-MetamodelGeneration/FamixGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Class {
'tTypeAlias',
'tTypedAnnotationInstance',
'tTypedAnnotationInstanceAttribute',
'tUnknownSourceLanguage',
'tWithAccesses',
'tWithAnnotationInstanceAttributes',
'tWithAnnotationInstances',
Expand Down Expand Up @@ -1081,8 +1080,6 @@ FamixGenerator >> defineHierarchy [
tType --|> #TEntityMetaLevelDependency.
tType --|> tSourceEntity.

tUnknownSourceLanguage --|> tSourceLanguage.

tUnknownVariable --|> tStructuralEntity.

tWithClasses --|> tWithTypes.
Expand Down Expand Up @@ -1771,8 +1768,6 @@ FamixGenerator >> defineTraits [
tTypedEntity := builder newTraitNamed: #TTypedEntity.
tTypedEntity comment: self commentForTTypedStructure.

tUnknownSourceLanguage := builder newTraitNamed: #TUnknownSourceLanguage.

tUnknownVariable := builder newTraitNamed: #TUnknownVariable.

tWithAccesses := builder newTraitNamed: #TWithAccesses.
Expand Down
14 changes: 0 additions & 14 deletions src/Famix-PharoSmalltalk-Entities/FamixStImportingContext.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,6 @@ FamixStImportingContext >> importSourceTextAnchor [
^ self importConcreteEntity: (self class fm3ClassNamed: #SourceTextAnchor)
]

{ #category : #importing }
FamixStImportingContext >> importUnknownSourceLanguage [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage)
]

{ #category : #importing }
FamixStImportingContext >> importUnknownVariable [

Expand Down Expand Up @@ -323,13 +316,6 @@ FamixStImportingContext >> shouldImportSourceTextAnchor [
^ self shouldImport: #SourceTextAnchor
]

{ #category : #testing }
FamixStImportingContext >> shouldImportUnknownSourceLanguage [

<generated>
^ self shouldImport: #UnknownSourceLanguage
]

{ #category : #testing }
FamixStImportingContext >> shouldImportUnknownVariable [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,6 @@ FamixStTEntityCreator >> newSourceTextAnchor [
^ self add: FamixStSourceTextAnchor new
]

{ #category : #'entity creation' }
FamixStTEntityCreator >> newUnknownSourceLanguage [

<generated>
^ self add: FamixStUnknownSourceLanguage new
]

{ #category : #'entity creation' }
FamixStTEntityCreator >> newUnknownVariable [

Expand Down

This file was deleted.

14 changes: 0 additions & 14 deletions src/Famix-Test1-Entities/FamixTest1ImportingContext.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ FamixTest1ImportingContext >> importSourceTextAnchor [
^ self importConcreteEntity: (self class fm3ClassNamed: #SourceTextAnchor)
]

{ #category : #importing }
FamixTest1ImportingContext >> importUnknownSourceLanguage [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage)
]

{ #category : #testing }
FamixTest1ImportingContext >> shouldImportAssociation [

Expand Down Expand Up @@ -189,10 +182,3 @@ FamixTest1ImportingContext >> shouldImportSourceTextAnchor [
<generated>
^ self shouldImport: #SourceTextAnchor
]

{ #category : #testing }
FamixTest1ImportingContext >> shouldImportUnknownSourceLanguage [

<generated>
^ self shouldImport: #UnknownSourceLanguage
]
7 changes: 0 additions & 7 deletions src/Famix-Test1-Entities/FamixTest1TEntityCreator.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,3 @@ FamixTest1TEntityCreator >> newSourceTextAnchor [
<generated>
^ self add: FamixTest1SourceTextAnchor new
]

{ #category : #'entity creation' }
FamixTest1TEntityCreator >> newUnknownSourceLanguage [

<generated>
^ self add: FamixTest1UnknownSourceLanguage new
]
28 changes: 0 additions & 28 deletions src/Famix-Test1-Entities/FamixTest1UnknownSourceLanguage.class.st

This file was deleted.

7 changes: 0 additions & 7 deletions src/Famix-Test2-Entities/FamixTest2TEntityCreator.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,3 @@ FamixTest2TEntityCreator >> newSourceTextAnchor [
<generated>
^ self add: FamixTest2SourceTextAnchor new
]

{ #category : #'entity creation' }
FamixTest2TEntityCreator >> newUnknownSourceLanguage [

<generated>
^ self add: FamixTest2UnknownSourceLanguage new
]
28 changes: 0 additions & 28 deletions src/Famix-Test2-Entities/FamixTest2UnknownSourceLanguage.class.st

This file was deleted.

7 changes: 0 additions & 7 deletions src/Famix-Test3-Entities/FamixTest3TEntityCreator.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,3 @@ FamixTest3TEntityCreator >> newTypeNamed: aName [
<generated>
^ self add: (FamixTest3Type named: aName)
]

{ #category : #'entity creation' }
FamixTest3TEntityCreator >> newUnknownSourceLanguage [

<generated>
^ self add: FamixTest3UnknownSourceLanguage new
]
28 changes: 0 additions & 28 deletions src/Famix-Test3-Entities/FamixTest3UnknownSourceLanguage.class.st

This file was deleted.

7 changes: 0 additions & 7 deletions src/Famix-Test6-Entities/FamixTest6TEntityCreator.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,3 @@ FamixTest6TEntityCreator >> newSpam [
<generated>
^ self add: FamixTest6Spam new
]

{ #category : #'entity creation' }
FamixTest6TEntityCreator >> newUnknownSourceLanguage [

<generated>
^ self add: FamixTest6UnknownSourceLanguage new
]
28 changes: 0 additions & 28 deletions src/Famix-Test6-Entities/FamixTest6UnknownSourceLanguage.class.st

This file was deleted.

Loading
Loading