0d0accfa | 21-Oct-2016 |
Nikita Popov |
Add setDocComment() to Node interface Previously it was only part of NodeAbstract. |
623bad2c | 09-Oct-2016 |
Matthew Brown |
Type encapsulated string parts specifically |
f66cf8f0 | 21-Oct-2016 |
Matthew Brown |
$name can be null for PHP 7 anonymous classes |
4e25f515 | 16-Oct-2016 |
Nikita Popov |
Fix php-parse script |
a46b3099 | 16-Oct-2016 |
Nikita Popov |
Move constants into NodeTraverser class Not that the interface makes much sense anyway, but these are implementation details of a specific traverser. |
f99a96e0 | 09-Oct-2016 |
Nikita Popov |
Introduce ErrorHandler Add ErrorHandler interface, as well as ErrorHandler\Throwing and ErrorHandler\Collecting. The error handler is passed to Parser::parse(). This supersedes the t
Introduce ErrorHandler Add ErrorHandler interface, as well as ErrorHandler\Throwing and ErrorHandler\Collecting. The error handler is passed to Parser::parse(). This supersedes the throwOnError option. NameResolver now accepts an ErrorHandler in the ctor.
show more ...
|
90834bff | 11-Oct-2016 |
Nikita Popov |
Add namespacedName attribute on runtime-resolved names The NameResolver now adds a namespacedName attribute on function/ const names which cannot be statically resolved. |
a910f6a2 | 09-Oct-2016 |
Nikita Popov |
Remove $separator arg from Name::toString() |
caa5c0cc | 08-Oct-2016 |
Nikita Popov |
Graceful handling for "special" errors Nearly all special errors are now handled gracefully, i.e. the parser will be able to continue after encountering them. In some cases the assoc
Graceful handling for "special" errors Nearly all special errors are now handled gracefully, i.e. the parser will be able to continue after encountering them. In some cases the associated error range has been improved using the new end attribute stack. To achieve this the error handling code has been moved out of the node constructors and into special methods in the parser.
show more ...
|
5e5cb86e | 08-Oct-2016 |
Nikita Popov |
Remove support for node cloning in traverser |
2be7838f | 08-Oct-2016 |
Nikita Popov |
Correctly assign attrs for encaps vars |
f6eb341b | 08-Oct-2016 |
Nikita Popov |
Fix GroupUse prefix attribute assignment |
b2fe43cf | 30-Sep-2016 |
Nikita Popov |
Next try... |
648a246b | 30-Sep-2016 |
Nikita Popov |
Next try to fix HHVM build |
2e5ae28c | 30-Sep-2016 |
Nikita Popov |
Don't use deprecated getMock() |
5025d751 | 30-Sep-2016 |
Nikita Popov |
Try to fix HHVM build |
c79ea6d1 | 30-Sep-2016 |
Nikita Popov |
Support recovery from lexer errors Lexer::startLexing() no longer throws, instead errors can be fetched using Lexer::getErrors(). Lexer errors now also contain full line and pos
Support recovery from lexer errors Lexer::startLexing() no longer throws, instead errors can be fetched using Lexer::getErrors(). Lexer errors now also contain full line and position information.
show more ...
|
e926efd6 | 30-Sep-2016 |
Nikita Popov |
Fix regex |
17d1e738 | 30-Sep-2016 |
Nikita Popov |
Don't use ~__EMU sequences in emulative lexer These were necessary back in the day when we had to emulate some complex functionality such as nowdoc strings. Now we can simply directl
Don't use ~__EMU sequences in emulative lexer These were necessary back in the day when we had to emulate some complex functionality such as nowdoc strings. Now we can simply directly translate certain token sequences. The motivation for this change is to avoid preprocessing of the source code, which would complicate offset-aware error handling inside the lexer as offsets would no longer be correct.
show more ...
|
9e5d3bbe | 30-Sep-2016 |
Nikita Popov |
Remove Error::(get|set)RawLine() These have been superseded by Error::(get|set)StartLine(). |
f3c7dc9d | 30-Sep-2016 |
Nikita Popov |
Add Error::getMessageWithColumnInfo() |
c5e0c3d7 | 30-Sep-2016 |
Nikita Popov |
Catch lexer errors in throwOnError=0 mode |
ea47b6e0 | 17-Sep-2016 |
Nikita Popov |
Add NodeAbstract::setDocComment() |
9e1c535b | 16-Sep-2016 |
Nikita Popov |
Update builder tests to use "flags" instead of "type" |
cfd207ca | 16-Sep-2016 |
Graham Campbell |
Use phpunit 5 if we can rather than 4 (#301) |