Cloneable
Instantiable
Constants |
public
PhpParser |
public
PhpParser |
public
PhpParser |
public
PhpParser |
Methods |
public
__construct
(
array
$options
=
[
]
)
|
public
startLexing
(
string
$code
,
?
PhpParser |
Properties |
Methods |
Properties |
private
$emulators
|
private
$patches
|
private
$targetPhpVersion
|
Methods |
private
fixupErrors
(
array
$errors
) Fixup line and position information in errors.
|
private fixupTokens () |
private isForwardEmulationNeeded ( string $emulatorPhpVersion ) : bool |
private isReverseEmulationNeeded ( string $emulatorPhpVersion ) : bool |
private sortPatches () |