eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MethodCategoryChange':

Home

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

Class: MethodCategoryChange


Inheritance:

   Object
   |
   +--Change
      |
      +--ClassChange
         |
         +--MethodChange
            |
            +--MethodCategoryChange

Package:
stx:libbasic3
Category:
System-Changes
Version:
rev: 1.26 date: 2021/01/20 15:27:25
user: cg
file: MethodCategoryChange.st directory: libbasic3
module: stx stc-classLibrary: libbasic3

Description:


instances represent method-category changes (as done in the browser). 
They are typically held in a ChangeSet.

Change origin.

When a changeset diff is generated, two MethodChanges that 
represent the same method (code is the same) might differ only in
category/ Such changes are transformed to MethodCategoruChanges.
In that case, origin keeps the reference to original MethodChange.


[instance variables:]
    origin      <MethodChange>  Change that cause this category
                                change to be created. See comment.

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.

Class protocol:

instance creation
o  class: cls selector: sel category: cat

o  className: clsName selector: sel category: cat


Instance protocol:

accessing
o  class: cls selector: sel category: cat

o  className: clsName selector: sel category: cat

o  origin

o  origin: aMethodChange

o  prettyPrintedSource
(comment from inherited method)
return the prettyPrinted or normal source of the change

o  source
(comment from inherited method)
return the source of the change

o  source: aString
(comment from inherited method)
set the source of the change

applying
o  apply
apply the change

fileout
o  fileOutOn: aStream

testing
o  isMethodCategoryChange

o  isMethodCodeChange
true if this is a method's code change (not package, category etc.)

visiting
o  acceptChangeVisitor: aVisitor



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 14 Dec 2024 19:28:55 GMT