php-parser/lib/PhpParser
Shalvah 632ead3a82
Print comma before comments for new array item (#805)
Print comma before rather than after comments. Also switch to multiline mode if inserting an item with comments.

Fixes #804.
2021-09-12 21:51:25 +02:00
..
Builder Introduce ComplexType base class 2021-09-02 18:35:05 +02:00
Comment [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
ErrorHandler [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
Internal Allow both '{' and T_CURLY_OPEN as curly bracket (#732) 2020-12-03 18:42:00 +01:00
Lexer Adjust token count in octal emulator 2021-09-03 16:35:10 +02:00
Node Add support for first-class callables 2021-09-03 17:18:40 +02:00
NodeVisitor Add support for intersection types 2021-09-03 15:06:33 +02:00
Parser Add support for first-class callables 2021-09-03 17:18:40 +02:00
PrettyPrinter Add support for first-class callables 2021-09-03 17:18:40 +02:00
Builder.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
BuilderFactory.php Add Attribute builder and support for named args (#781) 2021-06-14 23:52:57 +02:00
BuilderHelpers.php Add support for intersection types 2021-09-03 15:06:33 +02:00
Comment.php Add end line / file position / token position to comments 2020-02-09 16:53:46 +01:00
ConstExprEvaluationException.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
ConstExprEvaluator.php Improve constant evaluation and add docs 2018-01-27 17:47:45 +01:00
Error.php Fixes from PHPStan (#502) 2018-05-19 11:12:24 +02:00
ErrorHandler.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
JsonDecoder.php Remove trailing comma 2020-02-09 17:15:59 +01:00
Lexer.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
NameContext.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
Node.php Don't require doc comment to be last comment 2020-02-15 10:52:34 +01:00
NodeAbstract.php Don't require doc comment to be last comment 2020-02-15 10:52:34 +01:00
NodeDumper.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
NodeFinder.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
NodeTraverser.php Add new constant to be returned from enterNode() to not traverse current and child nodes (#536) 2018-10-08 22:26:00 +02:00
NodeTraverserInterface.php Add methods visibility (#464) 2018-01-10 19:07:41 +01:00
NodeVisitor.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
NodeVisitorAbstract.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Parser.php [CS] Open class brackets in new line 2018-01-13 16:03:55 +01:00
ParserAbstract.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
ParserFactory.php [CS] Open class brackets in new line 2018-01-13 16:03:55 +01:00
PrettyPrinterAbstract.php Print comma before comments for new array item (#805) 2021-09-12 21:51:25 +02:00