1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-04 10:18:09 +01:00
PHP-Parser/test/code/parser/stmt
Nikita Popov caa5c0cc76 Graceful handling for "special" errors
Nearly all special errors are now handled gracefully, i.e. the
parser will be able to continue after encountering them. In some
cases the associated error range has been improved using the new
end attribute stack.

To achieve this the error handling code has been moved out of the
node constructors and into special methods in the parser.
2016-10-09 12:38:18 +02:00
..
class Graceful handling for "special" errors 2016-10-09 12:38:18 +02:00
function Graceful handling for "special" errors 2016-10-09 12:38:18 +02:00
generator Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
loop PHP 7.1: list() with keys 2016-07-09 21:55:55 +02:00
namespace Graceful handling for "special" errors 2016-10-09 12:38:18 +02: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
multiCatch.test Introduce explicit Finally node 2016-07-25 14:25:04 +02:00
switch.test Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
tryCatch.test Introduce explicit Finally node 2016-07-25 14:25:04 +02:00
tryWithoutCatch.test Graceful handling for "special" errors 2016-10-09 12:38:18 +02:00
unset.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00