#
244db65d |
| 12-Jun-2020 |
TomasVotruba |
[PHP 8.0] Add trailing comma in parameter list
|
#
b5f5313d |
| 03-Jun-2020 |
TomasVotruba |
[PHP 8.0] Add exception witout variable
|
#
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
|
#
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 ...
|
#
46cbd939 |
| 09-Feb-2020 |
Nikita Popov |
Place Nop nodes more precisely If the Nop is created to collect comments, place it directly after the comment, instead of at the next non-whitespace character.
|
Revision tags: v4.3.0 |
|
#
664c1012 |
| 25-Oct-2019 |
Nikita Popov |
Add support for union types We definitely need to introduce a general "Type" abstraction in the next major version.
|
Revision tags: v4.2.5, v4.2.4, v4.2.3, v4.2.2 |
|
#
94d93f27 |
| 24-May-2019 |
Nikita Popov |
Revert "Recover from error inside alternative array deref syntax" This reverts commit 9d44edf85dc5882e45fed37a6c541bf20e7c8495.
|
#
9d44edf8 |
| 12-May-2019 |
Nikita Popov |
Recover from error inside alternative array deref syntax This is to improve error recovery for cases like #545.
|
#
60d025a9 |
| 11-May-2019 |
Nikita Popov |
Fix attributes for zero-length nop nodes Previously zero-length nop nodes used the lookahead start attributes and current end attributes. This choice ends up being somewhat weird, be
Fix attributes for zero-length nop nodes Previously zero-length nop nodes used the lookahead start attributes and current end attributes. This choice ends up being somewhat weird, because the end attributes will be the at the last non-whitespace, non-comment token, which might be quite far back. More problematically, we may not have encountered any non-discarded token if we're at the start of the file, in which case we will have no end attributes to assign. Change things to use a canonical "zero-length" node representation, where the end position (token & file) will be exactly one before the start position. Fixes #589.
show more ...
|
#
8012faea |
| 09-May-2019 |
Tomas Votruba |
[PHP 7.4] Add array spread
|
#
f3b19c19 |
| 09-May-2019 |
Tomáš Votruba |
[PHP 7.4] Add support for arrow functions (#602) Per RFC https://wiki.php.net/rfc/arrow_functions_v2.
|
Revision tags: v4.2.1 |
|
#
9de96821 |
| 22-Jan-2019 |
Tomas Votruba |
Add support for ??= operator Introduced in PHP 5.4, represented using an AssignOp\Coalesce node.
|
Revision tags: v4.2.0 |
|
#
6b9dd7af |
| 12-Jan-2019 |
Nikita Popov |
Avoid redundant argument
|
#
af8c7296 |
| 05-Jan-2019 |
Tomas Votruba |
Add PHP 7.4 typed properties support
|
#
0ef61b49 |
| 03-Jan-2019 |
Tomas Votruba |
add float/double/real KIND support to Cast\Double node
|
Revision tags: v4.1.1 |
|
#
f42bbc24 |
| 30-Nov-2018 |
Nikita Popov |
Avoid default action for error production error is not necessarily going to have a semantic value, make sure that the default action $$=$1 is not used. Fixes #551.
|
#
3d0f7843 |
| 25-Oct-2018 |
Nikita Popov |
Support error recovery for missing return type The return type is set to "null" in this case. Fixes #544.
|
Revision tags: v4.1.0 |
|
#
5f73c4de |
| 21-Sep-2018 |
Nikita Popov |
Flexible doc: Validate end label indentation Move doc string parsing logic from rebuildParsers.php and String_::parseDocString() into ParserAbstract. This stuff is going to get compl
Flexible doc: Validate end label indentation Move doc string parsing logic from rebuildParsers.php and String_::parseDocString() into ParserAbstract. This stuff is going to get complicated now. For now only implement the validation of the indentation on the end label.
show more ...
|
Revision tags: v4.0.4, v4.0.3 |
|
#
8b1c9c04 |
| 07-Jul-2018 |
Nikita Popov |
Store comment at end of class in Nop statement Fixed #509.
|