PHP Class PHPCfg\Visitor\Simplifier

Inheritance: implements PHPCfg\Visitor
Afficher le fichier Open project: ircmaxell/php-cfg

Protected Properties

Свойство Type Description
$recursionProtection SplObjectStorage
$removed SplObjectStorage
$trivialPhiCandidates SplObjectStorage

Méthodes publiques

Méthode Description
enterFunc ( Func $func )
enterOp ( Op $op, Block $block )
leaveFunc ( Func $func )

Private Methods

Méthode Description
removeTrivialPhi ( Block $block )
replaceOpVariable ( Operand $from, Operand $to, Op $op )
replaceVariables ( Operand $from, Operand $to, Block $block )
tryRemoveTrivialPhi ( Phi $phi, Block $block )

Method Details

enterFunc() public méthode

public enterFunc ( Func $func )
$func PHPCfg\Func

enterOp() public méthode

public enterOp ( Op $op, Block $block )
$op PHPCfg\Op
$block PHPCfg\Block

leaveFunc() public méthode

public leaveFunc ( Func $func )
$func PHPCfg\Func

Property Details

$recursionProtection protected_oe property

protected SplObjectStorage $recursionProtection
Résultat SplObjectStorage

$removed protected_oe property

protected SplObjectStorage $removed
Résultat SplObjectStorage

$trivialPhiCandidates protected_oe property

protected SplObjectStorage $trivialPhiCandidates
Résultat SplObjectStorage