nikic
|
8d218110db
|
Fix some doc comments
|
2012-09-07 23:41:54 +02:00 |
|
nikic
|
35ec185558
|
Make $line argument for Comment optional
Also add setLine() method.
|
2012-06-08 17:55:35 +02:00 |
|
Jon Cave
|
0911b2e1ce
|
Add line number information to comments
Line numbers are stored in the $line property of the PHPParser_Comment
and PHPParser_Comment_Doc classes and can be retrieved with getLine().
|
2012-06-06 14:33:38 +01:00 |
|
nikic
|
10fc22f518
|
Replace \N with .
Older PCRE versions (coming with PHP 5.2) don't support \N yet.
|
2012-05-11 20:38:05 +02:00 |
|
nikic
|
dab2fd4b7a
|
Fix comment reformatting on Linux
Remove the use of \R (with BSR_ANYCRLF) at two places, as it was causing
problems there.
|
2012-05-11 18:45:55 +02:00 |
|
nikic
|
81e53ce0ff
|
Insert comments when pretty printing
This changset also adds unit tests for Comments and adds a way to test the
pretty printer.
|
2012-05-11 16:18:14 +02:00 |
|
nikic
|
e587e3f4c6
|
Collect normal comments too, not only doc comments
Comments and doc comments are now saved in the 'comments' attribute, as an
array. The are instances of PHPParser_Comment[_Doc].
|
2012-05-06 17:49:04 +02:00 |
|