Changes between Version 8 and Version 9 of macros
- Timestamp:
- 02/15/2011 02:50:51 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
macros
v8 v9 25 25 '' You can also use this space to describe the available packages and categories, e.g.: 26 26 27 28 {{{CTM}}}:: 29 contains the Macros implementation 30 31 27 32 {{{MyProject-FirstCategory}}} ... Does stuff.[[br]] 28 33 {{{MyProject-SecondCategory}}} ... Just a testbed.'' … … 34 39 = How to Use = 35 40 36 To create a n own macro you have to extend the {{{CTMMacro}}} class.41 To create a macro you have to extend the {{{CTMMacro}}} class. The following methods are called by the system: 37 42 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. 38 45 46 `matchClassPragma:` ''aPragma'':: 47 Same as ''matchMethodPragma:'' but for classes and their pragmas. 39 48 40 49 = How to Extend =