History log of /PHP-Parser/ (Results 976 – 1000 of 1692)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0d0accfa21-Oct-2016 Nikita Popov

Add setDocComment() to Node interface

Previously it was only part of NodeAbstract.

623bad2c09-Oct-2016 Matthew Brown

Type encapsulated string parts specifically

f66cf8f021-Oct-2016 Matthew Brown

$name can be null for PHP 7 anonymous classes

4e25f51516-Oct-2016 Nikita Popov

Fix php-parse script

a46b309916-Oct-2016 Nikita Popov

Move constants into NodeTraverser class

Not that the interface makes much sense anyway, but these are
implementation details of a specific traverser.

f99a96e009-Oct-2016 Nikita Popov

Introduce ErrorHandler

Add ErrorHandler interface, as well as ErrorHandler\Throwing
and ErrorHandler\Collecting. The error handler is passed to
Parser::parse(). This supersedes the t

Introduce ErrorHandler

Add ErrorHandler interface, as well as ErrorHandler\Throwing
and ErrorHandler\Collecting. The error handler is passed to
Parser::parse(). This supersedes the throwOnError option.

NameResolver now accepts an ErrorHandler in the ctor.

show more ...

90834bff11-Oct-2016 Nikita Popov

Add namespacedName attribute on runtime-resolved names

The NameResolver now adds a namespacedName attribute on function/
const names which cannot be statically resolved.

a910f6a209-Oct-2016 Nikita Popov

Remove $separator arg from Name::toString()

caa5c0cc08-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 ...

5e5cb86e08-Oct-2016 Nikita Popov

Remove support for node cloning in traverser

2be7838f08-Oct-2016 Nikita Popov

Correctly assign attrs for encaps vars

f6eb341b08-Oct-2016 Nikita Popov

Fix GroupUse prefix attribute assignment

b2fe43cf30-Sep-2016 Nikita Popov

Next try...

648a246b30-Sep-2016 Nikita Popov

Next try to fix HHVM build

2e5ae28c30-Sep-2016 Nikita Popov

Don't use deprecated getMock()

5025d75130-Sep-2016 Nikita Popov

Try to fix HHVM build

c79ea6d130-Sep-2016 Nikita Popov

Support recovery from lexer errors

Lexer::startLexing() no longer throws, instead errors can be fetched
using Lexer::getErrors().

Lexer errors now also contain full line and pos

Support recovery from lexer errors

Lexer::startLexing() no longer throws, instead errors can be fetched
using Lexer::getErrors().

Lexer errors now also contain full line and position information.

show more ...

e926efd630-Sep-2016 Nikita Popov

Fix regex

17d1e73830-Sep-2016 Nikita Popov

Don't use ~__EMU sequences in emulative lexer

These were necessary back in the day when we had to emulate some
complex functionality such as nowdoc strings. Now we can simply
directl

Don't use ~__EMU sequences in emulative lexer

These were necessary back in the day when we had to emulate some
complex functionality such as nowdoc strings. Now we can simply
directly translate certain token sequences.

The motivation for this change is to avoid preprocessing of the source
code, which would complicate offset-aware error handling inside the
lexer as offsets would no longer be correct.

show more ...

9e5d3bbe30-Sep-2016 Nikita Popov

Remove Error::(get|set)RawLine()

These have been superseded by Error::(get|set)StartLine().

f3c7dc9d30-Sep-2016 Nikita Popov

Add Error::getMessageWithColumnInfo()

c5e0c3d730-Sep-2016 Nikita Popov

Catch lexer errors in throwOnError=0 mode

ea47b6e017-Sep-2016 Nikita Popov

Add NodeAbstract::setDocComment()

9e1c535b16-Sep-2016 Nikita Popov

Update builder tests to use "flags" instead of "type"

cfd207ca16-Sep-2016 Graham Campbell

Use phpunit 5 if we can rather than 4 (#301)

1...<<31323334353637383940>>...68