Differences
This shows you the differences between two versions of the page.
phantm:annotations [2010/05/04 15:17] ekneuss created |
phantm:annotations [2010/05/04 15:37] ekneuss |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Annotations ===== | ===== Annotations ===== | ||
- | ''phantm'' supports in-code annotations given in the form of PHPDoc comments. Those annotations will then be used as part as the type analysis phase. For example: | + | //phantm// supports in-code annotations given in the form of PHPDoc comments. Those annotations will then be used as part as the type analysis phase. For example: |
<file> | <file> | ||
Line 14: | Line 14: | ||
==== Types allowed as annotations ==== | ==== Types allowed as annotations ==== | ||
- | ''phantm'' will support base types such as @int@ or @string@ but can also specify precise array types: | + | //phantm// will support base types such as @int@ or @string@ but can also specify precise array types: |
=== Array types === | === Array types === | ||
Line 30: | Line 30: | ||
=== Typedefs === | === Typedefs === | ||
- | ''phantm'' will support typedefs to allow you give names to complicated types. For example: | + | //phantm// will support typedefs to allow you give names to complicated types. For example: |