Copied!
CloneableInstantiable
Methods
public PhpParser\Lexer\TokenEmulator\KeywordEmulator::emulate(string $code, array $tokens) : array
public getKeywordString() : string
public getKeywordToken() : int
public getPhpVersion() : PhpParser\PhpVersion
public PhpParser\Lexer\TokenEmulator\KeywordEmulator::isEmulationNeeded(string $code) : bool
public PhpParser\Lexer\TokenEmulator\TokenEmulator::preprocessCode(string $code, array $patches) : string
 
  • param array{: int, : string, : string}[] $patches
public reverseEmulate(string $code, array $tokens) : array
Methods
protected PhpParser\Lexer\TokenEmulator\KeywordEmulator::isKeywordContext(array $tokens, int $pos) : bool
 
  • param \Token[] $tokens
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration