Beispiel #1
0
 /**
  * Do the compilation pass
  *
  * @param StatementsBlock $block
  */
 public function pass(StatementsBlock $block)
 {
     $this->passStatementBlock($block->getStatements());
 }
Beispiel #2
0
 /**
  * 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;
 }