#
29b9015f |
| 02-May-2015 |
Nikita Popov |
Drop support for old Node format
|
Revision tags: v1.3.0, v1.2.2, v1.2.1, v1.2.0 |
|
#
3ad0d4b3 |
| 12-Mar-2015 |
Nikita Popov |
Add support for return type declarations [PHP 7] This adds an additional "returnType" subnode to Stmt\Function_, Stmt\ClassMethod and Expr\Closure, as well as the corresponding suppo
Add support for return type declarations [PHP 7] This adds an additional "returnType" subnode to Stmt\Function_, Stmt\ClassMethod and Expr\Closure, as well as the corresponding support in the name resolver and pretty printer.
show more ...
|
#
a2d7e897 |
| 28-Feb-2015 |
Nikita Popov |
Use real properties for storing subnodes Instead of storing subnodes in a subNodes dictionary, they are now stored as simple properties. This requires declarating the properties, ass
Use real properties for storing subnodes Instead of storing subnodes in a subNodes dictionary, they are now stored as simple properties. This requires declarating the properties, assigning them in the constructor, overriding the getSubNodeNames() method and passing NULL to the first argument of the NodeAbstract constructor. [Deprecated: It's still possible to use the old mode of operation for custom nodes by passing an array of subnodes to the constructor.] The only behavior difference this should cause is that getSubNodeNames() will always return the original subnode names and skip any additional properties that were dynamically added. E.g. this means that the "namespacedName" node added by the NameResolver visitor is not treated as a subnode, but as a dynamic property instead. This change improves performance and memory usage.
show more ...
|
Revision tags: v1.1.0, v1.0.2, v1.0.1, v1.0.0, v1.0.0beta2, v0.9.5 |
|
#
c341ab2e |
| 02-Apr-2014 |
Nikita Popov |
Make autoloader for new names PSR-0 compliant
|