1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-02 09:17:58 +01:00
PHP-Parser/lib/PhpParser
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
..
Builder Doc comment tweaks 2016-02-20 17:06:09 +01:00
Comment Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Lexer Move token constants into separate class 2015-06-13 18:39:55 +02:00
Node Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
NodeVisitor Switch NameResolver resolve methods to be immutable 2015-07-12 23:56:57 +02:00
Parser Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
PrettyPrinter Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
Serializer Strict type compliance 2015-03-24 11:19:17 +01:00
Unserializer Strict type compliance 2015-03-24 11:19:17 +01:00
Autoloader.php Drop support for PHP 7 aliases 2015-05-02 22:21:12 +02:00
Builder.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
BuilderAbstract.php Rename nodes for compat with PHP 7 2015-03-20 21:49:38 +01:00
BuilderFactory.php Add "use" builder 2015-03-10 16:05:55 +01:00
Comment.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Error.php Add column info to EOF errors 2015-04-27 15:37:41 +02:00
Lexer.php Use error_clear_last() on PHP 7 2015-11-21 22:27:56 +01:00
Node.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
NodeAbstract.php Drop {@inheritDoc} 2015-06-12 20:37:43 +02:00
NodeDumper.php Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
NodeTraverser.php Disable cloning in traverser by default 2015-07-14 17:39:56 +02:00
NodeTraverserInterface.php Add NodeTraverser::DONT_TRAVERSE_CHILDREN support 2015-01-11 22:13:58 +01:00
NodeVisitor.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
NodeVisitorAbstract.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Parser.php Fix issue #227 2015-09-19 22:05:23 +08:00
ParserAbstract.php Merge branch '1.x' 2016-01-15 22:02:35 +01:00
ParserFactory.php Various docs fixes 2015-07-14 21:11:54 +02:00
PrettyPrinterAbstract.php Fix issue #251 2016-02-28 20:28:32 +01:00
Serializer.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Unserializer.php Strict type compliance 2015-03-24 11:19:17 +01:00