eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ClassCommentChange':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ClassCommentChange


Inheritance:

   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

Description:


instances represent class comment-changes. 
They are typically held in a ChangeSet.


Instance protocol:

accessing
o  className: clsName comment: aCommentString

o  comment

o  comment: aCommentString

comparing
o  isConflict
true if this change is different than what is already in the image
(i.e. it overwrites some existing code)

o  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.).

o  sameAs: changeB
return true, if the given change represents the same change as the receiver.

o  source
synthesize the changes source

converting
o  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
o  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.

o  printWithoutClassNameOn: aStream

testing
o  isClassCommentChange

visiting
o  acceptChangeVisitor: aVisitor



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 22 Sep 2018 07:31:35 GMT