f545f18a | 11-Jul-2020 |
Sebastian Bergmann |
Add ParentConnectingVisitor and NodeConnectingVisitor (#681) |
c346bbfa | 02-Jul-2020 |
Nikita Popov |
Release PHP-Parser 4.6.0 |
4abc5312 | 27-Jun-2020 |
Nikita Popov |
Canonicalize to PHP 8 comment token format The trailing newline is no longer part of the comment token. |
b58b19ed | 07-Jun-2020 |
TomasVotruba |
Add constructor promotion support |
0d2d8f95 | 27-Jun-2020 |
Nikita Popov |
FPPP: Support catch without variable |
244db65d | 12-Jun-2020 |
TomasVotruba |
[PHP 8.0] Add trailing comma in parameter list |
53c2753d | 03-Jun-2020 |
Nikita Popov |
Release PHP-Parser 4.5.0 |
b5f5313d | 03-Jun-2020 |
TomasVotruba |
[PHP 8.0] Add exception witout variable |
32f89662 | 28-May-2020 |
Máté Kocsis |
Add support for the mixed type |
f33f081c | 18-Apr-2020 |
Hassan Tariq |
Fix a minor typo |
bd43ec71 | 10-Apr-2020 |
Nikita Popov |
Release PHP-Parser 4.4.0 |
d86ca0f7 | 22-Feb-2020 |
Nikita Popov |
Support arbitrary expressions in new/instanceof |
c8d12165 | 22-Feb-2020 |
Nikita Popov |
Treat magic constants like normal constants |
8999a13c | 22-Feb-2020 |
Nikita Popov |
Make class constants fully dereferencable |
c1eaa0d5 | 22-Feb-2020 |
Nikita Popov |
Unify array and object dereferencability |
ca5f7c97 | 22-Feb-2020 |
Nikita Popov |
Split productions, unify {} dereferencing |
ad696ee7 | 22-Feb-2020 |
Nikita Popov |
Make encapsed strings fully dereferencable |
6770deda | 22-Feb-2020 |
Nikita Popov |
Check that ::class on object works |
568236a3 | 19-Feb-2020 |
Nikita Popov |
Allow expressions in list() Similar to the previous commit: list() syntactically accepts any expression and non-variables are compile-time errors. The special case of ($a) ends up be
Allow expressions in list() Similar to the previous commit: list() syntactically accepts any expression and non-variables are compile-time errors. The special case of ($a) ends up being legal by accident.
show more ...
|
9dda080a | 19-Feb-2020 |
Nikita Popov |
Allow expressions in isset() Partial fix for #653. PHP 7 allows expressions inside isset(), but rejects non-variables in the compiler. A side-effect of this is that isset(($x)) is al
Allow expressions in isset() Partial fix for #653. PHP 7 allows expressions inside isset(), but rejects non-variables in the compiler. A side-effect of this is that isset(($x)) is allowed, though this is not intentional.
show more ...
|
3ec87ef7 | 15-Feb-2020 |
Nikita Popov |
Don't require doc comment to be last comment Fixes #652. |
a2443aae | 09-Feb-2020 |
Nikita Popov |
Make check in numeric literal separator emulator more precise a) Don't check for !== false, preg_match() return 0 if there is no match. This effectively means that the check was always t
Make check in numeric literal separator emulator more precise a) Don't check for !== false, preg_match() return 0 if there is no match. This effectively means that the check was always true. b) Check for hex characters only if there's an 0x prefix. 1_1 is very likely a numeric separator, but a_b might well be part of an identifier. Fixes #639.
show more ...
|
64f4d5b6 | 27-Dec-2019 |
Ruud Kamphuis |
Add `getProperty` to `ClassLike` |
f56d90d4 | 09-Feb-2020 |
Nikita Popov |
Add additional tests for modifying a Nop comment |
40aa2282 | 09-Feb-2020 |
Nikita Popov |
Remove trailing comma |