Lines Matching refs:this

50 		$this->prepare();
58 $this->prepareMarkers($text);
60 $absy = $this->parseBlocks(explode("\n", $text));
61 $markup = $this->renderAbsy($absy);
63 $this->cleanup();
75 $this->prepare();
83 $this->prepareMarkers($text);
85 $absy = $this->parseInline($text);
86 $markup = $this->renderAbsy($absy);
88 $this->cleanup();
118 if ($this->_blockTypes === null) {
120 $reflection = new \ReflectionClass($this);
121 $this->_blockTypes = array_filter(array_map(function($method) {
126 sort($this->_blockTypes);
128 return $this->_blockTypes;
141 $blockTypes = $this->blockTypes();
143 if ($this->{'identify' . $blockType}($line, $lines, $current)) {
157 if ($this->_depth >= $this->maximumNestingLevel) {
161 $this->_depth++;
170 list($block, $i) = $this->parseBlock($lines, $i);
177 $this->_depth--;
192 $blockType = $this->detectLineType($lines, $current);
195 return $this->{'consume' . $blockType}($lines, $current);
202 array_unshift($this->context, $block[0]);
203 $output .= $this->{'render' . $block[0]}($block);
204 array_shift($this->context);
229 'content' => $this->parseInline(implode("\n", $content)),
242 return '<p>' . $this->renderAbsy($block['content']) . "</p>\n";
274 $reflection = new \ReflectionClass($this);
296 $this->_inlineMarkers = [];
297 foreach ($this->inlineMarkers() as $marker => $method) {
301 if (isset($this->_inlineMarkers[$m])) {
302 reset($this->_inlineMarkers[$m]);
303 if (strlen($marker) > strlen(key($this->_inlineMarkers[$m]))) {
304 $this->_inlineMarkers[$m] = array_merge([$marker => $method], $this->_inlineMarkers[$m]);
308 $this->_inlineMarkers[$m][$marker] = $method;
321 if ($this->_depth >= $this->maximumNestingLevel) {
325 $this->_depth++;
327 $markers = implode('', array_keys($this->_inlineMarkers));
342 foreach ($this->_inlineMarkers[$text[0]] as $marker => $method) {
345 array_unshift($this->context, $method);
346 list($output, $offset) = $this->$method($text);
347 array_shift($this->context);
363 $this->_depth--;
374 if (isset($text[1]) && in_array($text[1], $this->escapeCharacters)) {