History log of /PHP-Parser/lib/PhpParser/NodeDumper.php (Results 26 – 33 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v3.0.2, v3.0.1, v3.0.0
# b02f8ac0 23-Nov-2016 Nikita Popov

Add support for dumping positions in NodeDumper


Revision tags: v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1
# 1dea9111 25-Jul-2016 Nikita Popov

NodeDumper: Resolve type for include/use as well


# 174e6c3c 25-Jul-2016 Nikita Popov

NodeDumper: Print modifiers as strings


Revision tags: v2.1.0
# a0c216bf 09-Mar-2016 Nikita Popov

Add dumpComments option to NodeDumper

Adding this as an option to avoid breaking people's tests.

Some of the test results show pretty clearly that we are incorrectly
assigning t

Add dumpComments option to NodeDumper

Adding this as an option to avoid breaking people's tests.

Some of the test results show pretty clearly that we are incorrectly
assigning the same comment multiple times for nested nodes (mentioned
in #36).

show more ...


Revision tags: 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
# a2d7e897 28-Feb-2015 Nikita Popov

Use real properties for storing subnodes

Instead of storing subnodes in a subNodes dictionary, they are
now stored as simple properties. This requires declarating the
properties, ass

Use real properties for storing subnodes

Instead of storing subnodes in a subNodes dictionary, they are
now stored as simple properties. This requires declarating the
properties, assigning them in the constructor, overriding
the getSubNodeNames() method and passing NULL to the first argument
of the NodeAbstract constructor.

[Deprecated: It's still possible to use the old mode of operation
for custom nodes by passing an array of subnodes to the constructor.]

The only behavior difference this should cause is that getSubNodeNames()
will always return the original subnode names and skip any additional
properties that were dynamically added. E.g. this means that the
"namespacedName" node added by the NameResolver visitor is not treated
as a subnode, but as a dynamic property instead.

This change improves performance and memory usage.

show more ...


# ce5c76d7 13-Feb-2015 Markus Staab

prevent a unnecessary concat

analog to https://github.com/nikic/PHP-Parser/commit/b7ffdbbb929f9f07780a236659d1d1baf68ef137


# b7ffdbbb 13-Feb-2015 Nikita Popov

Optimize node dumper

For very deeply nested node trees this extra concatenation makes a
huge difference...


Revision tags: 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


12