History log of /PHP-Parser/lib/PhpParser/Lexer/Emulative.php (Results 51 – 65 of 65)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e926efd6 30-Sep-2016 Nikita Popov

Fix regex


# 17d1e738 30-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 ...


Revision tags: v3.0.0beta1, v2.1.1, v3.0.0alpha1
# 038e11da 05-Jul-2016 Nikita Popov

Remove support for PHP 5.4


Revision tags: v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0
# bc21514e 13-Jun-2015 Nikita Popov

Move token constants into separate class

As these are shared between Php5 and Php7 parsers they should be
in some common place, otherwise we'd have to always reference either
one or

Move token constants into separate class

As these are shared between Php5 and Php7 parsers they should be
in some common place, otherwise we'd have to always reference either
one or the other.

show more ...


# e6619f55 02-May-2015 Nikita Popov

Drop 5.4 support from emulative lexer


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

Add support for "yield from"


Revision tags: v1.2.2, v1.2.1, v1.2.0
# 251e6892 12-Mar-2015 Nikita Popov

Add support for spaceship operator (<=>) [PHP 7]

Added as Expr\BinaryOp\Spaceship.


# 01f4be6b 12-Mar-2015 Nikita Popov

Add support for null coalesce operator (??) [PHP 7]

Added as Expr\BinaryOp\Coalesce.


Revision tags: v1.1.0
# 7c98ad6f 27-Nov-2014 nikic

Support file offsets in emulative lexer as well

Also run normal lexer tests against emulative lexer and fix a bug
in __halt_compiler() handling found as a result.


Revision tags: v1.0.2, v1.0.1, v1.0.0, v1.0.0beta2
# 616be1d0 31-Aug-2014 nikic

Use emulative lexer for < 5.6RC1

Earlier releases come with incorrect tokenizer data for T_POW and
T_POW_EQUAL.


Revision tags: v0.9.5, v1.0.0beta1
# b3332184 26-Mar-2014 nikic

Minor cleanups to emulative lexer

Be consistent about version numbers. We'll only emulate until
beta1 of a release, as that's the feature freeze release.


# 1cb6e140 26-Mar-2014 nikic

Fix ** emulation wrt comments


# cda6f575 26-Mar-2014 nikic

Add support for pow operator (PHP 5.6)


# 96f1151a 26-Mar-2014 nikic

Add support for variadic parameters (PHP 5.6)


# f82862ec 06-Feb-2014 nikic

Port library to use namespaces, with BC for old names


123