[squeak-dev] The Trunk: System-eem.478.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Mar 31 18:16:20 UTC 2012
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.478.mcz
==================== Summary ====================
Name: System-eem.478
Author: eem
Time: 31 March 2012, 11:15:25.476 am
UUID: 5c37a198-3967-401c-a501-57ffd35ad706
Ancestors: System-ul.477
Move generally useful parts of MethodReference into base
System.
=============== Diff against System-ul.477 ===============
Item was added:
+ ----- Method: ChangeRecord>>asMethodDefinition (in category 'converting') -----
+ asMethodDefinition
+ ^ MCMethodDefinition
+ className: class
+ classIsMeta: meta
+ selector: self methodSelector
+ category: category
+ timeStamp: stamp
+ source: self string!
Item was added:
+ ----- Method: MethodReference>>asMethodDefinition (in category 'converting') -----
+ asMethodDefinition
+ ^ MCMethodDefinition forMethodReference: self!
Item was added:
+ ----- Method: MethodReference>>compiledMethod (in category 'accessing') -----
+ compiledMethod
+ ^ self actualClass compiledMethodAt: methodSymbol!
Item was added:
+ ----- Method: MethodReference>>source (in category 'accessing') -----
+ source
+ ^ (self actualClass sourceCodeAt: methodSymbol) asString withSqueakLineEndings!
Item was added:
+ ----- Method: MethodReference>>sourceCode (in category 'accessing') -----
+ sourceCode
+ ^ self actualClass sourceCodeAt: methodSymbol!
Item was added:
+ ----- Method: MethodReference>>timeStamp (in category 'accessing') -----
+ timeStamp
+ ^ self compiledMethod timeStamp!
More information about the Squeak-dev
mailing list
|