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