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 3b7d8e8b5d Enable basic error recovery
Adding only a single recovery rule for now.

The API is now:
 * throwOnError parser option must be disabled.
 * List of Errors is available through $parser->getErrors(). This
   method is available either way.
 * If no recovery is possible $parser->parse() will return null.
   (Obviously only if throwOnError is disabled).
2015-04-30 17:41:57 +02:00
..
class Enable basic error recovery 2015-04-30 17:41:57 +02:00
function Add support for "yield from" 2015-04-26 11:56:02 +02:00
loop Guarantee that subnodes are always in the right order 2014-03-22 14:49:56 +01:00
namespace Enable basic error recovery 2015-04-30 17:41:57 +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 Insert comments when pretty printing 2012-05-11 16:18:14 +02: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-fail Synchronized error messages with native php error messages 2014-02-12 20:19:48 +01:00
haltCompilerOutermostScope.test-fail Make column info 1-based 2015-04-18 21:20:45 +02:00
hashbang.test Add support for T_HASHBANG (HHVM) 2015-03-14 19:53:08 +01:00
if.test Guarantee that subnodes are always in the right order 2014-03-22 14:49:56 +01:00
inlineHTML.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
switch.test Fix Switch subnode order 2012-10-19 14:54:56 +02:00
tryCatch.test Add support for finally clauses (PHP 5.5) 2012-09-07 23:41:56 +02:00
tryCatch.test-fail Add support for finally clauses (PHP 5.5) 2012-09-07 23:41:56 +02:00
unset.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00