Changes between Version 2 and Version 3 of macros


Ignore:
Timestamp:
02/11/2011 04:05:53 PM (13 years ago)
Author:
michael.gruenewald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • macros

    v2 v3  
    99#!div class="wiki_infotable" style="float:right;"
    1010||'''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 ||
    1414||'''Sources'''|| ||
    1515|| [[Image(media/icons/silk:script_gear.png, title="Metacello Configuration", nolink, right)]] || [http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/MetacelloRepository/YourConfiguration YourConfiguration] ||
     
    3434= How to Use =
    3535
    36 ''Write a small tutorial. Start with basic steps and then add more details. It is not necessary to explain the whole functionality.''
     36To create a macro you have to extend the {{{CTMMacro}}} class. The following methods are called by the system:
    3737
     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.
    3840
     41 matchClassPragma: ''aPragma''::
     42    Same as ''matchMethodPragma:'' but for classes and their pragmas.
    3943
    4044= How to Extend =
     
    4549= Acknowledgments =
    4650[[Image(media/icons/silk:user.png, nolink)]] To date the following contributors:
    47  * Developer1
    48  * Developer2
     51 * Michael Grünewald
     52 * Stefan Richter