1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 17:09:41 +01:00
PHP-Parser/test/code/parser/stmt
Nikita Popov 7eac2cfd8b Introduce Nop statement to collect dangling comments
A Nop statement will be inserted into statement lists if there are
any trailing comments in the list (which would otherwise not be
associated with any node).

The pretty printer output currently still contains a superfluous
newline.
2016-03-09 19:48:36 +01:00
..
class Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
function Support scalar type declarations 2015-06-13 20:16:09 +02:00
generator Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
loop Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
namespace Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
blocklessStatement.test Guarantee that subnodes are always in the right order 2014-03-22 14:49:56 +01:00
const.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
controlFlow.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
declare.test Distinguish declare(); and declare(){} 2015-12-07 12:12:00 +01:00
echo.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
haltCompiler.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
haltCompilerInvalidSyntax.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
haltCompilerOffset.test Fix __HALT_COMPILER_OFFSET__ support on HHVM 2015-07-04 13:15:48 +02:00
haltCompilerOutermostScope.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
hashbang.test Add support for T_HASHBANG (HHVM) 2015-03-14 19:53:08 +01:00
if.test Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
inlineHTML.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
switch.test Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
tryCatch.test Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
tryWithoutCatch.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
unset.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00