Lines Matching defs:state
115 * @param int $state a LEXER_STATE_* constant
119 public function addPluginCall($plugin, $args, $state, $pos, $match)
121 $call = ['plugin', [$plugin, $args, $state, $match], $pos];
247 * @param int $state a LEXER_STATE_* constant
251 protected function nestingTag($match, $state, $pos, $name)
253 switch ($state) {
285 * @param int $state a LEXER_STATE_* constant
292 public function plugin($match, $state, $pos, $pluginname)
298 $data = $plugin->handle($match, $state, $pos, $this);
301 $this->addPluginCall($pluginname, $data, $state, $pos, $match);
308 * @param int $state a LEXER_STATE_* constant
312 public function base($match, $state, $pos)
314 if ($state === DOKU_LEXER_UNMATCHED) {
323 * @param int $state a LEXER_STATE_* constant
327 public function header($match, $state, $pos)
347 * @param int $state a LEXER_STATE_* constant
351 public function notoc($match, $state, $pos)
359 * @param int $state a LEXER_STATE_* constant
363 public function nocache($match, $state, $pos)
371 * @param int $state a LEXER_STATE_* constant
375 public function linebreak($match, $state, $pos)
383 * @param int $state a LEXER_STATE_* constant
387 public function eol($match, $state, $pos)
395 * @param int $state a LEXER_STATE_* constant
399 public function hr($match, $state, $pos)
407 * @param int $state a LEXER_STATE_* constant
411 public function strong($match, $state, $pos)
413 $this->nestingTag($match, $state, $pos, 'strong');
419 * @param int $state a LEXER_STATE_* constant
423 public function emphasis($match, $state, $pos)
425 $this->nestingTag($match, $state, $pos, 'emphasis');
431 * @param int $state a LEXER_STATE_* constant
435 public function underline($match, $state, $pos)
437 $this->nestingTag($match, $state, $pos, 'underline');
443 * @param int $state a LEXER_STATE_* constant
447 public function monospace($match, $state, $pos)
449 $this->nestingTag($match, $state, $pos, 'monospace');
455 * @param int $state a LEXER_STATE_* constant
459 public function subscript($match, $state, $pos)
461 $this->nestingTag($match, $state, $pos, 'subscript');
467 * @param int $state a LEXER_STATE_* constant
471 public function superscript($match, $state, $pos)
473 $this->nestingTag($match, $state, $pos, 'superscript');
479 * @param int $state a LEXER_STATE_* constant
483 public function deleted($match, $state, $pos)
485 $this->nestingTag($match, $state, $pos, 'deleted');
491 * @param int $state a LEXER_STATE_* constant
495 public function footnote($match, $state, $pos)
499 switch ($state) {
535 * @param int $state a LEXER_STATE_* constant
539 public function listblock($match, $state, $pos)
541 switch ($state) {
564 * @param int $state a LEXER_STATE_* constant
568 public function unformatted($match, $state, $pos)
570 if ($state == DOKU_LEXER_UNMATCHED) {
578 * @param int $state a LEXER_STATE_* constant
582 public function preformatted($match, $state, $pos)
584 switch ($state) {
608 * @param int $state a LEXER_STATE_* constant
612 public function quote($match, $state, $pos)
615 switch ($state) {
642 * @param int $state a LEXER_STATE_* constant
646 public function file($match, $state, $pos)
648 return $this->code($match, $state, $pos, 'file');
653 * @param int $state a LEXER_STATE_* constant
658 public function code($match, $state, $pos, $type = 'code')
660 if ($state == DOKU_LEXER_UNMATCHED) {
683 * @param int $state a LEXER_STATE_* constant
687 public function acronym($match, $state, $pos)
695 * @param int $state a LEXER_STATE_* constant
699 public function smiley($match, $state, $pos)
707 * @param int $state a LEXER_STATE_* constant
711 public function wordblock($match, $state, $pos)
719 * @param int $state a LEXER_STATE_* constant
723 public function entity($match, $state, $pos)
731 * @param int $state a LEXER_STATE_* constant
735 public function multiplyentity($match, $state, $pos)
744 * @param int $state a LEXER_STATE_* constant
748 public function singlequoteopening($match, $state, $pos)
756 * @param int $state a LEXER_STATE_* constant
760 public function singlequoteclosing($match, $state, $pos)
768 * @param int $state a LEXER_STATE_* constant
772 public function apostrophe($match, $state, $pos)
780 * @param int $state a LEXER_STATE_* constant
784 public function doublequoteopening($match, $state, $pos)
793 * @param int $state a LEXER_STATE_* constant
797 public function doublequoteclosing($match, $state, $pos)
800 $this->doublequoteopening($match, $state, $pos);
810 * @param int $state a LEXER_STATE_* constant
814 public function camelcaselink($match, $state, $pos)
822 * @param int $state a LEXER_STATE_* constant
826 public function internallink($match, $state, $pos)
893 * @param int $state a LEXER_STATE_* constant
897 public function filelink($match, $state, $pos)
905 * @param int $state a LEXER_STATE_* constant
909 public function windowssharelink($match, $state, $pos)
917 * @param int $state a LEXER_STATE_* constant
921 public function media($match, $state, $pos)
935 * @param int $state a LEXER_STATE_* constant
939 public function rss($match, $state, $pos)
971 * @param int $state a LEXER_STATE_* constant
975 public function externallink($match, $state, $pos)
996 * @param int $state a LEXER_STATE_* constant
1000 public function emaillink($match, $state, $pos)
1009 * @param int $state a LEXER_STATE_* constant
1013 public function table($match, $state, $pos)
1015 switch ($state) {