#
d8235a27 |
| 14-Jul-2024 |
Nikita Popov |
[8.4] Add support for __PROPERTY__ magic constant Part of property hooks RFC.
|
#
d83562e6 |
| 26-Feb-2023 |
Nikita Popov |
Print INF as 1.0E+1000 This makes pretty printing round trip to another Float literal, rather than a constant lookup. The 1e1000 form in particular is chosen because that seems to be
Print INF as 1.0E+1000 This makes pretty printing round trip to another Float literal, rather than a constant lookup. The 1e1000 form in particular is chosen because that seems to be the typical form used in various tests.
show more ...
|
#
cf0cd600 |
| 24-Jul-2022 |
Nikita Popov |
Improve heuristic for escaping in single quoted strings It is idiomatic to not escape backslashes if they are followed by a non-special character.
|
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 |
|
#
e5453f0d |
| 01-Dec-2017 |
Nikita Popov |
Extract pSingleQuotedString as an extension point And add some more string formatting tests.
|
Revision tags: 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 |
|
#
58970e2a |
| 11-Dec-2016 |
Nikita Popov |
Improve LNumber/DNumber pretty printing * Support PHP_INT_MIN * Support negative binary/octal/hex numbers * Support INF/-INF/NAN in namespaces
|
Revision tags: 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 ...
|
#
ae30f97a |
| 09-Mar-2016 |
Nikita Popov |
Add "kind" attribute to LNumbers Kind specifies whether the number was formatted as decimal, octal, binary or hex. The pretty printer reproduces the number kind (but not necessarily
Add "kind" attribute to LNumbers Kind specifies whether the number was formatted as decimal, octal, binary or hex. The pretty printer reproduces the number kind (but not necessarily the exact formatting).
show more ...
|
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.
|
Revision tags: v2.0.0, v2.0.0beta1 |
|
#
e4b837e0 |
| 02-Oct-2015 |
Nikita Popov |
Split up pretty printer test in stmt/expr The list was getting unweildly. Also improve error message when parsing fails in pretty printer test and extend some tests.
|