#
03caf4cc |
| 14-Jul-2024 |
Nikita Popov |
[8.4] Add support for property hooks Add hooks subnode to Stmt\Property and Param, which contains an array of PropertyHook. The property hook support is considered experimental
[8.4] Add support for property hooks Add hooks subnode to Stmt\Property and Param, which contains an array of PropertyHook. The property hook support is considered experimental and subject to change. RFC: https://wiki.php.net/rfc/property-hooks
show more ...
|
#
23647573 |
| 21-May-2023 |
Nikita Popov |
Represent names using string rather than array of parts In most circumstances we are interested in the whole string, not the parts split by namespace separator. As names are common, this
Represent names using string rather than array of parts In most circumstances we are interested in the whole string, not the parts split by namespace separator. As names are common, this representation measurably improves memory usage and performance.
show more ...
|
#
5c267f55 |
| 20-May-2023 |
Nikita Popov |
Add support for typed constants RFC: https://wiki.php.net/rfc/typed_class_constants
|
#
e1345f0c |
| 03-Sep-2022 |
Nikita Popov |
Rename Stmt\PropertyProperty to PropertyItem
|
#
f5b56a5c |
| 03-Sep-2022 |
Nikita Popov |
Remove MODIFIER_ prefix from node dumps These constants are now called Modifiers::PUBLIC rather than Class_::MODIFIER_PUBLIC etc, so update the dumped name as well.
|
#
8be56afd |
| 02-Sep-2022 |
Nikita Popov |
Rename Expr\ArrayItem to ArrayItem Array items are not expressions by themselves.
|
#
6c0b63d9 |
| 25-Jan-2022 |
Dominik Peters |
Change print order of modifiers Print abstract/final before visibility modifiers, in line with PSR-12. Closes #826.
|
#
4c22c627 |
| 13-Sep-2020 |
Tomas Votruba |
[PHP 8.0] Add attributes support (#661) Adds support for PHP 8 attributes, represented using `AttrGroup` nodes containing `Attribute` nodes. The `attrGroup` subnode is added to all n
[PHP 8.0] Add attributes support (#661) Adds support for PHP 8 attributes, represented using `AttrGroup` nodes containing `Attribute` nodes. The `attrGroup` subnode is added to all nodes that can have attributes. This is still missing FPPP support. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|
#
b58b19ed |
| 07-Jun-2020 |
TomasVotruba |
Add constructor promotion support
|
Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0 |
|
#
af8c7296 |
| 05-Jan-2019 |
Tomas Votruba |
Add PHP 7.4 typed properties support
|
Revision tags: v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1, v3.1.0, v3.0.6 |
|
#
a6846e3b |
| 28-Apr-2017 |
Nikita Popov |
Always use Identifier nodes The parser will now always generate Identifier nodes (for non-namespaced identifiers). This obsoletes the useIdentifierNodes parser option. Node
Always use Identifier nodes The parser will now always generate Identifier nodes (for non-namespaced identifiers). This obsoletes the useIdentifierNodes parser option. Node constructors still accepts strings and will implicitly create an Identifier wrapper. Identifier implement __toString(), so that outside of strict-mode many things continue to work without changes.
show more ...
|
Revision tags: v3.0.5, v3.0.4, v3.0.3 |
|
#
d7f3c4f9 |
| 19-Jan-2017 |
Nikita Popov |
Renamve Param::$name to Param::$var As it now contains a Variable node.
|
#
67274b95 |
| 19-Jan-2017 |
Nikita Popov |
Enforce useConsistentVariableNames
|
Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1 |
|
#
174e6c3c |
| 25-Jul-2016 |
Nikita Popov |
NodeDumper: Print modifiers as strings
|
#
18129480 |
| 25-Jul-2016 |
Nikita Popov |
Rename $type subnode to $flags Type makes it sound like a type-hint, and on a number of other nodes $type is used for exactly that. Use $flags to hold modifiers instead.
|
#
5ea2a76d |
| 05-Jul-2016 |
Nikita Popov |
PHP 7.1: Class constant visibility support
|
Revision tags: v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0, 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 ...
|
Revision tags: v1.1.0, v1.0.2, v1.0.1, v1.0.0, v1.0.0beta2, v0.9.5, v1.0.0beta1 |
|
#
f5be0d30 |
| 22-Mar-2014 |
nikic |
Guarantee that subnodes are always in the right order
|
Revision tags: v0.9.4, v0.9.3, v0.9.2 |
|
#
81e53ce0 |
| 11-May-2012 |
nikic |
Insert comments when pretty printing This changset also adds unit tests for Comments and adds a way to test the pretty printer.
|