ClassCategoryReader.st
changeset 22394 1f5a6e985b37
parent 21420 4e4f34a19c8c
equal deleted inserted replaced
22393:32392c2e301c 22394:1f5a6e985b37
    51                            any saved image will later be fully independent of any
    51                            any saved image will later be fully independent of any
    52                            source files.
    52                            source files.
    53 
    53 
    54         #reference       - keep a reference to the loaded files basename
    54         #reference       - keep a reference to the loaded files basename
    55                            In order to be browsable, the original sourcefile should be
    55                            In order to be browsable, the original sourcefile should be
    56                            found along the sourcePath 
    56                            found along the sourcePath
    57                            (i.e. typically a link in the source directory should be present)
    57                            (i.e. typically a link in the source directory should be present)
    58 
    58 
    59         #absReference    - keep a reference to the loaded files absolute pathname
    59         #absReference    - keep a reference to the loaded files absolute pathname
    60                            but only if the file ends with .st.
    60                            but only if the file ends with .st.
    61                            (this is ok in multiUser configurations, where all sourcefiles are mounted
    61                            (this is ok in multiUser configurations, where all sourcefiles are mounted
    62                            on a common path; typically automounted systems)
    62                            on a common path; typically automounted systems)
    63 
    63 
    64         #forceAbsReference 
    64         #forceAbsReference
    65                          - like above, but also do it for files not ending with .st.
    65                          - like above, but also do it for files not ending with .st.
    66                            Must be used with care - NEVER ever reference sources from the changes
    66                            Must be used with care - NEVER ever reference sources from the changes
    67                            file, because the changesBrowser does not adjust methods sources
    67                            file, because the changesBrowser does not adjust methods sources
    68                            when it compresses or removes changes.
    68                            when it compresses or removes changes.
    69 
    69 
   188     "read method-chunks from the input stream, aStream; compile them
   188     "read method-chunks from the input stream, aStream; compile them
   189      and add the methods to the class defined by the class-instance var;
   189      and add the methods to the class defined by the class-instance var;
   190      errors and notifications are passed to requestor.
   190      errors and notifications are passed to requestor.
   191      If passChunk is true, chunks are given to the requestor,
   191      If passChunk is true, chunks are given to the requestor,
   192      via a #source: message, allowing it to open a view showing any
   192      via a #source: message, allowing it to open a view showing any
   193      arronous source code."
   193      erroneous source code."
   194 
   194 
   195     ^ self
   195     ^ self
   196         fileInFrom:aStream 
   196         fileInFrom:aStream
   197         notifying:requestor 
   197         notifying:requestor
   198         passChunk:passChunk 
   198         passChunk:passChunk
   199         single:false
   199         single:false
   200         silent:nil
   200         silent:nil
   201 
   201 
   202     "Modified: / 17.5.1998 / 19:58:15 / cg"
   202     "Modified: / 17-05-1998 / 19:58:15 / cg"
       
   203     "Modified (comment): / 18-12-2017 / 10:10:21 / mawalch"
   203 !
   204 !
   204 
   205 
   205 fileInFrom:aStream notifying:requestor passChunk:passChunk single:oneChunkOnly
   206 fileInFrom:aStream notifying:requestor passChunk:passChunk single:oneChunkOnly
   206     "read method-chunks from the input stream, aStream; compile them
   207     "read method-chunks from the input stream, aStream; compile them
   207      and add the methods to the class defined by the class-instance var;
   208      and add the methods to the class defined by the class-instance var;