|
Class: ClassCommentChange
Object
|
+--Change
|
+--ClassChange
|
+--ClassCommentChange
- Package:
- stx:libbasic3
- Category:
- System-Changes
- Version:
- rev:
1.38
date: 2021/01/20 15:51:22
- user: cg
- file: ClassCommentChange.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
instances represent class comment-changes.
They are typically held in a ChangeSet.
copyrightCOPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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
-
|