Abstract
Methods |
public emulate(string $code, array $tokens) : array |
public abstract getKeywordString() : string |
public abstract getKeywordToken() : int |
public isEmulationNeeded(string $code) : bool |
public reverseEmulate(string $code, array $tokens) : array |
Methods |
protected isKeywordContext(array $tokens, int $pos) : bool
|
Methods |
private getPreviousNonSpaceToken(array $tokens, int $start) : ?PhpParser
|