Changes between Version 2 and Version 3 of macros
- Timestamp:
- 02/11/2011 04:05:53 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
macros
v2 v3 9 9 #!div class="wiki_infotable" style="float:right;" 10 10 ||'''Environment'''|| || 11 || [[Image(media/icons/custom:squeak_16.png, title="Recommended Squeak Version", nolink, right)]] || 4. x, Trunk?||12 || [[Image(media/icons/silk:application_home.png, title="Recommended Squeak VM Version", nolink, right)]] || 4.0.x||13 || [[Image(media/icons/silk:cog.png, title="Recommended Cog VM Version", nolink, right)]] || ''supported?''||11 || [[Image(media/icons/custom:squeak_16.png, title="Recommended Squeak Version", nolink, right)]] || 4.1 || 12 || [[Image(media/icons/silk:application_home.png, title="Recommended Squeak VM Version", nolink, right)]] || Any || 13 || [[Image(media/icons/silk:cog.png, title="Recommended Cog VM Version", nolink, right)]] || Any || 14 14 ||'''Sources'''|| || 15 15 || [[Image(media/icons/silk:script_gear.png, title="Metacello Configuration", nolink, right)]] || [http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/MetacelloRepository/YourConfiguration YourConfiguration] || … … 34 34 = How to Use = 35 35 36 ''Write a small tutorial. Start with basic steps and then add more details. It is not necessary to explain the whole functionality.'' 36 To create a macro you have to extend the {{{CTMMacro}}} class. The following methods are called by the system: 37 37 38 matchMethodPragma: ''aPragma'':: 39 This should return true if the macro wants to process a method annotated with ''aPragma'' or false otherwise. Additionally the method can be used to store additional information that are found in the pragma, e.g. pragma parameters. 38 40 41 matchClassPragma: ''aPragma'':: 42 Same as ''matchMethodPragma:'' but for classes and their pragmas. 39 43 40 44 = How to Extend = … … 45 49 = Acknowledgments = 46 50 [[Image(media/icons/silk:user.png, nolink)]] To date the following contributors: 47 * Developer148 * Developer251 * Michael Grünewald 52 * Stefan Richter