1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-26 20:04:48 +01:00
PHP-Parser/test
Nikita Popov 5900d78cc9 FPPP: Support anonymous classes (#432)
This is a huge hack... We temporarily create a new node with the
correct structure and use that for printing.

I think it would be better to always use a separate node type for
NewAnonClass, rather than using a combination of New and Class,
but this would require some larger changes, as this node type would
have to be both Expr and ClassLike, which is not possible right now,
as the latter is a class rather than an interface...
2017-10-29 12:26:12 +01:00
..
code FPPP: Support anonymous classes (#432) 2017-10-29 12:26:12 +01:00
PhpParser FPPP: Support anonymous classes (#432) 2017-10-29 12:26:12 +01:00
bootstrap.php Add test porting infrastructure 2017-01-19 22:24:48 +01:00
updateTests.php Add test porting infrastructure 2017-01-19 22:24:48 +01:00