1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00
PHP-Parser/test/code/prettyPrinter/expr
Nikita Popov 8bcaa4261e Add parens for new/instanceof with complex expression
This is not fully accurate because the rules for "new variables"
are different than the rules for dereferenceable LHS.
2020-08-09 22:07:33 +02:00
..
anonymousClass.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
arrayDestructuring.test PHP 7: Short destructuring syntax 2016-07-06 23:43:23 +02:00
arraySpread.test [PHP 7.4] Add array spread 2019-05-09 19:15:35 +02:00
arrow_function.test [PHP 7.4] Add support for arrow functions (#602) 2019-05-09 14:17:28 +02:00
call.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
closure.test Add constructor promotion support 2020-06-27 17:57:47 +02:00
constant_deref.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
docStrings.test Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
include.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
intrinsics.test Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
list.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
literals.test Extract pSingleQuotedString as an extension point 2017-12-01 18:31:21 +01:00
match.test [PHP 8.0] Add match expressions (#672) 2020-07-15 21:40:05 +02:00
namedArgs.test Add named argument support 2020-08-09 17:37:44 +02:00
newVariable.test Add parens for new/instanceof with complex expression 2020-08-09 22:07:33 +02:00
nullsafe.test Add support for nullsafe operator 2020-08-09 12:08:05 +02:00
numbers.test Improve LNumber/DNumber pretty printing 2016-12-11 16:31:59 +01:00
operators.test Add support for ??= operator 2019-02-09 11:16:26 +01:00
parentheses.test Handle +(++$x) and -(--$x) as well 2018-01-25 22:27:37 +01:00
shortArraySyntax.test Add kind attribute for arrays 2016-03-09 21:31:54 +01:00
stringEscaping.test Escape all low control characters in strings 2016-04-19 17:45:39 +02:00
throw.test Add support for throw expression 2020-08-09 20:52:55 +02:00
uvs.test Wrap class const LHS in parens if necessary 2020-08-09 21:41:30 +02:00
variables.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
yield.test Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00