History log of /PHP-Parser/test/code/prettyPrinter/expr/docStrings.test (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5da5231f 27-Aug-2023 Nikita Popov

Indent heredoc/nowdoc when targeting PHP >= 7.3


# 8d583801 27-Aug-2023 Nikita Popov

Default pretty printer to PHP 7.4


# 646b4907 24-Jul-2022 Nikita Popov

Don't force newline after doc string when targeting PHP >= 7.3


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1, v3.1.0, v3.0.6, v3.0.5, v3.0.4, v3.0.3, v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1, v2.1.0
# 588e6a4d 02-Apr-2016 Nikita Popov

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
* Str

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.

show more ...