eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ChangeSet::ClassSourceWriter':

Home

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

Class: ClassSourceWriter (private in ChangeSet

This class is only visible from within ChangeSet.

Inheritance:

   Object
   |
   +--AbstractSourceFileWriter
      |
      +--SmalltalkChunkFileSourceWriter
         |
         +--ChangeSet::ClassSourceWriter

Package:
stx:libbasic3
Category:
System-Changes
Owner:
ChangeSet

Instance protocol:

private
o  analyze
Analyzes changeset and build some index

Usage example(s):

        ChangeSet::ClassSourceWriter new
            changeSetBeingSaved: (ChangeSet forExistingClass: ChangeSet);
            analyze;
            yourself

o  changeSetBeingSaved: something

o  privateClassesOf: classInfo

o  privateClassesSortedOf: classInfo
a must come before b iff:

source writing
o  fileOut: aChangeSet on: outStreamArg

o  fileOut: aChangeSet on: outStreamArg withTimeStamp: stampIt withInitialize: initIt withDefinition: withDefinition methodFilter: methodFilter encoder: encoderOrNil
Just a bunch of extensions?

o  fileOutAllDefinitionsOf: nonMetaInfo on: aStream
append expressions on aStream, which defines myself and all of my private classes.

o  fileOutAllMethodsOf: aClass on: aStream methodFilter: methodFilter
aStream cr.

o  fileOutMethod: change on: aStream
file a single method onto aStream.

o  fileOutMethodsOn: stream
Writes a set of methods in changesetBeingSaved in same format as
extensions.st created by source code management. Code stolen from

AbstractSourceCodeManager class>>fileOutSourceCodeExtensions:package:on:version:

o  fileOutPrimitiveSpecsOf: nonMeta on: aStream
append primitive defs (if any) to aStream.

o  generateHeaderWithCopyrightOn: outStream
get the copyright method's comment-text, strip off empty and blank lines
and insert at beginning.


Private classes:

    ClassInfo


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:41:29 GMT