#
9a5d5c11 |
| 20-May-2023 |
Nikita Popov |
Add newline at end of file for many tests Add the newline in reconstructTest() and run updateTests.php, to reduce spurious diffs in the future.
|
#
8be56afd |
| 02-Sep-2022 |
Nikita Popov |
Rename Expr\ArrayItem to ArrayItem Array items are not expressions by themselves.
|
#
09339862 |
| 01-Sep-2022 |
Nikita Popov |
Make sure Array nodes can not contain null Now that destructuring is always represented using List nodes, make sure that Array nodes can no longer contain null elements, so well-type
Make sure Array nodes can not contain null Now that destructuring is always represented using List nodes, make sure that Array nodes can no longer contain null elements, so well-typed code doesn't have to deal with them unnecessarily. If an array does contain empty elements, these are now result in an error and are represented as a ArrayItem with Error value if error recovery is used. The implementation is a bit tricky because at the time the Array node is created, we cannot tell whether it will be used in a creation or destructuring context. For this reason the error reporting is delayed parsing has finished. Closes #876.
show more ...
|
#
68fc1ba4 |
| 28-Aug-2022 |
Nikita Popov |
Always use List_ node for array destructuring Fixes #471.
|
#
d3d1297c |
| 06-Jun-2022 |
Nikita Popov |
Remove PHP 5 parser
|
Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2 |
|
#
8012faea |
| 09-May-2019 |
Tomas Votruba |
[PHP 7.4] Add array spread
|
Revision tags: v4.2.1, v4.2.0, 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, v3.0.5, v3.0.4, v3.0.3 |
|
#
953f8c96 |
| 19-Jan-2017 |
Nikita Popov |
Perform automated test update
|
Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1 |
|
#
437890d3 |
| 06-Jul-2016 |
Nikita Popov |
PHP 7: Short destructuring syntax Potentially the pretty printer should force use of [] in assignment context, instead of relying on the existance of the right attribute.
|