php-parser/lib/PhpParser/Lexer/TokenEmulator
Nikita Popov f66a32e2df Emulate PHP 8 attribute syntax
Perform emulation by replacing #[ with %[, then patching % back
to # and coalescing #[ into T_ATTRIBUTE if it is a freestanding
token.
2020-09-06 17:42:38 +02:00
..
AttributeEmulator.php Emulate PHP 8 attribute syntax 2020-09-06 17:42:38 +02:00
CoaleseEqualTokenEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00
FlexibleDocStringEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00
FnTokenEmulator.php Add reverse emulation support 2020-08-01 22:34:36 +02:00
KeywordEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00
MatchTokenEmulator.php Add reverse emulation support 2020-08-01 22:34:36 +02:00
NullsafeTokenEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00
NumericLiteralSeparatorEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00
ReverseEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00
TokenEmulator.php Handle flexible heredoc via TokenEmulator 2020-09-06 17:05:23 +02:00