PHP Class PhpMigration\Changes\v7dot0\ParseDifference

See also: http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.variable-handling.indirect
See also: http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.yield
Inheritance: extends PhpMigration\Changes\AbstractChange
Show file Open project: monque/php-migration

Protected Properties

Property Type Description
$lines
$parser5
$plain5
$plain7
$version

Public Methods

Method Description
__construct ( )
afterTraverse ( array $nodes )
beforeTraverse ( array $nodes )
enterNode ( $node )

Protected Methods

Method Description
ast2plain ( $entry, array &$records ) a mini node traverser convert AST to plain list
normalizeNodeList ( array &$nodes ) Normalize node name and convert NameResolver's FullyQualified node

Method Details

__construct() public method

public __construct ( )

afterTraverse() public method

public afterTraverse ( array $nodes )
$nodes array

ast2plain() protected method

a mini node traverser convert AST to plain list
protected ast2plain ( $entry, array &$records )
$records array

beforeTraverse() public method

public beforeTraverse ( array $nodes )
$nodes array

enterNode() public method

public enterNode ( $node )

normalizeNodeList() protected method

Normalize node name and convert NameResolver's FullyQualified node
protected normalizeNodeList ( array &$nodes )
$nodes array

Property Details

$lines protected property

protected $lines

$parser5 protected property

protected $parser5

$plain5 protected property

protected $plain5

$plain7 protected property

protected $plain7

$version protected static property

protected static $version