Reverses emulation direction of the inner emulator.

CloneableFinalInstantiable
ExtendsPhpParser\Lexer\TokenEmulator\TokenEmulator
Methods
public __construct(PhpParser\Lexer\TokenEmulator\TokenEmulator $emulator)
public emulate(string $code, array $tokens) : array
public getPhpVersion() : string
public isEmulationNeeded(string $code) : bool
public preprocessCode(string $code, array $patches) : string
public reverseEmulate(string $code, array $tokens) : array
Properties
private $emulator
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only