tolerant-php-parser icon indicating copy to clipboard operation
tolerant-php-parser copied to clipboard

An early-stage PHP parser designed for IDE usage scenarios.

Results 68 tolerant-php-parser issues
Sort by recently updated
recently updated
newest added
trafficstars

I think the assert for "Supplied TextEdit[] must not overlap, and be in increasing start position order." should be an exception. From #158

![image](https://user-images.githubusercontent.com/323878/26993402-bc90a3f8-4d17-11e7-8680-c86764f211a2.png)

feature
lang-server-regression

PHP has native interfaces and classes for Iterators (`Generator` implements `Iterator`). Iterators can be traversed with `foreach` and composed easily, for example by filtering through [`CallbackFilterIterator`](http://de2.php.net/manual/en/class.callbackfilteriterator.php). In particular, it has...

feature

This would be simple once #88 is implemented (trailing trivia == leading trivia of the next token)

up-for-grabs
api

The API is shifting around quite a bit right now, so this'll help us ensure things stay in sync.

up-for-grabs
continuous-improvement

This error tolerance case needs some special handling. ```php class A { function b() { if ($expression { $a = 3; $b = "hello"; } echo "hi"; } public function...

bug
up-for-grabs
error-handling

The code below is currently improperly parsed without errors. ```php class A { use \A { \a as b; \b insteadof C; } } ```

bug
error-handling
in-progress

The PHP spec was a bit open to interpretation at times, so it'll be good to have a second pass, and should be a good opportunity to add more tests....

up-for-grabs
grammar

We are currently at ~98.5% pass rate on framework validation tests (a test fails if there is an error present in the tree for known valid code). We should inspect...

validation

While looking at an example related to #19, I also came across this new bug: Sample code: `$c =& $a + $b` Expected: `($c =& $a) + $b` Actual: `$c...

bug
grammar