eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SmalltalkChunkFileSourceWriter':

Home

everywhere
www.exept.de
for:
[back]

Class: SmalltalkChunkFileSourceWriter


Inheritance:

   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

Instance protocol:

source writing
o  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

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

o  fileOutAllMethodsOf: aClass on: aStream methodFilter: methodFilter

o  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.

o  fileOutCategory: aCategory of: aClass methodFilter: methodFilter on: aStream
file out all methods belonging to aCategory, aString onto aStream

o  fileOutCommentEndOn: aStream
Writes a comment end mark on aStream.

o  fileOutCommentLine: aString on: aStream
Writes a single line of comment on a comment to a stream.

o  fileOutCommentStartOn: aStream
Writes a comment start mark on aStream.

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

o  generateHeaderWithCopyrightOn: outStream



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 21:07:42 GMT