#
5ea2a76d |
| 05-Jul-2016 |
Nikita Popov |
PHP 7.1: Class constant visibility support
|
Revision tags: v2.1.0 |
|
#
371c7833 |
| 13-Apr-2016 |
algo13 |
Escape all low control characters in strings
|
#
90eb1165 |
| 19-Apr-2016 |
Nikita Popov |
Switch Exit kind attribute to flag To be consistent with everything else.
|
#
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 ...
|
#
aa199120 |
| 09-Mar-2016 |
Nikita Popov |
Add kind attribute for arrays To distinguish array() and [] syntax. The pretty printer respects this attribute. The shortArraySyntax pretty printer option acts as a default in case t
Add kind attribute for arrays To distinguish array() and [] syntax. The pretty printer respects this attribute. The shortArraySyntax pretty printer option acts as a default in case the attribute is not specified.
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 ...
|
#
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, v2.0.0, v2.0.0beta1 |
|
#
7eac2cfd |
| 02-Oct-2015 |
Nikita Popov |
Introduce Nop statement to collect dangling comments A Nop statement will be inserted into statement lists if there are any trailing comments in the list (which would otherwise not be
Introduce Nop statement to collect dangling comments A Nop statement will be inserted into statement lists if there are any trailing comments in the list (which would otherwise not be associated with any node). The pretty printer output currently still contains a superfluous newline.
show more ...
|
#
719ca71d |
| 07-Dec-2015 |
Nikita Popov |
Distinguish declare(); and declare(){} It makes semantic difference and the latter form is actually forbidden for strict_types. This sets Declare->stmts to null for the body-les
Distinguish declare(); and declare(){} It makes semantic difference and the latter form is actually forbidden for strict_types. This sets Declare->stmts to null for the body-less case.
show more ...
|
#
a9074c74 |
| 03-Dec-2015 |
Nikita Popov |
Introduce Scalar\EncapsedStringPart
|
#
39a039fa |
| 21-Sep-2015 |
Nikita Popov |
Add option for short array syntax in pretty printer
|
Revision tags: v1.4.1, v2.0.0alpha1, v1.4.0 |
|
#
8090531a |
| 09-Jul-2015 |
Nikita Popov |
Fix pretty printing of const derefs for 5.x (FOO)[0] is only supported on 7.x
|
#
71fa7c66 |
| 13-Jun-2015 |
Nikita Popov |
Support UVS in pretty printer Try to generate interoperable code where possible (but not everything can be expressed in PHP 5).
|
#
1a1bd144 |
| 13-Jun-2015 |
Nikita Popov |
Support mixed group use declarations
|
#
9620f79c |
| 12-Jun-2015 |
Nikita Popov |
Add partial group use support Supported via Stmt\GroupUse which has Name $prefix in addition to the usual. Still missing: Mixed group uses.
|
Revision tags: v1.3.0 |
|
#
8b64195c |
| 02-May-2015 |
Nikita Popov |
Try .17G print if .16G is not enough This should be enough for all cases, because: A double has 53 bits of mantissa (including the implicit 1 bit), which is 53*ln(2)/ln(10) = 15.95 d
Try .17G print if .16G is not enough This should be enough for all cases, because: A double has 53 bits of mantissa (including the implicit 1 bit), which is 53*ln(2)/ln(10) = 15.95 decimal digits. However the leading decimal digit may encode less than the usual 3.32 bits, which will push this over the edge to requiring 17 decimal digits.
show more ...
|
#
648800f0 |
| 01-May-2015 |
Nikita Popov |
Increase float pretty printing precision This removes the reliance on the "precision" ini setting. Furthermore the default of precision=14 is not sufficient.
|
#
e1a0ec37 |
| 26-Apr-2015 |
Nikita Popov |
Add support for anonymous classes Has not landed upstream yet, but syntax is unlikely to change.
|
#
338bc1f8 |
| 26-Apr-2015 |
Nikita Popov |
Fix "print" pretty-printing Precedence was previously ignored.
|
#
ab80054e |
| 26-Apr-2015 |
Nikita Popov |
Add support for "yield from"
|
Revision tags: v1.2.2, v1.2.1, v1.2.0 |
|
#
8982315b |
| 21-Mar-2015 |
Nikita Popov |
Rename Cast\Object as well As it will very likely be soft-reserved in PHP 7. Old alias is still available, as usual.
|
#
1a627872 |
| 20-Mar-2015 |
Nikita Popov |
Rename nodes for compat with PHP 7 The old names will still be available on PHP 5.x.
|
#
251e6892 |
| 12-Mar-2015 |
Nikita Popov |
Add support for spaceship operator (<=>) [PHP 7] Added as Expr\BinaryOp\Spaceship.
|
#
01f4be6b |
| 12-Mar-2015 |
Nikita Popov |
Add support for null coalesce operator (??) [PHP 7] Added as Expr\BinaryOp\Coalesce.
|
#
dc28449d |
| 12-Mar-2015 |
Nikita Popov |
Drop whitespace after ... varargs collection Also drop an obsolete pretty printer test.
|