PHP Class PHPCfg\Printer

Afficher le fichier Open project: ircmaxell/php-cfg Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( )
printFunc ( Func $func )
printScript ( Script $script )

Méthodes protégées

Méthode Description
enqueueBlock ( Block $block )
getBlockId ( Block $block )
getVarId ( Operand $var )
indent ( $str, $levels = 1 )
render ( Func $func )
renderAssertion ( Assertion $assert )
renderOp ( Op $op )
renderOperand ( Operand $var )
reset ( )

Method Details

__construct() public méthode

public __construct ( )

enqueueBlock() protected méthode

protected enqueueBlock ( Block $block )
$block Block

getBlockId() protected méthode

protected getBlockId ( Block $block )
$block Block

getVarId() protected méthode

protected getVarId ( Operand $var )
$var Operand

indent() protected méthode

protected indent ( $str, $levels = 1 )

printFunc() abstract public méthode

abstract public printFunc ( Func $func )
$func Func

printScript() abstract public méthode

abstract public printScript ( Script $script )
$script Script

render() protected méthode

protected render ( Func $func )
$func Func

renderAssertion() protected méthode

protected renderAssertion ( Assertion $assert )
$assert Assertion

renderOp() protected méthode

protected renderOp ( Op $op )
$op Op

renderOperand() protected méthode

protected renderOperand ( Operand $var )
$var Operand

reset() protected méthode

protected reset ( )