php-parser/test/code/formatPreservation
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
..
abc1.test FPPP: Switch pArray() to use node list diffing 2017-10-06 12:02:00 +02:00
anonClasses.test FPPP: Support anonymous classes (#432) 2017-10-29 12:26:12 +01:00
commentsFallback.test FPPP: Fall back if comment in list node changes (#420) 2017-10-02 21:18:13 +02:00
insertionOfNullable.test Move leading space out of pStmt_Else 2017-10-06 14:56:59 +02:00
listInsertion.test FPPP: Check that nodes are nodes in pArray() 2017-10-18 15:42:01 +02:00
modifierChange.test FPPP: Support modifier changes (#428) 2017-10-25 22:27:29 +02:00
removalViaNull.test Support format-preserving node removal 2017-01-21 17:52:50 +01:00