History log of /PHP-Parser/lib/PhpParser/NodeVisitor.php (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# afe1628a 21-May-2023 Nikita Popov

Add support for NodeVisitor::REPLACE_WITH_NULL

Fixes #716.


# 93731c5c 20-May-2023 Nikita Popov

Move constants from NodeTraverser to NodeVisitor

These are really part of the NodeVisitor API. Retain aliases for
compatibility.


# f59f226f 11-Sep-2022 Nikita Popov

Fix some phpstan warnings


# a3b0541c 03-Sep-2022 Nikita Popov

Support array return from enterNode()

This uses the same semantics as arrays from leaveNode(), i.e. the
returned nodes will not be visited by other visitors. This is open
to change t

Support array return from enterNode()

This uses the same semantics as arrays from leaveNode(), i.e. the
returned nodes will not be visited by other visitors. This is open
to change though (but probably should change for both enterNode()
and leaveNode() if it does change?)

show more ...


# c42290ae 03-Sep-2022 Nikita Popov

Support REMOVE_NODE from enterNode()


# dd63ddbc 28-Aug-2022 Nikita Popov

Add php-cs-fixer config and reformat

The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired st

Add php-cs-fixer config and reformat

The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired style, which is PSR-12, but with sane brace placement.

show more ...


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4
# 68d07c46 10-Jan-2018 Gabriel Caruso

[CS] New line in the end of file


Revision tags: v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1
# e2e99f26 18-Aug-2017 TomasVotruba

Add strict_types to lib code


Revision tags: v3.1.0, v3.0.6, v3.0.5, v3.0.4, v3.0.3
# 987c61e9 03-Feb-2017 Nikita Popov

Drop support for false return value in NodeTraverser


# 58e7881e 29-Jan-2017 Nikita Popov

Implement NodeTraverser::STOP_TRAVERSAL

Conflicts:
lib/PhpParser/NodeVisitor.php


# 70f86cb6 25-Jan-2017 Nikita Popov

Update NodeVisitor doc comments


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1, v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0, v1.3.0, v1.2.2, v1.2.1, v1.2.0, v1.1.0, 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