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.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 ...
|
a0c216bf | 09-Mar-2016 |
Nikita Popov |
Add dumpComments option to NodeDumper Adding this as an option to avoid breaking people's tests. Some of the test results show pretty clearly that we are incorrectly assigning t
Add dumpComments option to NodeDumper Adding this as an option to avoid breaking people's tests. Some of the test results show pretty clearly that we are incorrectly assigning the same comment multiple times for nested nodes (mentioned in #36).
show more ...
|
573c7c20 | 03-Mar-2016 |
Steve Miketa |
Update file mode |
d5cbf79f | 28-Feb-2016 |
Nikita Popov |
Mark 1.x as unsupported |
ce5be709 | 28-Feb-2016 |
Nikita Popov |
Release PHP-Parser 2.0.1 |
9829bf69 | 28-Feb-2016 |
Nikita Popov |
Fix issue #251 |
c8282e6e | 20-Feb-2016 |
Nikita Popov |
Add badges |
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. |
1fe8f09c | 20-Feb-2016 |
Nikita Popov |
Fix __halt_compiler() pretty printing edge case We can't strip the <?php at the end of a __halt_compiler() segment in file mode. Fixed by being a bit more explicit in prettyPrin
Fix __halt_compiler() pretty printing edge case We can't strip the <?php at the end of a __halt_compiler() segment in file mode. Fixed by being a bit more explicit in prettyPrintFile() about what we want to do...
show more ...
|
47509cf9 | 20-Feb-2016 |
Nikita Popov |
Next try... |
5b96a11a | 20-Feb-2016 |
Nikita Popov |
Fix .travis.yml |
7faa1dca | 20-Feb-2016 |
Nikita Popov |
Try setting up coveralls |
65af37f7 | 20-Feb-2016 |
Nikita Popov |
Doc comment tweaks |
d6361136 | 09-Feb-2016 |
Nikita Popov |
Update semi-reserved keyword list Magic constant names have been added after the PHP 7 release. We do not support and likely will not support __halt_compiler here due to lexer l
Update semi-reserved keyword list Magic constant names have been added after the PHP 7 release. We do not support and likely will not support __halt_compiler here due to lexer limitations.
show more ...
|
73a9d494 | 28-Jan-2016 |
Prayag Verma |
typo fixes |
6dffb72c | 15-Jan-2016 |
Nikita Popov |
Merge branch '1.x'
|
eb734410 | 15-Jan-2016 |
Nikita Popov |
Support hashbang before namespace declaration Fixes issue #243. |
5c2cc504 | 29-Dec-2015 |
Jesse Schalken |
Remove some more unecessary @property doc comments |
58eb1ea7 | 29-Dec-2015 |
Jesse Schalken |
Remove some unecessary @property doc comments |
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 ...
|
c542e5d8 | 04-Dec-2015 |
Nikita Popov |
Release PHP-Parser 2.0.0 |
a9074c74 | 03-Dec-2015 |
Nikita Popov |
Introduce Scalar\EncapsedStringPart |