PHP 클래스 PHPCfg\Printer

파일 보기 프로젝트 열기: ircmaxell/php-cfg 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
printFunc ( Func $func )
printScript ( Script $script )

보호된 메소드들

메소드 설명
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 ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

enqueueBlock() 보호된 메소드

protected enqueueBlock ( Block $block )
$block Block

getBlockId() 보호된 메소드

protected getBlockId ( Block $block )
$block Block

getVarId() 보호된 메소드

protected getVarId ( Operand $var )
$var Operand

indent() 보호된 메소드

protected indent ( $str, $levels = 1 )

printFunc() 추상적인 공개 메소드

abstract public printFunc ( Func $func )
$func Func

printScript() 추상적인 공개 메소드

abstract public printScript ( Script $script )
$script Script

render() 보호된 메소드

protected render ( Func $func )
$func Func

renderAssertion() 보호된 메소드

protected renderAssertion ( Assertion $assert )
$assert Assertion

renderOp() 보호된 메소드

protected renderOp ( Op $op )
$op Op

renderOperand() 보호된 메소드

protected renderOperand ( Operand $var )
$var Operand

reset() 보호된 메소드

protected reset ( )