function append_ast(Haanga_AST $obj) { $this->end(); $obj->end(); $this->stack = array_merge($this->stack, $obj->stack); return $this; }