1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00
PHP-Parser/test/PHPParser/Tests
nikic 3701e02d32 Use inject-once approach for lexer
Now the lexer is injected only once when creating the parser. Instead of

    $parser = new PHPParser_Parser;
    $parser->parse(new PHPParser_Lexer($code));
    $parser->parse(new PHPParser_Lexer($code2));

you write:

    $parser = new PHPParser_Parser(new PHPParser_Lexer);
    $parser->parse($code);
    $parser->parse($code2);
2012-05-04 10:16:46 +02:00
..
Builder Add function builder 2012-03-11 09:02:52 +01:00
Lexer Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00
Node [5.4] Add new \e escape sequence (0x1B/27) 2011-12-04 17:35:30 +01:00
NodeVisitor Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00
Serializer Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00
Unserializer Fix XML unserializer 2012-04-04 14:06:08 +02:00
BuilderFactoryTest.php Add function builder 2012-03-11 09:02:52 +01:00
codeTest.php Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00
ErrorTest.php Some more test improvements (+ fixes) 2011-11-27 21:50:19 +01:00
LexerTest.php Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00
NodeAbstractTest.php Add tests for node attributes 2012-04-19 00:22:31 +02:00
NodeDumperTest.php Some more test improvements (+ fixes) 2011-11-27 21:50:19 +01:00
NodeTraverserTest.php Cover NodeTraverser and bugs it found 2011-12-02 17:52:03 +01:00
TemplateLoaderTest.php Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00
TemplateTest.php Use inject-once approach for lexer 2012-05-04 10:16:46 +02:00