Changes between Version 8 and Version 9 of macros


Ignore:
Timestamp:
02/15/2011 02:50:51 PM (13 years ago)
Author:
michael.gruenewald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • macros

    v8 v9  
    2525'' You can also use this space to describe the available packages and categories, e.g.:
    2626
     27
     28 {{{CTM}}}::
     29    contains the Macros implementation
     30
     31
    2732{{{MyProject-FirstCategory}}} ... Does stuff.[[br]]
    2833{{{MyProject-SecondCategory}}} ... Just a testbed.''
     
    3439= How to Use =
    3540
    36 To create an own macro you have to extend the {{{CTMMacro}}} class.
     41To create a macro you have to extend the {{{CTMMacro}}} class. The following methods are called by the system:
    3742
     43 `matchMethodPragma:` ''aPragma''::
     44    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.
    3845
     46 `matchClassPragma:` ''aPragma''::
     47    Same as ''matchMethodPragma:'' but for classes and their pragmas.
    3948
    4049= How to Extend =