- 22 Oct, 2016 1 commit
-
-
Nikita Popov authored
Name::$parts array is replaced by Name::$name string.
-
- 21 Oct, 2016 5 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
Previously it was only part of NodeAbstract.
-
Matthew Brown authored
-
Matthew Brown authored
-
- 16 Oct, 2016 3 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
Not that the interface makes much sense anyway, but these are implementation details of a specific traverser.
-
Nikita Popov authored
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.
-
- 11 Oct, 2016 1 commit
-
-
Nikita Popov authored
The NameResolver now adds a namespacedName attribute on function/ const names which cannot be statically resolved.
-
- 09 Oct, 2016 2 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
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.
-
- 08 Oct, 2016 3 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
- 30 Sep, 2016 10 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
Lexer::startLexing() no longer throws, instead errors can be fetched using Lexer::getErrors(). Lexer errors now also contain full line and position information.
-
Nikita Popov authored
-
Nikita Popov authored
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.
-
Nikita Popov authored
These have been superseded by Error::(get|set)StartLine().
-
Nikita Popov authored
-
Nikita Popov authored
-
- 17 Sep, 2016 2 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
-
- 16 Sep, 2016 5 commits
-
-
Graham Campbell authored
-
Nikita Popov authored
-
Nikita Popov authored
Conflicts: CHANGELOG.md
-
Nikita Popov authored
-
Nikita Popov authored
This adds support for void, iterable and nullable types.
-
- 30 Aug, 2016 4 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
Conflicts: lib/PhpParser/Parser/Php7.php
-
Nikita Popov authored
-
- 11 Aug, 2016 1 commit
-
-
Nat Zimmermann authored
-
- 25 Jul, 2016 3 commits
-
-
Nikita Popov authored
-
Nikita Popov authored
Exposes the properties and adds an additional nodeType property.
-
Nikita Popov authored
-