[squeak-dev] The Trunk: System-eem.478.mcz
Bert Freudenberg
bert at freudenbergs.de
Sat Mar 31 20:40:32 UTC 2012
We certainly do not want a hard dependency on Monticello classes in the System package, right? So asMethodDefinition needs to go back into MC.
- Bert -
On 31.03.2012, at 21:38, commits at source.squeak.org wrote:
> 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
|