|
|
Class: SmalltalkChunkFileSourceWriter
Object
|
+--AbstractSourceFileWriter
|
+--SmalltalkChunkFileSourceWriter
- Package:
- stx:libbasic
- Category:
- Kernel-Classes
- Version:
- rev:
1.12
date: 2009/10/02 14:30:07
- user: cg
- file: SmalltalkChunkFileSourceWriter.st directory: libbasic
- module: stx stc-classLibrary: libbasic
source writing
-
fileOut: aClass on: outStreamArg withTimeStamp: stampIt withInitialize: initIt withDefinition: withDefinition methodFilter: methodFilter encoder: encoderOrNil
-
file out my definition and all methods onto aStream.
If stampIt is true, a timeStamp comment is prepended.
If initIt is true, and the class implements a class-initialize method,
append a corresponding doIt expression for initialization.
The order by which the fileOut is done is used to put the version string at the end.
Thus, if the version string is expanded (by CVS), the characterPositions of methods should not move
-
fileOutAllDefinitionsOf: aNonMetaClass on: aStream
-
append expressions on aStream, which defines myself and all of my private classes.
-
fileOutAllMethodsOf: aClass on: aStream methodFilter: methodFilter
-
-
fileOutCategory: aCategory of: aClass except: skippedMethods only: savedMethods methodFilter: methodFilter on: aStream
-
file out all methods belonging to aCategory, aString onto aStream.
If skippedMethods is nonNil, those are not saved.
If savedMethods is nonNil, only those are saved.
If both are nil, all are saved. See version-method handling in
fileOut for what this is needed.
-
fileOutCategory: aCategory of: aClass methodFilter: methodFilter on: aStream
-
file out all methods belonging to aCategory, aString onto aStream
-
fileOutCommentEndOn: aStream
-
Writes a comment end mark on aStream.
-
fileOutCommentLine: aString on: aStream
-
Writes a single line of comment on a comment to a stream.
-
fileOutCommentStartOn: aStream
-
Writes a comment start mark on aStream.
-
fileOutMethod: aMethod on: aStream
-
file a single method onto aStream.
-
generateHeaderWithCopyrightOn: outStream
-
|