eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ChangeSet::GithubPharoSmalltalkFileReader':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: GithubPharoSmalltalkFileReader (private in ChangeSet

This class is only visible from within ChangeSet.

Inheritance:

   Object
   |
   +--ChangeSet::ChangeFileReader
      |
      +--ChangeSet::GithubPharoSmalltalkFileReader

Package:
stx:libbasic3
Category:
System-Changes
Owner:
ChangeSet

Description:


ChangeSet fromGithubPharoSmalltalkStream:
    '/Users/cg/Downloads/smalltalk/PharoJS-master/Pharo/PharoJsBridgeTest/PjBasicTest.class.st'
        asFilename readStream

ChangeSet fromGithubPharoSmalltalkStream:
    '/Users/cg/Downloads/smalltalk/PharoJS-master/Pharo/PharoJsCoreLibraries/PjStack.class.st'
        asFilename readStream

|dir|
dir := '/Users/cg/Downloads/smalltalk/PharoJS-master/Pharo/PharoJsCoreLibraries' asFilename. 
dir filesMatchingGLOB:'*.st' do:[:eachSTFile |
    Transcript showCR:'reading %1' with:eachSTFile baseName.
    eachSTFile readingFileDo:[:s | 
       ChangeSet fromGithubPharoSmalltalkStream:s
    ].
].


Instance protocol:

private
o  readClassDefinition: what
what is either #class or #trait.
'Class/Trait' '{' has been read.
read the class definition proper

o  readClassFile
skip over 'Class'

o  readClassOrExtensionFile
file starts with one of:

o  readExtensionFile
skip over 'Extension'

o  readMethod: what
skip over '{'

o  readMethods: what

o  readPackageFile
skip over 'Package'

o  readPools
'pools' ':' '[' has been read.
read the pools list

o  readStringList
'[' has been read.
read a list of strings

o  readTraitFile
skip over 'Class'

reading
o  changesFromStream: aStream for: changeSetArg do: changeActionArg



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 07 Oct 2022 18:50:42 GMT