Re: AW: AW: [PHP-DEV] Attributes support proposal
| From: | Sebastian Bergmann | Date: | Mon, 18 Apr 2005 18:47:12 +0000 |
| Subject: | Re: AW: AW: [PHP-DEV] Attributes support proposal | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16018@lists.php.net to get a copy of this message | ||
Timm Friebe wrote:
> Come on, you don't need a long trainride for that.
I could not resist, initial code (no actual annotation parsing, yet!) is
here:
http://sebastian-bergmann.de/stuff/Annotation/Reflection/Annotation.phps
http://sebastian-bergmann.de/stuff/Annotation/Reflection/Class.phps
http://sebastian-bergmann.de/stuff/Annotation/Reflection/Method.phps
http://sebastian-bergmann.de/stuff/Annotation/Reflection/Property.phps
http://sebastian-bergmann.de/stuff/Annotation/Parser.phps
http://sebastian-bergmann.de/stuff/Annotation/test.phps
The only thing the code currently does is to extend the existing
Reflection API class and make them "annotation-aware".
The next step to be coded is the annotation parser which will be called
from the Annotation_Reflection_Class::__construct(),
Annotation_Reflection_Method::__construct(), and
Annotation_Reflection_Property::__construct() methods.
Since this is no longer on-topic on this list please reply via PM.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69