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.38 date: 2021/01/20 15:51:22
user: cg
file: ClassCommentChange.st directory: libbasic3
module: stx stc-classLibrary: libbasic3

Description:


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

copyright

COPYRIGHT (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.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:35:47 GMT