Copied!
Abstract
Methods
public emulate ( string $code , array $tokens ) : array
public abstract getKeywordString () : string
public abstract getKeywordToken () : int
public abstract PhpParser\Lexer\TokenEmulator\TokenEmulator :: getPhpVersion () : string
public isEmulationNeeded ( string $code ) : bool
public PhpParser\Lexer\TokenEmulator\TokenEmulator :: preprocessCode ( string $code , array $patches ) : string
public reverseEmulate ( string $code , array $tokens ) : array
Methods
protected isKeywordContext ( array $tokens , int $pos ) : bool
Methods
private getPreviousNonSpaceToken ( array $tokens , int $start )
 
  • param array $tokens
  • return array | null
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration