public function addMacro($name, IMacro $macro) { $this->getCompiler()->addMacro($name, $macro); return $this; }