François, Doctrine relies on nested annotations for a variety of mapping information. One example:
http://doctrine-orm.readthedocs.org/en/latest/reference/association-mapping.html#one-to-many-unidirectional-with-join-table []s, On Tue, Feb 17, 2015 at 4:33 PM, François Laupretre <franc...@php.net> wrote: > Hi Alexander, > > > De : Alexander Lisachenko [mailto:lisachenko...@gmail.com] > > > > This RFC consists of two parts: parsing API and parser extension API. > Last > > one can be rejected, however it can be perfectly connected with > annotation > > RFC (if AST will be used as values) > > Parser extension API is great. Go on with it. I have a lot of uses in mind. > > > As for annotations, general use-case is appreciated. This can be extended > > later in future versions of PHP. Therefore, annotation syntax should > allow > > to define key and values. Value can be valid expression (AST? concrete > > node? compiled value?) or can recursively contain nested annotations. > > Can you give a use case for nested annotations ? I don't see what they can > be needed for. > > Thanks > > François > > > > -- Guilherme Blanco MSN: guilhermebla...@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada