function TokenEmulator::reverseEmulate
Parameters
Token[] $tokens Original tokens:
Return value
Token[] Modified Tokens
6 methods override TokenEmulator::reverseEmulate()
- AsymmetricVisibilityTokenEmulator::reverseEmulate in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ AsymmetricVisibilityTokenEmulator.php - AttributeEmulator::reverseEmulate in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ AttributeEmulator.php - ExplicitOctalEmulator::reverseEmulate in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ ExplicitOctalEmulator.php - KeywordEmulator::reverseEmulate in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ KeywordEmulator.php - NullsafeTokenEmulator::reverseEmulate in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ NullsafeTokenEmulator.php
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ TokenEmulator.php, line 24
Class
- TokenEmulator
- @internal
Namespace
PhpParser\Lexer\TokenEmulatorCode
public abstract function reverseEmulate(string $code, array $tokens) : array;