php-parser/lib/PhpParser/Parser
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
..
Multiple.php Add some tests for Multiple parser 2015-07-12 22:00:02 +02:00
Php5.php Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
Php7.php Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
Tokens.php Move token constants into separate class 2015-06-13 18:39:55 +02:00