Copied!

Reverses emulation direction of the inner emulator.

CloneableFinalInstantiable
Methods
public __construct(PhpParser\Lexer\TokenEmulator\TokenEmulator $emulator)
public emulate(string $code, array $tokens) : array
public getPhpVersion() : PhpParser\PhpVersion
public isEmulationNeeded(string $code) : bool
public preprocessCode(string $code, array $patches) : string
public reverseEmulate(string $code, array $tokens) : array
Properties
private PhpParser\Lexer\TokenEmulator\TokenEmulator $emulator
 
  • var \TokenEmulator Inner emulator
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration