|
Class: ClassCommentChange
Object
|
+--Change
|
+--ClassChange
|
+--ClassCommentChange
- Package:
- stx:libbasic3
- Category:
- System-Changes
- Version:
- rev:
1.37
date: 2016/05/04 19:09:59
- user: cg
- file: ClassCommentChange.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
- Author:
- Claus Gittinger
instances represent class comment-changes.
They are typically held in a ChangeSet.
accessing
-
className: clsName comment: aCommentString
-
-
comment
-
-
comment: aCommentString
-
comparing
-
isConflict
-
true if this change is different than what is already in the image
(i.e. it overwrites some existing code)
-
isForSameAs: changeB
-
return true, if the given change represents a change for the same
thingy as the receiver (i.e. same method, same definition etc.).
-
sameAs: changeB
-
return true, if the given change represents the same change as the receiver.
-
source
-
synthesize the changes source
converting
-
asAntiChange
-
(comment from inherited method)
Returns my anti-change, i.e. change that does the
opposite. For class definition change it returns
class remove change, for method definition change
it returns method remove change. If there is no way
how to revert the change, an error is triggered.
JV: personal note: we should switch to deltastreams
(http://wiki.squeak.org/squeak/6001)
CG: is the above really true - what about a classDefChange for
an existing class????
printing & storing
-
printOn: aStream
-
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.
-
printWithoutClassNameOn: aStream
-
testing
-
isClassCommentChange
-
visiting
-
acceptChangeVisitor: aVisitor
-
|