History log of /PHP-Parser/lib/PhpParser/NodeTraverser.php (Results 26 – 41 of 41)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ec535ea1 13-Aug-2017 TomasVotruba

[cs] use PHP 5.4 short array, since PHP 7.0 is min version


Revision tags: v3.1.0, v3.0.6
# a32e3797 28-Apr-2017 Nikita Popov

Generate PHP 7 type annotations


Revision tags: v3.0.5, v3.0.4, v3.0.3
# 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.


# 58e7881e 29-Jan-2017 Nikita Popov

Implement NodeTraverser::STOP_TRAVERSAL

Conflicts:
lib/PhpParser/NodeVisitor.php


# bfea338d 25-Jan-2017 Nikita Popov

Update doc comments after previous comment

Make some of the type annotations more accurate, and complete the
generated doc-comments to be complete (with description and
parameter ann

Update doc comments after previous comment

Make some of the type annotations more accurate, and complete the
generated doc-comments to be complete (with description and
parameter annotations.)

show more ...


# e3b87f40 24-Jan-2017 Matthew Brown

Add non-void return types


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2
# 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 ...


# 5e5cb86e 08-Oct-2016 Nikita Popov

Remove support for node cloning in traverser


Revision tags: v3.0.0beta1, v2.1.1, v3.0.0alpha1, v2.1.0
# eb4bfe13 27-Mar-2016 Nikita Popov

Add sanity check for leaveNode() return value


Revision tags: v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0
# feb82eed 14-Jul-2015 Nikita Popov

Disable cloning in traverser by default


Revision tags: v1.3.0, v1.2.2, v1.2.1, v1.2.0
# 729c7bde 21-Mar-2015 Matthieu Napoli

#184 Add a flag to NodeTraverser to avoid cloning nodes


Revision tags: v1.1.0
# 4071c464 11-Jan-2015 Nikita Popov

Add NodeTraverser::DONT_TRAVERSE_CHILDREN support


Revision tags: v1.0.2, v1.0.1, v1.0.0, v1.0.0beta2, v0.9.5, v1.0.0beta1
# f82862ec 06-Feb-2014 nikic

Port library to use namespaces, with BC for old names


12