#
9b6a2577 |
| 04-Nov-2017 |
Nikita Popov |
FPPP: Convert some checks to assertions Don't just silently fall back if we receive illegal input.
|
#
6a2e1ae4 |
| 04-Nov-2017 |
Nikita Popov |
FPPP: Graceful handling of comment changes
|
#
56bc8ebb |
| 04-Nov-2017 |
Nikita Popov |
FPPP: Add support for removal from list nodes
|
Revision tags: v3.1.2 |
|
#
5054a68b |
| 29-Oct-2017 |
Nikita Popov |
Reset origTokens in resetState() In case one pretty printer is used in both preserving and non-preserving mode.
|
#
5900d78c |
| 29-Oct-2017 |
Nikita Popov |
FPPP: Support anonymous classes (#432) This is a huge hack... We temporarily create a new node with the correct structure and use that for printing. I think it would be better t
FPPP: Support anonymous classes (#432) This is a huge hack... We temporarily create a new node with the correct structure and use that for printing. I think it would be better to always use a separate node type for NewAnonClass, rather than using a combination of New and Class, but this would require some larger changes, as this node type would have to be both Expr and ClassLike, which is not possible right now, as the latter is a class rather than an interface...
show more ...
|
#
77627536 |
| 25-Oct-2017 |
Nikita Popov |
FPPP: Support modifier changes (#428) I decided against introducing a node type for this. In the end it would require special handling anyway.
|
Revision tags: v4.0.0alpha1 |
|
#
f5de7f98 |
| 18-Oct-2017 |
Nikita Popov |
FPPP: Check that nodes are nodes in pArray()
|
#
bbec051e |
| 06-Oct-2017 |
Nikita Popov |
FPPP: Consolidate indentation levels A bit annoying that we have to keep $this->nl always synchronized.
|
#
f071b660 |
| 06-Oct-2017 |
Nikita Popov |
Print comments of inserted statements
|
#
bb2ac911 |
| 06-Oct-2017 |
Nikita Popov |
Move leading space out of pStmt_Else Same as previous commit. Also add support for pStmt_If->else insertion.
|
#
e3888cbe |
| 06-Oct-2017 |
Nikita Popov |
Move leading space out of pStmt_ElseIf This is not part of the elseif itself and as such belongs in the pStmt_If printer.
|
#
31015583 |
| 06-Oct-2017 |
Nikita Popov |
FPPP: Support insertion into list subnodes With some rough edges...
|
#
ed8a744c |
| 05-Oct-2017 |
Nikita Popov |
FPPP: Switch pArray() to use node list diffing
|
#
75880fbe |
| 05-Oct-2017 |
Nikita Popov |
Make code more explicit
|
#
f6cc85a7 |
| 02-Oct-2017 |
Nikita Popov |
FPPP: Fall back if comment in list node changes (#420)
|
#
cc328a4c |
| 29-Sep-2017 |
Nikita Popov |
Add get{Start,End}{Line,TokenPos,FilePos}() methods
|
#
d8f91733 |
| 29-Sep-2017 |
Nikita Popov |
Add Node::getComments() method
|
#
4f8f773b |
| 17-Sep-2017 |
markbook2 |
Remove leftover property intialization in pretty printer (#416)
|
#
69ed40e4 |
| 15-Sep-2017 |
markbook2 |
Don't continue of searching if a global namespace declaration is found
|
#
b1cd07a7 |
| 03-Sep-2017 |
Nikita Popov |
Extract TokenStream class from pretty printer
|
#
61e624bc |
| 03-Sep-2017 |
Nikita Popov |
Replace noIndent mechanism in pretty printer Instead store newline with indentation in $nl property and use it where needed. The implementation should be changed to compilet ind
Replace noIndent mechanism in pretty printer Instead store newline with indentation in $nl property and use it where needed. The implementation should be changed to compilet indentLevel and fpIndentLevel, I don't think these need to be kept separate.
show more ...
|
Revision tags: v3.1.1 |
|
#
e2e99f26 |
| 18-Aug-2017 |
TomasVotruba |
Add strict_types to lib code
|
#
05e6725b |
| 13-Aug-2017 |
TomasVotruba |
[cs] use strict comparison where allowed
|
#
ec535ea1 |
| 13-Aug-2017 |
TomasVotruba |
[cs] use PHP 5.4 short array, since PHP 7.0 is min version
|
Revision tags: v3.1.0 |
|
#
8bdcb478 |
| 30-Jun-2017 |
Pavel Levin |
Simplify ternary operator for PHP7 (#395)
|