final | |
---|---|
extends |
TokenEmulator |
Reverses emulation direction of the inner emulator.
Methods | ||
---|---|---|
public
|
__construct(TokenEmulator $emulator)
|
# |
public
|
getPhpVersion(): PhpVersion
|
# |
public
|
isEmulationNeeded(string $code): bool
|
# |
public
|
emulate(string $code, array $tokens): array
|
# |
public
|
reverseEmulate(string $code, array $tokens): array
|
# |
public
|
preprocessCode(string $code, array &$patches): string
|
# |