History log of /PHP-Parser/test/code/prettyPrinter/expr/intrinsics.test (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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 ...


# 47c342a3 09-Mar-2016 Nikita Popov

Add "kind" attribute to Stmt\Exit_

Attribute specifies whether this is a "die" or an "exit" and the
pretty printer behaves accordingly.


Revision tags: v2.0.1
# a73aa7ee 20-Feb-2016 Nikita Popov

Pretty printer test coverage

Our output for yield / yield from is currently not very nice, but
also not easy to change.