History log of /PHP-Parser/lib/PhpParser/Node/Name.php (Results 26 – 43 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 05e6725b 13-Aug-2017 TomasVotruba

[cs] use strict comparison where allowed


# ec535ea1 13-Aug-2017 TomasVotruba

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


Revision tags: v3.1.0
# 6fa07387 19-Jul-2017 Nikita Popov

Remove deprecation of Name::$parts

It doesn't look like this is going away for now, and we currently
don't have the APIs to cover all existing usages elegantly.


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

Generate PHP 7 type annotations


# 56b810e9 28-Apr-2017 Nikita Popov

Add getShortName() API

PHP's name resolution rules are f'ing complicated.


Revision tags: v3.0.5, v3.0.4, v3.0.3
# 329e90c2 02-Feb-2017 Matthew Brown

Improve doc comments


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2
# c0f0edf0 22-Oct-2016 Nikita Popov

Mark Name::$parts as deprecated


# fa7357b4 22-Oct-2016 Nikita Popov

Represent empty Name::slice() using null

Instead of a Name([]) dummy value, that is invalid in other
contexts.


# 91cb82d3 22-Oct-2016 Nikita Popov

Explicitly support Name copy construction

It already worked beforehand by accident ... make clear it's
actually supported.


# 7672b974 21-Oct-2016 Nikita Popov

Remove Name::append() and Name::prepend()


# a910f6a2 09-Oct-2016 Nikita Popov

Remove $separator arg from Name::toString()


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

Remove deprecated Name::set*() methods


# c9fea2ef 25-Jul-2016 Nikita Popov

Extend Name::slice() to support negative length+offset


Revision tags: v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0
# 0265c28e 12-Jul-2015 Nikita Popov

Switch NameResolver resolve methods to be immutable

To make it theoretically possible to expose this as API.

Add slice() method to Name to allow this. Deprecate existing mutable

Switch NameResolver resolve methods to be immutable

To make it theoretically possible to expose this as API.

Add slice() method to Name to allow this. Deprecate existing mutable
Name APIs.

show more ...


# 9620f79c 12-Jun-2015 Nikita Popov

Add partial group use support

Supported via Stmt\GroupUse which has Name $prefix in addition to
the usual.

Still missing: Mixed group uses.


# 29b9015f 02-May-2015 Nikita Popov

Drop support for old Node format


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


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