Abstract
ChildrenPhpParser\Lexer\TokenEmulator\FnTokenEmulator
PhpParser\Lexer\TokenEmulator\MatchTokenEmulator
ImplementsPhpParser\Lexer\TokenEmulator\TokenEmulatorInterface
Methods
public emulate(string $code, array $tokens) : array
public abstract getKeywordString() : string
public abstract getKeywordToken() : int
public abstract PhpParser\Lexer\TokenEmulator\TokenEmulatorInterface::getPhpVersion() : string
public isEmulationNeeded(string $code) : bool
public reverseEmulate(string $code, array $tokens) : array
Methods
private getPreviousNonSpaceToken(array $tokens, int $start)
 
  • return array|null
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only