Skip to content

Commit

Permalink
Remove unused properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Sep 26, 2024
1 parent b86866a commit 89196ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
34 changes: 0 additions & 34 deletions src/Famix-Python-Entities/FamixPythonImport.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
| Name | Type | Default value | Comment |
|---|
| `asName` | `String` | nil | ""import b as c"", asName is c|
| `entityName` | `String` | nil | ""from a import b"", entityName is b|
| `fromName` | `String` | nil | ""from a import b"", fromName is a|
| `isStub` | `Boolean` | false | Flag true if the entity attributes are incomplete, either because the entity is missing or not imported.|
"
Expand All @@ -37,8 +35,6 @@ Class {
#traits : 'FamixTImport',
#classTraits : 'FamixTImport classTrait',
#instVars : [
'#fromName => FMProperty',
'#entityName => FMProperty',
'#asName => FMProperty'
],
#category : 'Famix-Python-Entities-Entities',
Expand Down Expand Up @@ -69,33 +65,3 @@ FamixPythonImport >> asName: anObject [
<generated>
asName := anObject
]

{ #category : 'accessing' }
FamixPythonImport >> entityName [

<FMProperty: #entityName type: #String>
<generated>
<FMComment: '"from a import b", entityName is b'>
^ entityName
]

{ #category : 'accessing' }
FamixPythonImport >> entityName: anObject [
<generated>
entityName := anObject
]

{ #category : 'accessing' }
FamixPythonImport >> fromName [

<FMProperty: #fromName type: #String>
<generated>
<FMComment: '"from a import b", fromName is a'>
^ fromName
]

{ #category : 'accessing' }
FamixPythonImport >> fromName: anObject [
<generated>
fromName := anObject
]
2 changes: 0 additions & 2 deletions src/Famix-Python-Generator/FamixPythonGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ FamixPythonGenerator >> defineProperties [

super defineProperties.

(import property: #fromName type: #String) comment: '"from a import b", fromName is a'.
(import property: #entityName type: #String) comment: '"from a import b", entityName is b'.
(import property: #asName type: #String) comment: '"import b as c", asName is c'.

(class property: #isMetaclass type: #Boolean) comment: 'Whether this class is a metaclass'
Expand Down

0 comments on commit 89196ef

Please sign in to comment.