Lines Matching refs:rewriter
16 private $rewriter; variable in action_plugin_qna
56 $this->rewriter = new qna_instruction_rewriter();
85 $this->rewriter->insertBlockCall($i, 'close_block', 2);
105 $this->rewriter->appendBlockCall('close_block', 2);
108 $this->rewriter->apply($event->data->calls);
118 $this->rewriter->insertBlockCall($index, 'close_block', 2);
121 $this->rewriter->insertBlockCall($index, 'open_block');
122 $this->rewriter->setQuestionLevel($index, $this->headerLevel + 1);
129 $this->rewriter->delete($index);
134 $this->rewriter->insertBlockCall($index, 'close_block');
143 $this->rewriter->delete($index);
148 $this->rewriter->insertBlockCall($index, 'close_block');
170 $this->rewriter->insertHeaderCall($this->headerIndex, $data);
171 $this->rewriter->insertHeaderCall($this->headerIndex + 1, 'close');
174 $this->rewriter->delete($index);