|
Class: ChangeFileReader (private in ChangeSet
This class is only visible from within
ChangeSet.
Object
|
+--ChangeSet::ChangeFileReader
|
+--ChangeSet::BeeChangeFileReader
|
+--ChangeSet::CUISChangeFileReader
|
+--ChangeSet::DolphinPACFileReader
|
+--ChangeSet::GNUSmalltalkFileReader
|
+--ChangeSet::GithubFolderFileReader
|
+--ChangeSet::GithubPharoSmalltalkFileReader
|
+--ChangeSet::SIFChangeFileReader
- Package:
- stx:libbasic3
- Category:
- System-Changes
- Owner:
- ChangeSet
accessing
-
changeAction: aBlock
-
-
changeSet: something
-
set the value of the instance variable 'changeSet' (automatically generated)
-
inputStream: aStream
-
helpers
-
addChange: change
-
-
checkReceiverIsGlobalNamed: expectedName
-
-
classNameOf: aReceiver
-
old
-
classNameOfRememberingNamespace: aReceiver
-
new
-
extractMethodsClassAndSelectorFromReceiver
-
helper for all changes which are of the form:
(className compiledMethodAt:#methodSelector) something: ...
-
receiversClassName
-
-
receiversClassNameRememberingNamespace
-
-
variableNameOfReceiver
-
reading
-
changesFromParseTree: aTree lineNumber: initialLineNumberOrNil position: initialPositionOrNil
-
given a parse-tree (from parsing some changes source/chunk),
create changes and evaluate changeAction on each.
The chnageAction-block is invoked with the change and a lineNumberOrNil as
arg; the lineNumber is only valid, if the underlying inputStream
provides line-numbers; otherwise, nil is passed.
-
changesFromParseTree: aTree lineNumber: initialLineNumberOrNil position: initialPositionOrNil chunk: initialChunkOrNil
-
given a parse-tree (from parsing some changes source/chunk),
create changes and evaluate changeAction on each.
The changeAction-block is invoked with the change and a lineNumberOrNil as
arg; the lineNumber is only valid, if the underlying inputStream
provides line-numbers; otherwise, nil is passed.
reading-private
-
handleCategoriesForChange
-
easy
-
handleCategoriesForClassChange
-
easy
-
handleClassCommentChange
-
-
handleClassDefinitionChange
-
old: remember namespace in className
-
handleClassInitializeChange
-
-
handleClassInstanceVariableDefinitionChange
-
-
handleMethodCategoryChange
-
-
handleMethodCategoryRenameChange
-
-
handleMethodChange
-
Read methods that may follow
-
handleMethodChangeUnsafe
-
Care for non-positionable streams
-
handleMethodPackageChange
-
-
handleMethodPrivacyChange
-
-
handleNameSpaceCreationChange
-
-
handlePrimitiveChange
-
-
handlePrimitiveChange: sourceOrNil
-
if sourceOrNil is nil, the def has not been read and must be read from
the next chunk. Otherwise, it has been already read as argument.
-
handleRemoveClassChange
-
nameSpace ~~ Smalltalk ifTrue:[
-
handleRemoveMethodChange
-
-
handleRenameClassChange
-
-
handleSqueakCommentStamp
-
-
handleVW7ClassDefinitionChange
-
nameSpace := Class nameSpaceQuerySignal query.
-
processChange
-
given a parse-tree (from parsing some changes source/chunk),
create changes and evaluate changeAction on each.
The block is invoked with the change and a lineNumberOrNil as
arg; the lineNumber is only valid, if the underlying stream
provides line-numbers; otherwise, nil is passed.
-
processChangeUnsafe
-
given a parse-tree (from parsing some changes source/chunk),
create changes and evaluate changeAction on each.
The block is invoked with the change and a lineNumberOrNil as
arg; the lineNumber is only valid, if the underlying stream
provides line-numbers; otherwise, nil is passed.
-
processInfo: string
-
Processes 'info record' - an info record consist of a chunk containing
single string literal starting with ----, such as:
'---- timestamp jv@neso 12-03-2012 10:49:40 ----'
'---- snapshot st.img 30-03-2012 11:40:24 ----'
'---- checkin SVN::ConfigurationApp into stx:libsvn (1.12) 12-03-2012 10:51:15 ----'
'---- rake update 30-03-2012 11:40:24 ----'
'---- start 30-03-2012 11:40:24 ----'
timestamp info records are (for historical reasons) processed in ChangeSet
-
process_category_
-
'category:' chunk (ST/X)
-
process_comment_
-
'comment:' chunk (ST/X)
-
process_encoding
-
St/X encoding info record. Ignored
-
process_ignoredMethodsFor_
-
'ignoredMethodsFor:' chunk (ST/X)
-
process_initialize
-
'class initialize' chunk
-
process_instanceVariableNames_
-
'instanceVariableNames:' chunk (ST/X)
-
process_name_
-
'name:' chunk (ST/X)
-
process_otherInfo: what
-
'---- <what> 12-03-2012 10:49:40 ----'
'<what>' is already read from inputStream.
-
process_package_
-
'package:' chunk (ST/X)
-
process_primitiveDefinitions
-
'primitiveDefinitions' chunk (ST/X)
-
process_primitiveDefinitions_
-
'primitiveDefinitions:' chunk (ST/X)
-
process_primitiveFunctions
-
'primitiveFunctions' chunk (ST/X)
-
process_primitiveFunctions_
-
'primitiveFunctions:' chunk (ST/X)
-
process_primitiveVariables
-
'primitiveVariables' chunk (ST/X)
-
process_primitiveVariables_
-
'primitiveVariables:' chunk (ST/X)
-
process_privacy_
-
'privacy:' chunk (ST/X)
-
process_privateMethods
-
'privateMethods' chunk (ST/V and dolphin)
-
process_privateMethodsFor_
-
'privateMethodsFor:' chunk (ST/X)
-
process_protectedMethodsFor_
-
'protectedMethodsFor:' chunk (ST/X)
-
process_publicMethodsFor_
-
'publicMethodsFor:' chunk (ST/X)
-
process_rake
-
Rake build system info record
'---- rake update st.img 12-03-2012 10:49:40 ----'!
'---- rake compile st.img 12-03-2012 10:49:40 ----'!
'rake' is already read from inputStream.
-
process_removeClass_
-
'removeClass:' chunk (ST/X)
-
process_removeSelector_
-
'removeSelector:' chunk (ST/X)
-
process_renameCategory_to_
-
'renameCategory:to:' chunk (ST/X)
-
process_renameClass_to_
-
'renameClass:to:' chunk (ST/X)
-
process_snapshot
-
St/X system start info record
'---- snapshot st.img 12-03-2012 10:49:40 ----'!
'start' is already read from inputStream.
-
process_start
-
St/X system start info record
'---- start 12-03-2012 10:49:40 ----'!
'start' is already read from inputStream.
-
process_timestamp
-
St/X timestamp info record. Example:
'---- timestamp jv@neso 12-03-2012 10:49:40 ----'!
'timestamp' is already read from inputStream.
reading-private-dolphin
-
process_categoriesForClass
-
'categoriesForClass' chunk (Dolphin)
-
process_categoriesFor_
-
'categoriesFor:' chunk (Dolphin)
-
process_methods
-
'methods' chunk (ST/V and dolphin)
-
process_methodsFor
-
'methodsFor' chunk (ST/V and dolphin)
-
process_methodsForUndefined_
-
'methodsForUndefined:' chunk (?)
-
process_methodsFor_
-
'methodsFor:' chunk (ST/80, Squeak, ST/X, VW, ...)
-
process_methodsFor_prior_
-
'methodsFor:' chunk (ST/80, Squeak, ST/X, VW, ...)
-
process_methodsFor_stamp_
-
'methodsFor:' chunk (ST/80, Squeak, ST/X, VW, ...)
-
process_methodsFor_stamp_prior_
-
'methodsFor:' chunk (ST/80, Squeak, ST/X, VW, ...)
-
process_publicMethods
-
'publicMethods' chunk (ST/V and dolphin)
reading-private-gravel
-
process_addClassMethod_
-
'reader addClassMethod:' chunk (gravel Smalltalk)
-
process_addMethodOrClassMethod: isClassMethod
-
'reader addMethod:' chunk (gravel Smalltalk)
-
process_addMethod_
-
'reader addMethod:' chunk (gravel Smalltalk)
-
process_addSimpleClassTrait_
-
'reader defineaddSimpleTraitTrait:' chunk (gravel Smalltalk)
-
process_addSimpleTrait_
-
'reader defineaddSimpleTraitTrait:' chunk (gravel Smalltalk)
-
process_defineClass_superclass_
-
'reader defineClass:superclass:' chunk (gravel Smalltalk)
-
process_defineTrait_superclass_
-
'reader defineTrait:' chunk (gravel Smalltalk)
reading-private-squeak
-
process_commentStamp_prior_
-
'commentStamp:prior::' chunk (Squeak)
|