PHP Class PHPCfg\Visitor\DebugVisitor

Inheritance: implements PHPCfg\Visitor
显示文件 Open project: ircmaxell/php-cfg

Protected Properties

Property Type Description
$blocks SplObjectStorage

Public Methods

Method Description
enterBlock ( Block $block, Block $prior = null )
enterFunc ( Func $func )
enterOp ( Op $op, Block $block )
enterScript ( Script $script )
leaveBlock ( Block $block, Block $prior = null )
leaveFunc ( Func $func )
leaveOp ( Op $op, Block $block )
leaveScript ( Script $script )
skipBlock ( Block $block, Block $prior = null )

Protected Methods

Method Description
getBlockId ( Block $block )

Method Details

enterBlock() public method

public enterBlock ( Block $block, Block $prior = null )
$block PHPCfg\Block
$prior PHPCfg\Block

enterFunc() public method

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

enterOp() public method

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

enterScript() public method

public enterScript ( Script $script )
$script PHPCfg\Script

getBlockId() protected method

protected getBlockId ( Block $block )
$block PHPCfg\Block

leaveBlock() public method

public leaveBlock ( Block $block, Block $prior = null )
$block PHPCfg\Block
$prior PHPCfg\Block

leaveFunc() public method

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

leaveOp() public method

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

leaveScript() public method

public leaveScript ( Script $script )
$script PHPCfg\Script

skipBlock() public method

public skipBlock ( Block $block, Block $prior = null )
$block PHPCfg\Block
$prior PHPCfg\Block

Property Details

$blocks protected_oe property

protected SplObjectStorage $blocks
return SplObjectStorage