Copied!
CloneableFinalInstantiable
Methods
public emulate(string $code, array $tokens) : array
public getPhpVersion() : PhpParser\PhpVersion
public 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 isKeywordContext(array $tokens, int $pos) : bool
 
  • param \Token[] $tokens
Methods
private getPreviousNonSpaceToken(array $tokens, int $start) : ?PhpParser\Token
 
  • param \Token[] $tokens
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration