Class: ClassCommentReader (in Squeak)
date: 2017/02/13 19:49:35
- user: cg
- file: Squeak__ClassCommentReader.st directory: libcompat
- module: stx stc-classLibrary: libcompat
- Claus Gittinger
DO NOT DIRECTLY REFER TO THIS CLASS OR USE IT OTHERWISE IN YOUR CODE:
This class was added to allow fileIn of Squeak code.
It is not required for normal operation of the system.
fileInFrom: aStream notifying: requestor passChunk: passChunk single: oneChunkOnly silent: beSilent
read method-chunks from the input stream, aStream; compile them
and add the methods to the class defined by the class-instance var;
errors and notifications are passed to requestor.
If passChunk is true, chunks are given to the requestor,
via a #source: message, allowing it to open a view showing any
erroneous source code.
If oneChunkOnly is true, the fileIn is finished after the first chunk.
The beSilent argument controls output to the transcript, if it's true or
false. If its nil, output is controlled by the Smalltalk>>silenLoading setting.
class: aClass category: aCategory changeStamp: aStamp