mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-02 17:38:19 +01:00
39b046007d
Only determine needed emulators based on PHP version once, and add an adaptor that allows treating forward and reverse emulation the same. Previously the isEmulationNeeded() check was too conservative, as it also considered emulators that are not relevant for the version. Though possibly that check should just be dropped altogether. |
||
---|---|---|
.. | ||
CoaleseEqualTokenEmulator.php | ||
FnTokenEmulator.php | ||
KeywordEmulator.php | ||
MatchTokenEmulator.php | ||
NullsafeTokenEmulator.php | ||
NumericLiteralSeparatorEmulator.php | ||
ReverseEmulator.php | ||
TokenEmulatorInterface.php |