#
75abbbd2 |
| 06-Sep-2020 |
Nikita Popov |
Handle flexible heredoc via TokenEmulator Extend the interface to support preprocessing.
|
#
39b04600 |
| 06-Sep-2020 |
Nikita Popov |
Refactor token emulator registration Only determine needed emulators based on PHP version once, and add an adaptor that allows treating forward and reverse emulation the same.
Refactor token emulator registration Only determine needed emulators based on PHP version once, and add an adaptor that allows treating forward and reverse emulation the same. Previously the isEmulationNeeded() check was too conservative, as it also considered emulators that are not relevant for the version. Though possibly that check should just be dropped altogether.
show more ...
|
#
23d9c177 |
| 02-Aug-2020 |
Nikita Popov |
Add support for nullsafe operator
|
#
1a1300aa |
| 01-Aug-2020 |
Nikita Popov |
Add reverse emulation support
|
#
7b2ec670 |
| 01-Aug-2020 |
Nikita Popov |
Accept a phpVersion option in emulative lexer Testing this will require reverse emulation support.
|
#
61328f89 |
| 01-Aug-2020 |
Nikita Popov |
Separate out emulator version info
|
#
69c5d48a |
| 15-Jul-2020 |
Tomas Votruba |
[PHP 8.0] Add match expressions (#672) RFC: https://wiki.php.net/rfc/match_expression_v2 Upstream implementation: php/php-src#5371 Closes #671.
|
Revision tags: v4.3.0, v4.2.5, v4.2.4 |
|
#
5644a916 |
| 30-Aug-2019 |
Nikita Popov |
Sync flexible heredoc emulation with label fix This was recently fixed in PHP via https://github.com/php/php-src/commit/310708845ff02b9e252b7a02616290384dd846ba so we should fix it h
Sync flexible heredoc emulation with label fix This was recently fixed in PHP via https://github.com/php/php-src/commit/310708845ff02b9e252b7a02616290384dd846ba so we should fix it here as well. I'm not adding a dedicated test as it will fail until new PHP versions are released. This is indirectly tested through the php-src tester.
show more ...
|
Revision tags: v4.2.3 |
|
#
3f718ee2 |
| 30-Jun-2019 |
Tomáš Votruba |
[PHP 7.4] Add support for numeric literal separators (#615) Implements RFC https://wiki.php.net/rfc/numeric_literal_separator. Closes #614.
|
#
aad0e289 |
| 23-Jun-2019 |
Nikita Popov |
Remove token registration from TokenEmulator interface
|
Revision tags: v4.2.2 |
|
#
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, v4.1.1, v4.1.0 |
|
#
a5c726bf |
| 21-Sep-2018 |
Nikita Popov |
Make sure heredoc end label not followed by label char
|
Revision tags: v4.0.4, v4.0.3, v4.0.2 |
|
#
83766c8c |
| 28-Apr-2018 |
Nikita Popov |
Partial support for flexible heredoc/nowdoc This only implements the token emulation part, it does not yet handle the indentation stripping. Emulating this feature on old PHP ve
Partial support for flexible heredoc/nowdoc This only implements the token emulation part, it does not yet handle the indentation stripping. Emulating this feature on old PHP versions is really tough and is not going to work perfectly, but hopefully this implementation is "good enough".
show more ...
|
Revision tags: v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4 |
|
#
68d07c46 |
| 10-Jan-2018 |
Gabriel Caruso |
[CS] New line in the end of file
|
#
a8968caa |
| 10-Jan-2018 |
Gabriel Caruso |
[CS] Remove extra lines
|
Revision tags: v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1 |
|
#
e2e99f26 |
| 18-Aug-2017 |
TomasVotruba |
Add strict_types to lib code
|
#
58bf92e4 |
| 13-Aug-2017 |
TomasVotruba |
[cs] remove unused imports
|
Revision tags: v3.1.0, v3.0.6 |
|
#
60f15049 |
| 24-Apr-2017 |
Nikita Popov |
Drop emulative lexer implementation Nothing to emulate anymore... Revert this commit when something turns up.
|
Revision tags: v3.0.5 |
|
#
9857a545 |
| 11-Feb-2017 |
Matthew Brown |
Remove unused variables (#357)
|
Revision tags: v3.0.4, v3.0.3 |
|
#
bfea338d |
| 25-Jan-2017 |
Nikita Popov |
Update doc comments after previous comment Make some of the type annotations more accurate, and complete the generated doc-comments to be complete (with description and parameter ann
Update doc comments after previous comment Make some of the type annotations more accurate, and complete the generated doc-comments to be complete (with description and parameter annotations.)
show more ...
|
#
e3b87f40 |
| 24-Jan-2017 |
Matthew Brown |
Add non-void return types
|
#
3b4dd387 |
| 19-Jan-2017 |
Nikita Popov |
Comment out code for handling new keywords
|
#
61574a18 |
| 19-Jan-2017 |
Nikita Popov |
Drop support for PHP 5.5
|
Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2 |
|
#
f99a96e0 |
| 09-Oct-2016 |
Nikita Popov |
Introduce ErrorHandler Add ErrorHandler interface, as well as ErrorHandler\Throwing and ErrorHandler\Collecting. The error handler is passed to Parser::parse(). This supersedes the t
Introduce ErrorHandler Add ErrorHandler interface, as well as ErrorHandler\Throwing and ErrorHandler\Collecting. The error handler is passed to Parser::parse(). This supersedes the throwOnError option. NameResolver now accepts an ErrorHandler in the ctor.
show more ...
|