The Trunk: ShoutCore-mt.59.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The Trunk: ShoutCore-mt.59.mcz

Marcel Taeumel uploaded a new version of ShoutCore to project The Trunk:

==================== 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]!