public function getType() { return strtr(substr(rtrim(get_class($this), '_'), strlen(__CLASS__) + 1), '\\', '_'); }
private function dumpOp(Op $op) { $result = $op->getType(); foreach ($op->getVariableNames() as $varName) { $result .= "\n {$varName}: "; $result .= $this->indent($this->dumpOperand($op->{$varName})); } foreach ($op->getSubBlocks() as $subBlock) { $result .= "\n {$subBlock}: " . $this->indent($this->dumpBlockRef($op->{$subBlock})); } return $result; }