[Pkg] The Trunk: ShoutCore-mt.59.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Nov 8 16:57:17 UTC 2017


Marcel Taeumel uploaded a new version of ShoutCore to project The Trunk:
http://source.squeak.org/trunk/ShoutCore-mt.59.mcz

==================== Summary ====================

Name: ShoutCore-mt.59
Author: mt
Time: 8 November 2017, 5:57:12.060741 pm
UUID: 9268d08f-9a54-6048-8981-de93ad2f6bc5
Ancestors: ShoutCore-ul.58

Adds support for having custom Shout parser classes for class-side methods.

=============== Diff against ShoutCore-ul.58 ===============

Item was added:
+ ----- Method: Metaclass>>shoutParserClass (in category '*ShoutCore-Parsing') -----
+ shoutParserClass
+ 	"BE CAREFUL!! If you provide your own class to treat class-side (resp. meta) methods, you MUST account for the #meta*Class selector to use the default implementation in that case. That is, the methods behind #meta*Class MUST always get the default Smalltalk treatment."
+ 
+ 	^ (self theNonMetaClass respondsTo: #metaShoutParserClass)
+ 		ifTrue: [self theNonMetaClass metaShoutParserClass]
+ 		ifFalse: [super shoutParserClass]!



More information about the Packages mailing list