History log of /PHP-Parser/lib/PhpParser/Node/Stmt/Class_.php (Results 26 – 41 of 41)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 901b895c 19-Apr-2017 Nikita Popov

Fix spelling of VISIBILITY_MODIFIER_MASK


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


# 0c9c8d58 19-Jan-2017 Nikita Popov

Drop deprecated $type subnodes

These have been replaced by $flags in 3.0


Revision tags: v3.0.2, v3.0.1, v3.0.0
# bcdfb703 23-Nov-2016 Nikita Popov

Cleanup imports

Thanks PhpStorm :)


Revision tags: v3.0.0beta2
# caa5c0cc 08-Oct-2016 Nikita Popov

Graceful handling for "special" errors

Nearly all special errors are now handled gracefully, i.e. the
parser will be able to continue after encountering them. In some
cases the assoc

Graceful handling for "special" errors

Nearly all special errors are now handled gracefully, i.e. the
parser will be able to continue after encountering them. In some
cases the associated error range has been improved using the new
end attribute stack.

To achieve this the error handling code has been moved out of the
node constructors and into special methods in the parser.

show more ...


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

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.


Revision tags: v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0
# 29b9015f 02-May-2015 Nikita Popov

Drop support for old Node format


Revision tags: v1.3.0
# 55b2ead9 26-Apr-2015 Nikita Popov

Make special class name checks case insensitive


# e1a0ec37 26-Apr-2015 Nikita Popov

Add support for anonymous classes

Has not landed upstream yet, but syntax is unlikely to change.


# 62f83a0d 18-Apr-2015 Nikita Popov

Add column info for non-syntax errors where relatively precise

Should it also be added if only rough information is available? E.g.
spanning an entire class?


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


# 1366e833 31-Jan-2015 Tom Rochette

Move getMethods() to new ClassLike node

Class_, Interface_ and Trait_ extend the ClassLike node, which
provides the getMethods() method.


Revision tags: v1.1.0
# 0f69f12b 13-Nov-2014 nikic

Use "public" visibility when not explicitly given

Fixes issue #143


Revision tags: v1.0.2, v1.0.1
# 3d40e221 30-Sep-2014 nikic

Annotate some APIs as @internal


Revision tags: v1.0.0, v1.0.0beta2, v0.9.5
# c341ab2e 02-Apr-2014 Nikita Popov

Make autoloader for new names PSR-0 compliant


12