9f5ec5a6 | 09-Feb-2017 |
Nikita Popov |
Merge branch '3.x' Conflicts: lib/PhpParser/Parser/Php5.php lib/PhpParser/Parser/Php7.php test/code/parser/stmt/class/name.test
|
df98b041 | 09-Feb-2017 |
Nikita Popov |
Handle "extends static" etc more gracefully Use class_name production and emit the same error as for "extends self" and "extends parent". It's weird that "extends static" gives a dif
Handle "extends static" etc more gracefully Use class_name production and emit the same error as for "extends self" and "extends parent". It's weird that "extends static" gives a different result than those two.
show more ...
|
a8eb2fc6 | 08-Feb-2017 |
Nikita Popov |
Support recovery from invalid trailing commas |
d18ccfee | 08-Feb-2017 |
Nikita Popov |
Use p() in pPrec() for easier extensibility |
f8a2f6e7 | 08-Feb-2017 |
Nikita Popov |
Merge branch '3.x'
|
4e558970 | 08-Feb-2017 |
Jennifer Hodgdon |
Change one function to protected |
41facc02 | 08-Feb-2017 |
Jesse Schalken |
Fix typo with-posititions => with-positions |
865bfb2a | 05-Feb-2017 |
Nikita Popov |
Merge branch '3.x' Conflicts: grammar/php7.y lib/PhpParser/Parser/Php7.php test/code/parser/expr/uvs/globalNonSimpleVarError.test test/code/pa
Merge branch '3.x' Conflicts: grammar/php7.y lib/PhpParser/Parser/Php7.php test/code/parser/expr/uvs/globalNonSimpleVarError.test test/code/parser/stmt/namespace/groupUseErrors.test
show more ...
|
62877b5d | 05-Feb-2017 |
Nikita Popov |
Recover from missing semicolons on statements |
f4ea0270 | 05-Feb-2017 |
Nikita Popov |
Mark version 2.x as unsupported No commits to this branch for five months, mark as unsupported. |
8f623fb2 | 05-Feb-2017 |
Nikita Popov |
Use closures instead of methods for semantic actions The dispatch using $this->{'reduceRule' . $rule}() is very expensive because it involves * One allocation when converting $rule
Use closures instead of methods for semantic actions The dispatch using $this->{'reduceRule' . $rule}() is very expensive because it involves * One allocation when converting $rule to a string * Another allocation when concatenating the two strings * Lowercasing during the method call * Various uncached method checks, e.g. visibility. Using an array of closures for semantic action dispatch is significantly more efficient.
show more ...
|
3bbf8d8f | 04-Feb-2017 |
Nikita Popov |
Use local var for $stackPos We're accessing $this->stackPos a lot, and property accesses are much more expensive than local variable acesses. Its cheaper to use a local var and pass
Use local var for $stackPos We're accessing $this->stackPos a lot, and property accesses are much more expensive than local variable acesses. Its cheaper to use a local var and pass it as an argument to semantic actions.
show more ...
|
90b6d7cb | 04-Feb-2017 |
Nikita Popov |
Remove XML serializer |
7fa5495d | 03-Feb-2017 |
Nikita Popov |
Merge branch '3.x'
|
5b8182cc | 03-Feb-2017 |
Nikita Popov |
Release PHP-Parser 3.0.3 |
af8b17bd | 03-Feb-2017 |
Nikita Popov |
Update changelog |
42f046ec | 03-Feb-2017 |
Nikita Popov |
Deprecate XML serializer |
987c61e9 | 03-Feb-2017 |
Nikita Popov |
Drop support for false return value in NodeTraverser |
2b72bae3 | 03-Feb-2017 |
Nikita Popov |
Throw if NodeVisitor returns invalid value |
2b6804aa | 03-Feb-2017 |
Nikita Popov |
Throw on nested array in NodeTraverser The AST never uses deeply nested arrays, so don't support this in the node traverser. Throw an exception instead. |
d9911c8d | 03-Feb-2017 |
Nikita Popov |
Merge branch '3.x' Conflicts: lib/PhpParser/Node/Expr/ClassConstFetch.php test/PhpParser/PrettyPrinterTest.php
|
d287c167 | 03-Feb-2017 |
Nikita Popov |
Pretty print: Handle Error in ClassConstFetch |
79afd565 | 29-Jan-2017 |
Nikita Popov |
Add NodeFinder class To simplify basic node finding operations. |
5cc2750e | 29-Jan-2017 |
Nikita Popov |
Merge branch '3.x' Conflicts: lib/PhpParser/NodeVisitor.php
|
58e7881e | 29-Jan-2017 |
Nikita Popov |
Implement NodeTraverser::STOP_TRAVERSAL Conflicts: lib/PhpParser/NodeVisitor.php |