final | |
---|---|
extends |
TokenEmulator |
Methods | ||
---|---|---|
public
|
getPhpVersion(): PhpVersion
|
# |
public
|
isEmulationNeeded(string $code): bool
|
# |
public
|
emulate(string $code, array $tokens): array
|
# |
public
|
reverseEmulate(string $code, array $tokens): array
|
# |
Methods inherited from PhpParser\Lexer\TokenEmulator\TokenEmulator |
---|
preprocessCode() |