1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-02 17:28:27 +01:00
PHP-Parser/test/code/prettyPrinter/expr
Nikita Popov 588e6a4d4c Add string kinds and doc string labels
Scalar\String_ and Scalar\Encapsed now have an additional "kind"
attribute, which may be one of:

 * String_::KIND_SINGLE_QUOTED
 * String_::KIND_DOUBLE_QUOTED
 * String_::KIND_NOWDOC
 * String_::KIND_HEREDOC

Additionally, if the string kind is one of the latter two, an
attribute "docLabel" is provided, which contains the doc string
label (STR in <<<STR) that was originally used.

The pretty printer will try to take the original kind of the string,
as well as the used doc string label into account.
2016-04-07 12:09:00 +09:00
..
anonymousClass.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
call.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
closure.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +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 Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
numbers.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
operators.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
parentheses.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
shortArraySyntax.test Add kind attribute for arrays 2016-03-09 21:31:54 +01:00
uvs.test Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +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