PHP Class PHPCompiler\AbstractBackend

Inheritance: implements phpcompiler\Backend
Show file Open project: ircmaxell/php-compiler

Public Methods

Method Description
compile ( array $blocks )

Protected Methods

Method Description
compileClass ( Class_ $class )
compileFunction ( Function_ $func )
compileGlobal ( Block $block )
finish ( )
initState ( )

Method Details

compile() public method

public compile ( array $blocks )
$blocks array

compileClass() abstract protected method

abstract protected compileClass ( Class_ $class )
$class PHPCfg\Op\Stmt\Class_

compileFunction() abstract protected method

abstract protected compileFunction ( Function_ $func )
$func PHPCfg\Op\Stmt\Function_

compileGlobal() protected method

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

finish() abstract protected method

abstract protected finish ( )

initState() abstract protected method

abstract protected initState ( )