• internal
Abstract
ChildrenPhpParser\Lexer\TokenEmulator\AttributeEmulator
PhpParser\Lexer\TokenEmulator\CoaleseEqualTokenEmulator
PhpParser\Lexer\TokenEmulator\FlexibleDocStringEmulator
PhpParser\Lexer\TokenEmulator\KeywordEmulator
PhpParser\Lexer\TokenEmulator\NullsafeTokenEmulator
PhpParser\Lexer\TokenEmulator\NumericLiteralSeparatorEmulator
PhpParser\Lexer\TokenEmulator\ReverseEmulator
Methods
public abstract emulate(string $code, array $tokens) : array
 
  • return array Modified Tokens
public abstract getPhpVersion() : string
public abstract isEmulationNeeded(string $code) : bool
public preprocessCode(string $code, array $patches) : string
public abstract reverseEmulate(string $code, array $tokens) : array
 
  • return array Modified Tokens
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only