forked from pharo-project/pharo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add tests for deletion of slots from a Trait: #testChangingDeleteSl…
…ot and #testChangingDeleteSlot2Slots - TaRemoveSlot: change TaRemoveSlot to use a collection of vars to delete from the Trait (as it can define multiple slots) - add CDTraitSlotRemoveNode to make the classparser work fixes pharo-project#8503
- Loading branch information
1 parent
391cb13
commit bcb92a1
Showing
7 changed files
with
105 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
" | ||
MyTrait -- {#slotName} | ||
" | ||
Class { | ||
#name : #CDTraitSlotRemoveNode, | ||
#superclass : #CDTraitCompositionNode, | ||
#instVars : [ | ||
'removedSlots' | ||
], | ||
#category : #'ClassParser-Model' | ||
} | ||
|
||
{ #category : #accessing } | ||
CDTraitSlotRemoveNode >> removedSlots [ | ||
|
||
^ removedSlots | ||
] | ||
|
||
{ #category : #accessing } | ||
CDTraitSlotRemoveNode >> removedSlots: anObject [ | ||
|
||
removedSlots := anObject | ||
] | ||
|
||
{ #category : #printing } | ||
CDTraitSlotRemoveNode >> toString [ | ||
^ subject name ,' -- ', removedSlots asString. | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters