Nikita Popov
|
91cb82d3d2
|
Explicitly support Name copy construction
It already worked beforehand by accident ... make clear it's
actually supported.
|
2016-10-22 16:41:58 +02:00 |
|
Nikita Popov
|
7672b974ff
|
Remove Name::append() and Name::prepend()
|
2016-10-22 00:25:15 +02:00 |
|
Nikita Popov
|
a910f6a247
|
Remove $separator arg from Name::toString()
|
2016-10-09 12:45:15 +02:00 |
|
Nikita Popov
|
b740076ab1
|
Remove deprecated Name::set*() methods
|
2016-07-25 14:50:37 +02:00 |
|
Nikita Popov
|
c9fea2ef67
|
Extend Name::slice() to support negative length+offset
|
2016-07-25 14:47:24 +02:00 |
|
Nikita Popov
|
18129480ae
|
Rename $type subnode to $flags
Type makes it sound like a type-hint, and on a number of other nodes
$type is used for exactly that. Use $flags to hold modifiers instead.
|
2016-07-25 13:33:19 +02:00 |
|
Nikita Popov
|
5ea2a76d80
|
PHP 7.1: Class constant visibility support
|
2016-07-05 23:01:06 +02:00 |
|
Nikita Popov
|
0ef15c111a
|
Merge branch '1.x'
|
2015-07-14 17:08:28 +02:00 |
|
Nikita Popov
|
d341d94976
|
Add ClassLike::getMethod($name)
To allow getting individual method with a given name.
|
2015-07-14 17:07:45 +02:00 |
|
Nikita Popov
|
0265c28e6e
|
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.
|
2015-07-12 23:56:57 +02:00 |
|
Nikita Popov
|
1d62e9d8cc
|
Fix implicit visibility for properties as well
Also switch to using PPP mask.
|
2015-07-05 20:17:52 +02:00 |
|
Lisachenko Alexander
|
2a3bc608dc
|
Add broken test for implicit public nodes
|
2015-07-05 20:17:49 +02:00 |
|
Nikita Popov
|
7434a682e5
|
Fix implicit visibility for properties as well
Also switch to using PPP mask.
|
2015-07-05 20:16:21 +02:00 |
|
Lisachenko Alexander
|
5e6627c895
|
Add broken test for implicit public nodes
|
2015-07-05 20:10:47 +02:00 |
|
Nikita Popov
|
1a627872f0
|
Rename nodes for compat with PHP 7
The old names will still be available on PHP 5.x.
|
2015-03-20 21:49:38 +01:00 |
|
Tom Rochette
|
1366e833a1
|
Move getMethods() to new ClassLike node
Class_, Interface_ and Trait_ extend the ClassLike node, which
provides the getMethods() method.
|
2015-01-31 22:59:38 +01:00 |
|
nikic
|
0f69f12b94
|
Use "public" visibility when not explicitly given
Fixes issue #143
|
2014-11-13 20:21:21 +01:00 |
|
nikic
|
66fd29cb58
|
Use stricter assertions where possible
|
2014-09-30 20:38:09 +02:00 |
|
nikic
|
70077039b4
|
Add Scalar\MagicConst->getName()
Return magic constant name, e.g. __CLASS__.
Resolves #95.
|
2014-02-21 18:16:18 +01:00 |
|
nikic
|
f82862ec9c
|
Port library to use namespaces, with BC for old names
|
2014-02-06 20:29:35 +01:00 |
|