|
Class: ClassSourceWriter (private in ChangeSet
This class is only visible from within
ChangeSet.
Object
|
+--AbstractSourceFileWriter
|
+--SmalltalkChunkFileSourceWriter
|
+--ChangeSet::ClassSourceWriter
- Package:
- stx:libbasic3
- Category:
- System-Changes
- Owner:
- ChangeSet
private
-
analyze
-
Analyzes changeset and build some index
Usage example(s):
ChangeSet::ClassSourceWriter new
changeSetBeingSaved: (ChangeSet forExistingClass: ChangeSet);
analyze;
yourself
|
-
changeSetBeingSaved: something
-
-
privateClassesOf: classInfo
-
-
privateClassesSortedOf: classInfo
-
a must come before b iff:
source writing
-
fileOut: aChangeSet on: outStreamArg
-
-
fileOut: aChangeSet on: outStreamArg withTimeStamp: stampIt withInitialize: initIt withDefinition: withDefinition methodFilter: methodFilter encoder: encoderOrNil
-
Just a bunch of extensions?
-
fileOutAllDefinitionsOf: nonMetaInfo on: aStream
-
append expressions on aStream, which defines myself and all of my private classes.
-
fileOutAllMethodsOf: aClass on: aStream methodFilter: methodFilter
-
aStream cr.
-
fileOutMethod: change on: aStream
-
file a single method onto aStream.
-
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:
-
fileOutPrimitiveSpecsOf: nonMeta on: aStream
-
append primitive defs (if any) to aStream.
-
generateHeaderWithCopyrightOn: outStream
-
get the copyright method's comment-text, strip off empty and blank lines
and insert at beginning.
ClassInfo
|