PHP Class PHPCfg\Traverser

显示文件 Open project: ircmaxell/php-cfg Class Usage Examples

Public Methods

Method Description
addVisitor ( phpcfg\Visitor $visitor )
traverse ( Script $script )
traverseFunc ( Func $func )

Private Methods

Method Description
event ( $name, array $args )
traverseBlock ( Block $block, Block $prior = null )

Method Details

addVisitor() public method

public addVisitor ( phpcfg\Visitor $visitor )
$visitor phpcfg\Visitor

traverse() public method

public traverse ( Script $script )
$script Script

traverseFunc() public method

public traverseFunc ( Func $func )
$func Func