コード例 #1
0
ファイル: CallGathererPass.php プロジェクト: noikiy/public
 /**
  * Do the compilation pass
  *
  * @param StatementsBlock $block
  */
 public function pass(StatementsBlock $block)
 {
     $this->passStatementBlock($block->getStatements());
 }
コード例 #2
0
ファイル: SkipVariantInit.php プロジェクト: zhao5908/zephir
 /**
  * Do the compilation pass
  *
  * @param int $branchNumber
  * @param StatementsBlock $block
  */
 public function pass($branchNumber, StatementsBlock $block)
 {
     $this->passStatementBlock($branchNumber, $block->getStatements());
     $this->branches[$branchNumber] = 0;
 }