abstract | |
---|---|
extends |
TokenEmulator |
Methods | ||
---|---|---|
abstract
public
|
getKeywordString(): string
|
# |
abstract
public
|
getKeywordToken(): int
|
# |
public
|
isEmulationNeeded(string $code): bool
|
# |
protected
|
isKeywordContext(Token[] $tokens, int $pos): bool
|
# |
public
|
emulate(string $code, array $tokens): array
|
# |
public
|
reverseEmulate(string $code, array $tokens): array
|
# |
Methods inherited from PhpParser\Lexer\TokenEmulator\TokenEmulator |
---|
getPhpVersion(), preprocessCode() |