php-parser/test/PhpParser
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
..
Builder Strict type compliance 2015-03-24 11:19:17 +01:00
Lexer Add support for "yield from" 2015-04-26 11:56:02 +02:00
Node Rename nodes for compat with PHP 7 2015-03-20 21:49:38 +01:00
NodeVisitor Add support for anonymous classes 2015-04-26 23:04:31 +02:00
Serializer Add support for return type declarations [PHP 7] 2015-03-12 22:16:12 +01:00
Unserializer Rename nodes for compat with PHP 7 2015-03-20 21:49:38 +01:00
AutoloaderTest.php Fix registering of PHP 7 aliases 2015-03-24 20:04:50 +01:00
BuilderFactoryTest.php Add "use" builder 2015-03-10 16:05:55 +01:00
CodeTestAbstract.php Strict type compliance 2015-03-24 11:19:17 +01:00
CommentTest.php Use stricter assertions where possible 2014-09-30 20:38:09 +02:00
ErrorTest.php Make column info 1-based 2015-04-18 21:20:45 +02:00
LexerTest.php Fix lexer tests for HHVM 2015-02-26 19:19:40 +01:00
NodeAbstractTest.php Use real properties for storing subnodes 2015-03-09 08:54:20 +01:00
NodeDumperTest.php Rename nodes for compat with PHP 7 2015-03-20 21:49:38 +01:00
NodeTraverserTest.php #184 Add a flag to NodeTraverser to avoid cloning nodes 2015-03-22 11:19:04 +13:00
ParserTest.php Enable basic error recovery 2015-04-30 17:41:57 +02:00
PrettyPrinterTest.php Rename nodes for compat with PHP 7 2015-03-20 21:49:38 +01:00