Re: Annotations in PHP7

From: Date: Tue, 17 Feb 2015 19:13:21 +0000
Subject: Re: Annotations in PHP7
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-83001@lists.php.net to get a copy of this message
2015-02-17 19:25 GMT+03:00 Dmitry Stogov <dmitry@zend.com>: > I think yes, > However, Alexander thinks differently > https://wiki.php.net/rfc/parser-extension-api > Of course this is not for 7.0 > 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) 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.

« previous php.internals (#83001) next »