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  makeDocumentationCommentFrom: aCommentString
convert an arnitrary comment into an ST/X documentation method's source

o  makeDocumentationFromComment: commentString

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:39:47 GMT