CloneableFinalInstantiable
ExtendsPhpParser\Lexer\TokenEmulator\TokenEmulator
PhpParser\Lexer\TokenEmulator\KeywordEmulator
Methods
public PhpParser\Lexer\TokenEmulator\KeywordEmulator::emulate(string $code, array $tokens) : array
public getKeywordString() : string
public getKeywordToken() : int
public getPhpVersion() : string
public PhpParser\Lexer\TokenEmulator\KeywordEmulator::isEmulationNeeded(string $code) : bool
public PhpParser\Lexer\TokenEmulator\TokenEmulator::preprocessCode(string $code, array $patches) : string
public PhpParser\Lexer\TokenEmulator\KeywordEmulator::reverseEmulate(string $code, array $tokens) : array
Methods
private PhpParser\Lexer\TokenEmulator\KeywordEmulator::getPreviousNonSpaceToken(array $tokens, int $start)
 
  • return array|null
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only