History log of /PHP-Parser/ (Results 876 – 900 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9f5ec5a609-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


df98b04109-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 ...

a8eb2fc608-Feb-2017 Nikita Popov

Support recovery from invalid trailing commas

d18ccfee08-Feb-2017 Nikita Popov

Use p() in pPrec() for easier extensibility

f8a2f6e708-Feb-2017 Nikita Popov

Merge branch '3.x'


4e55897008-Feb-2017 Jennifer Hodgdon

Change one function to protected

41facc0208-Feb-2017 Jesse Schalken

Fix typo with-posititions => with-positions

865bfb2a05-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 ...


62877b5d05-Feb-2017 Nikita Popov

Recover from missing semicolons on statements

f4ea027005-Feb-2017 Nikita Popov

Mark version 2.x as unsupported

No commits to this branch for five months, mark as unsupported.

8f623fb205-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 ...

3bbf8d8f04-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 ...

90b6d7cb04-Feb-2017 Nikita Popov

Remove XML serializer

7fa5495d03-Feb-2017 Nikita Popov

Merge branch '3.x'


5b8182cc03-Feb-2017 Nikita Popov

Release PHP-Parser 3.0.3

af8b17bd03-Feb-2017 Nikita Popov

Update changelog

42f046ec03-Feb-2017 Nikita Popov

Deprecate XML serializer

987c61e903-Feb-2017 Nikita Popov

Drop support for false return value in NodeTraverser

2b72bae303-Feb-2017 Nikita Popov

Throw if NodeVisitor returns invalid value

2b6804aa03-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.

d9911c8d03-Feb-2017 Nikita Popov

Merge branch '3.x'

Conflicts:
lib/PhpParser/Node/Expr/ClassConstFetch.php
test/PhpParser/PrettyPrinterTest.php


d287c16703-Feb-2017 Nikita Popov

Pretty print: Handle Error in ClassConstFetch

79afd56529-Jan-2017 Nikita Popov

Add NodeFinder class

To simplify basic node finding operations.

5cc2750e29-Jan-2017 Nikita Popov

Merge branch '3.x'

Conflicts:
lib/PhpParser/NodeVisitor.php


58e7881e29-Jan-2017 Nikita Popov

Implement NodeTraverser::STOP_TRAVERSAL

Conflicts:
lib/PhpParser/NodeVisitor.php

1...<<31323334353637383940>>...68